pagesize.sh revision 1590
1278798Shselasky#!/bin/sh - 2278798Shselasky# 3278798Shselasky# Copyright (c) 1994 4278798Shselasky# The Regents of the University of California. All rights reserved. 5278798Shselasky# 6278798Shselasky# Redistribution and use in source and binary forms, with or without 7278798Shselasky# modification, are permitted provided that the following conditions 8278798Shselasky# are met: 9278798Shselasky# 1. Redistributions of source code must retain the above copyright 10278798Shselasky# notice, this list of conditions and the following disclaimer. 11278798Shselasky# 2. Redistributions in binary form must reproduce the above copyright 12278798Shselasky# notice, this list of conditions and the following disclaimer in the 13278798Shselasky# documentation and/or other materials provided with the distribution. 14278798Shselasky# 3. All advertising materials mentioning features or use of this software 15278798Shselasky# must display the following acknowledgement: 16278798Shselasky# This product includes software developed by the University of 17278798Shselasky# California, Berkeley and its contributors. 18278798Shselasky# 4. Neither the name of the University nor the names of its contributors 19278798Shselasky# may be used to endorse or promote products derived from this software 20278798Shselasky# without specific prior written permission. 21278798Shselasky# 22278798Shselasky# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23278798Shselasky# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24278798Shselasky# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25278798Shselasky# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26278798Shselasky# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27278798Shselasky# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28278798Shselasky# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29278798Shselasky# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30278798Shselasky# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31278798Shselasky# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32278798Shselasky# SUCH DAMAGE. 33278798Shselasky# 34278798Shselasky# @(#)pagesize.sh 8.1 (Berkeley) 4/3/94 35278798Shselasky# 36278798Shselasky 37278798ShselaskyPATH=/bin:/usr/bin:/usr/sbin 38278798Shselaskyexport PATH 39278798Shselasky 40278798Shselaskysysctl -n hw.pagesize 41278798Shselasky