1833333 Members
3308 Online
110051 Solutions
New Discussion

memory utilisation

 
amithp
Frequent Advisor

memory utilisation

please tell me how to see current memory utilisation using command line
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: memory utilisation

Do a man on vmstat.


Pete

Pete
Ranjeet A.
Advisor

Re: memory utilisation

You can also use the utility Glance to get a comprehensive output.
Peter Nikitka
Honored Contributor

Re: memory utilisation

Hi,

since swap statitics is memory related stuff, call
swapinfo -ta

Look in man page for details.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Ludovic Derlyn
Esteemed Contributor

Re: memory utilisation

hi,

if yoyu hane need more infos than memory try " sar" for example sar -d 2 10 indicates activity of disks ( every 2 seconds , 10 times) or sar -u 2 10 for processor (-Mu for multi processors)
amithp
Frequent Advisor

Re: memory utilisation

swapinfo and vmstat give output regarding virtual memory and swap i need outpu regarding memory
Joel Girot
Trusted Contributor

Re: memory utilisation

please try this little script :

#!/bin/sh
# memtop - show top memory users and pid
# VSZ is in KB
echo " VSZ(KB) PID USER COMMAND"
UNIX95= ps -e -o 'vsz pid ruser args' |sort -nr|head -30
Srikanth Arunachalam
Trusted Contributor

Re: memory utilisation

Hi,

You can use several tools to check the memory of your system. The following tools can be used.
(1) sar -u (gives cpu utilization)
(2) top -s2 -d5 (five screens in 2 sec interval)
(3) Glance /Glanceplus

can be used..there are performance monitoring tools as well like
(1) MeasureWare
(2) PerfWare
etc.

Thanks.
Srikanth