现在的位置: 首页 > 综合 > 正文

linux memory check commands

2014年11月25日 ⁄ 综合 ⁄ 共 538字 ⁄ 字号 评论关闭

For checking the memory as in RAM

 

free

/proc/meminfo

 

 

Disk Space

 

du shows what is visible

df shows the filesystem

 

 

$ du -S /export/opt | sort –n | less

 

 

[root@xxx~]# df -h /export/opt

 

df -h /export/opt

 

df -k .

 

df -k

/dev/mapper/datavg-cdo

                      69565928  32097284  33934820  49% /export/opt

 

 

du -h --max-depth=1 à for folder level memory usage

 

 

du -ch *
à gives you the individual files and also a total at the end

du -sh *
à gives you the individual files

 

du -h *

du -h 155646_CDOTM_REFLKUP_START_out

 

du –sh

 

du | sort –n

 

du -h | less

 

http://www.linfo.org/du.html

 

http://www.t1shopper.com/tools/calculate/

抱歉!评论已关闭.