SyntaxHighlighter

About Me

2012年4月25日 星期三

系統指令

查詢CPU's information:
    cat /proc/cpuinfo

查詢memory's informaion:
    cat /proc/meminfo

查詢記憶體的使用狀況:
    free -m(以MB來呈現)

查詢本機PCI裝置:
    lspci(可以搭配pipe來使用)

查詢CPU與整個硬體的狀況:
    iostat(前提是要先安裝sysstat)

查詢系統硬體溫度:
    sensors(前提是要先安裝lm-sensors)

查詢系統版本:
    lsb_release -a

沒有留言:

張貼留言