You are not logged in.

#1 12 May 2008 05:25

ashteat
Member
Registered: 10 Apr 2008
Posts: 12

Need Help - Urgent

I would like to know the command for getting memory usage of target machine.
Currently i m using 2 command for getting memory utilization

1) top -n 1 | grep Memory
output : Memory: 32G real, 3792M free, 41G swap in use, 15G swap free

and 2) vmstat
output :

kthr      memory            page            disk          faults      cpu
r b w   swap  free  re  mf pi po fr de sr m0 m1 m2 m3   in   sy   cs us sy id
0 0 538 9428240 2431272 953 3618 272 33 29 0 14 7 5 5 1 7077 23302 11528 5 4 91


so which one is correct command ?

I really appreciate ur help on this.

Offline

Board footer

Powered by