pagesize.sh revision 23012
137338Skato#!/bin/sh - 216359Sasami# 333080Skato# Copyright (c) 1994 416359Sasami# The Regents of the University of California. All rights reserved. 516359Sasami# 616359Sasami# Redistribution and use in source and binary forms, with or without 734458Skato# modification, are permitted provided that the following conditions 830329Skato# are met: 916359Sasami# 1. Redistributions of source code must retain the above copyright 1016359Sasami# notice, this list of conditions and the following disclaimer. 1116359Sasami# 2. Redistributions in binary form must reproduce the above copyright 1237338Skato# notice, this list of conditions and the following disclaimer in the 1316359Sasami# documentation and/or other materials provided with the distribution. 1437338Skato# 3. All advertising materials mentioning features or use of this software 1537338Skato# must display the following acknowledgement: 1629006Skato# This product includes software developed by the University of 1733711Skato# California, Berkeley and its contributors. 1829006Skato# 4. Neither the name of the University nor the names of its contributors 1929006Skato# may be used to endorse or promote products derived from this software 2016359Sasami# without specific prior written permission. 2132939Skato# 2216359Sasami# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2316359Sasami# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2416359Sasami# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2526477Skato# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2616359Sasami# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2716359Sasami# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2816359Sasami# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2929631Skato# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3032092Skato# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3127844Skato# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3227844Skato# SUCH DAMAGE. 3317256Sasami# 3425572Skato# @(#)pagesize.sh 8.1 (Berkeley) 4/3/94 3525572Skato# $Id$ 3625572Skato# 3725572Skato 3825572SkatoPATH=/bin:/usr/bin:/sbin:/usr/sbin; export PATH 3925195Skato 4025195Skatoexec sysctl -n hw.pagesize 4125195Skato