ubantu安装pcstat
参考文档: https://github.com/tobert/pcstat?tab=readme-ov-file#readme
先安装go见 https://www.cnblogs.com/wxxjianchi/p/18307654
https://github.com/tobert/pcstat/raw/2014-05-02-01/pcstat.x86_64 下载pcstat包
mv pcstat.x86_64 /bin/pcstat
chmod 755 pcstat
./pcstat
pcstat使用帮助
pcstat <-json <-pps>|-terse|-default> <-nohdr> <-bname> file file file -json output will be JSON -pps include the per-page information in the output (can be huge!) -terse print terse machine-parseable output -histo print a histogram using unicode block characters -nohdr don't print the column header in terse or default format -bname use basename(file) in the output (use for long paths) -plain return data with no box characters -unicode return data with unicode box characters
posted on 2024-07-17 16:40 HowOldAreYou 阅读(14) 评论(0) 编辑 收藏 举报