- 论坛徽章:
- 0
|
内存使用情况:
cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 3830263808 3811229696 19034112 0 103088128 2306146304
Swap: 4194623488 31256576 4163366912
MemTotal: 3740492 kB
MemFree: 18588 kB
MemShared: 0 kB
Buffers: 100672 kB
Cached: 2243928 kB
SwapCached: 8168 kB
Active: 2698364 kB
ActiveAnon: 1025724 kB
ActiveCache: 1672640 kB
Inact_dirty: 12 kB
Inact_laundry: 595716 kB
Inact_clean: 74296 kB
Inact_target: 673676 kB
HighTotal: 2883552 kB
HighFree: 1356 kB
LowTotal: 856940 kB
LowFree: 17232 kB
SwapTotal: 4096312 kB
SwapFree: 4065788 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
而使用top:
10:24:07 up 126 days, 17:49, 3 users, load average: 0.24, 0.19, 0.12
420 processes: 419 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 2.2% 0.0% 0.3% 0.0% 0.0% 0.1% 97.0%
cpu00 1.5% 0.0% 0.5% 0.5% 0.1% 0.0% 97.0%
cpu01 1.7% 0.0% 0.0% 0.0% 0.0% 0.0% 98.2%
cpu02 1.3% 0.0% 0.1% 0.0% 0.0% 0.3% 98.0%
cpu03 4.1% 0.0% 0.9% 0.0% 0.1% 0.3% 94.2%
cpu04 2.5% 0.0% 0.3% 0.0% 0.0% 0.0% 97.0%
cpu05 1.7% 0.0% 0.1% 0.0% 0.0% 0.0% 98.0%
cpu06 2.7% 0.0% 0.1% 0.0% 0.1% 0.1% 96.6%
cpu07 1.5% 0.0% 0.1% 0.0% 0.1% 0.3% 97.6%
Mem: 3740492k av, 3721372k used, 19120k free, 0k shrd, 100752k buff
2694504k actv, 1492k in_d, 74520k in_c
Swap: 4096312k av, 30524k used, 4065788k free 2241008k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
6607 root 23 0 718M 708M 7252 S 1.7 19.3 2449m 0 java
30724 root 15 0 1564 1564 904 R 0.1 0.0 0:00 3 top
1 root 15 0 488 488 432 S 0.0 0.0 1:46 0 init
2 root RT 0 0 0 0 SW 0.0 0.0 0:00 0 migration/0
3 root RT 0 0 0 0 SW 0.0 0.0 0:00 1 migration/1
4 root RT 0 0 0 0 SW 0.0 0.0 0:00 2 migration/2
5 root RT 0 0 0 0 SW 0.0 0.0 0:00 3 migration/3
6 root RT 0 0 0 0 SW 0.0 0.0 0:00 4 migration/4
7 root RT 0 0 0 0 SW 0.0 0.0 0:00 5 migration/5
8 root RT 0 0 0 0 SW 0.0 0.0 0:00 6 migration/6
9 root RT 0 0 0 0 SW 0.0 0.0 0:00 7 migration/7
10 root 15 0 0 0 0 SW 0.0 0.0 0:00 2 keventd
11 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd/0
12 root 34 19 0 0 0 SWN 0.0 0.0 0:00 1 ksoftirqd/1
怎么得出空闲的内存率阿!!!谢谢急 |
|