Start up all your Linux procs and then run this little script.
#! /bin/sh
ps -eo pmem | awk '{pmem += $1}; END {print "pmem = "pmem"%"}';
It will give you a ballpark percentage of current memory utilization.
I tuned some Apache/ftp servers down to 100M with no ill effects.
Ray Mrohs
U.S. Department of Justice
202-307-6896
> -----Original Message-----
> From: Linux on 390 Port [mailto:[email protected]] On
> Behalf Of Bruce Furber
> Sent: Friday, July 23, 2010 11:01 AM
> To: [email protected]
> Subject: Reducing Linux virtual machine size
>
> Can someone recommend a how to procedure for monitoring a
> zLinux machine to determine how much to reduce a machines
> virtual memory?
>
> Getting permission to schedule time to log a machines off is
> very difficult so I have to be confident I have it right.
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO
> LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/