首页 > 其他 > 详细

tsar的使用

时间:2017-04-25 16:06:45      阅读:198      评论:0      收藏:0      [点我收藏+]

项目地址 https://github.com/alibaba/tsar 

安装 

$ git clone git://github.com/kongjian/tsar.git
$ cd tsar
$ make
# make install

或者

$ wget -O tsar.zip https://github.com/alibaba/tsar/archive/master.zip --no-check-certificate
$ unzip tsar.zip
$ cd tsar
$ make
# make install

技术分享

技术分享

 

命令:

  • null :see default mods history data, tsar
  • --modname :specify module to show, tsar --cpu
  • -L/--list :list available moudule, tsar -L
  • -l/--live :show real-time info, tsar -l --cpu
  • -i/--interval :set interval for report, tsar -i 1 --cpu
  • -s/--spec :specify module detail field, tsar --cpu -s sys,util
  • -D/--detail :do not conver data to K/M/G, tsar --mem -D
  • -m/--merge :merge multiply item to one, tsar --io -m
  • -I/--item :show spec item data, tsar --io -I sda
  • -d/--date :specify data, YYYYMMDD, or n means n days ago
  • -C/--check :show the last collect data
  • -h/--help :show help, tsar -h

 

https://github.com/alibaba/tsar/commit/eadcfc1b4b4d66216ccfa0b5a4107e1563e67874

https://github.com/alibaba/tsar/blob/master/README.md

 

tsar的使用

原文:http://www.cnblogs.com/kevin443/p/6762041.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!