1. 程式人生 > >使用pidstat監控資源使用

使用pidstat監控資源使用

code blog col clas dsta 監控系統 stat at命令 -s

linux可以使用pidstat命令監控系統資源,比如監控cup使用如下:

pidstat -u 1

還可以使用 -r(內存) -d(硬盤)

使用pidstat監控資源使用