トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

性能関係の情報取得

[Linux]

Linuxの性能関係の情報取得

ヒープメモリの把握

$ awk '$3=="kB"{$2=$2/1024;$3="MB"} 1' /proc/meminfo | column -t

MemTotal:         7984.82      MB
MemFree:          6698.02      MB
MemAvailable:     7423.38      MB
Buffers:          53.2734      MB
Cached:           862.145      MB
SwapCached:       0            MB
Active:           732.75       MB
Inactive:         460.84       MB
Active(anon):     278.18       MB
Inactive(anon):   0.0507812    MB
Active(file):     454.57       MB
Inactive(file):   460.789      MB
Unevictable:      0            MB
Mlocked:          0            MB
SwapTotal:        0            MB
SwapFree:         0            MB
Dirty:            0.03125      MB
Writeback:        0            MB
AnonPages:        278.172      MB
Mapped:           57.4727      MB
Shmem:            0.0585938    MB
Slab:             58.0273      MB
SReclaimable:     46.5781      MB
SUnreclaim:       11.4492      MB
KernelStack:      2.65625      MB
PageTables:       5.60547      MB
NFS_Unstable:     0            MB
Bounce:           0            MB
WritebackTmp:     0            MB
CommitLimit:      3992.41      MB
Committed_AS:     817.348      MB
VmallocTotal:     3.35544e+07  MB
VmallocUsed:      0            MB
VmallocChunk:     0            MB
AnonHugePages:    0            MB
ShmemHugePages:   0            MB
ShmemPmdMapped:   0            MB
HugePages_Total:  0
HugePages_Free:   0
HugePages_Rsvd:   0
HugePages_Surp:   0
Hugepagesize:     2            MB
DirectMap4k:      16           MB
DirectMap2M:      2032         MB
DirectMap1G:      7168         MB

お名前: コメント: