home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.jcu.edu.au
/
2014.06.ftp.jcu.edu.au.tar
/
ftp.jcu.edu.au
/
v6.3.2b
/
SWBD63
/
fabos-6.3.2b-10.ppc.rpm
/
fabos-6.3.2b.10.cpio.gz
/
fabos-6.3.2b.10.cpio
/
fabos
/
cliexec
/
memshow
< prev
next >
Wrap
Text File
|
2010-11-10
|
511b
|
27 lines
#!/bin/sh
#
# Copyright (c) 2002 Brocade Communications Systems, Inc.
# All rights reserved.
#
# File name: memshow
# Module name: fabos/src/utils/sys
#
# This script is wrapper export proc file /proc/meminfo.
# to export dynamic system memory status.
#
opt=""
if [ $# = 0 ]; then
opt="-b"
elif [ $# = 1 ]; then
if [ "$1" = "-b" -o "$1" = "-k" -o "$1" = "-m" ]; then
opt=$1
fi
fi
if [ "$opt" = "" ]; then
echo "Usage: $0 [ -b | -k | -m ]"
exit 1
else
/usr/bin/free -o $opt
fi