memory monitoring is displayed per 2s in m,k,b units
[[Email protected]221-comecs mnt]# Free-S2-m Total used Freeshared buffers Cachedmem:995 562 433 0 the 337-/+ Buffers/cache:129 866Swap:1635 0 1635Total used Freeshared buffers Cachedmem:995 562 433 0 the 337-/+ Buffers/cache:129 866Swap:1635 0 1635[[Email protected]221-comecs mnt]# Free-S2 Total Used Freeshared buffers Cachedmem:1019820 575496 444324 0 97448 345320-/+ Buffers/cache:132728 887092Swap:1675256 0 1675256Total used Freeshared buffers Cachedmem:1019820 575504 444316 0 97448 345320-/+ Buffers/cache:132736 887084Swap:1675256 0 1675256[[Email protected]221-comecs mnt]# Free-S2-b Total Used Freeshared buffers Cachedmem:1044295680 589180928 455114752 0 99786752 353607680-/+ Buffers/cache:135786496 908509184Swap:1715462144 0 1715462144Total used Freeshared buffers Cachedmem:1044295680 589189120 455106560 0 99786752 353607680-/+ Buffers/cache:135794688 908500992Swap:1715462144 0 1715462144
[Email protected] asterisk]# watch-n1-d free
Every 1.0s:free Thu Oct 9 14:53:01 2014
Total used free shared buffers Cached
mem:1019820 933400 86420 0 112452 515660
-/+ buffers/cache:305288 714532
SWAP:1675256 456 1674800
[Email protected] asterisk]# watch-d Vmstat
Every 2.0s:vmstat Thu Oct 9 14:58:28 2014
procs-----------Memory-------------Swap-------io------System-------CPU-----
R b swpd free buff cache si so bi bo in CS us sy ID WA St
0 0 456 74072 112636 527608 0 0 0 17 21 40 0 0 99 0 0
[[Email protected] bin]# PS aux|head-1;ps aux|sort-rnk6|head to RSS as sixth column quasi from big to small sort
System performance monitoring of Linux tool classes