On Thu, 2004-08-12 at 12:58, Moloko Monyepao wrote:
> One question that I currently have is how we interpret the "TOP" command in Linux
> when running Linux on the Mainframe on an Lpar. E.g. If we allocate 1GB of memory to
> that lpar, the TOP command show that memory allocated is 1GB and memory used is very
> close to 1GB. There is only a few users logged in. I just wonder what will happen if
> we let users start using the application. Is this memory ging to cater for these
> users?
> What tools do we use to keep stats if running Linux on an Lpar, not under VM?
If you've been following the discussion on VM and VDISK sizing, this is
normal. Linux will happily consume any memory it sees, and use it as
file and buffer cache, throwing away cache pages as it needs the space
for real processes. So until you're actually using all the memory you
should be fine.
Look at the output of "free". It will have a format like this:
h3:~# free
total used free shared buffers
cached
Mem: 121668 119148 2520 0 27688
11608
-/+ buffers/cache: 79852 41816
Swap: 99156 2192 96964
In this picture, I appear to have only 2520 K free. But if you look at
the next line, which is the accurate one, I'm really using about 80M and
have nearly 42M free. When *that* number starts nearing zero, you're
out of real memory.
Adam
----------------------------------------------------------------------
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