-c:?顯示cpu相關(guān)信息
-C?#,#,...,total
-d:?顯示disk相關(guān)信息
-D?total,sda,sdb,...
-g:顯示page相關(guān)統(tǒng)計(jì)數(shù)據(jù)
-m:?顯示memory相關(guān)統(tǒng)計(jì)數(shù)據(jù)
-n:?顯示network相關(guān)統(tǒng)計(jì)數(shù)據(jù)
-p:?顯示process相關(guān)統(tǒng)計(jì)數(shù)據(jù)
-r:?顯示io請求相關(guān)的統(tǒng)計(jì)數(shù)據(jù)
-s:?顯示swapped相關(guān)的統(tǒng)計(jì)數(shù)據(jù)
--top-cpu:顯示最占用CPU的進(jìn)程
--top-io:?顯示最占用io的進(jìn)程
--top-mem:?顯示最占用內(nèi)存的進(jìn)程
--top-latency:?顯示延遲最大的進(jìn)程
-?-raw:顯示裸套接字
-?-ipc:進(jìn)程間通信信息
實(shí)例1:顯示cpu亦歉、進(jìn)程罕容、內(nèi)存囤攀、io線程以及swap等相關(guān)信息
dstat?-c?-d?-g?-m?-n?-p?-r?-s
實(shí)例2:顯示系統(tǒng)中cpu和io線程以及內(nèi)存使用的情況
dstat?--top-cpu?--top-io?--top-mem
實(shí)例3:顯示tcp、udp協(xié)議和raw和socket套接字以及進(jìn)程間通信的信息
dstat?--tcp?--udp?--raw?--socket?--ipc