你好,游客 登录 注册 搜索
背景:
阅读新闻

Linux服务器性能检测工具之 Collectl

[日期:2013-05-22] 来源:Linux社区  作者:opsmysql [字体:大 中 小]

例:

以1/4秒采集系统数据并保存到日志文件中:

collectl -i.25 -oDm --iosize > testPerf.log

 


该程序还支持发送数据到远程主机,请参看man说明: man collectl

 

 

 

[root@twexdb1 qzhijun]# collectl --help

This is a subset of the most common switches and even the descriptions are

abbreviated.  To see all type 'collectl -x', to get started just type 'collectl'

 


usage: collectl [switches]

  -c, --count      count      collect this number of samples and exit

  -f, --filename  file      name of directory/file to write to

  -i, --interval  int        collection interval in seconds [default=1]

  -o, --options    options    misc formatting options, --showoptions for all

                                d|D - include date in output

                                  T - include time in output

                                  z - turn off compression of plot files

  -p, --playback  file      playback results from 'file' (be sure to quote

      if wild carded) or the shell might mess it up

  -P, --plot                  generate output in 'plot' format

  -s, --subsys    subsys    specify one or more subsystems [default=cdn]

      --verbose              display output in verbose format (automatically

                              selected when brief doesn't make sense)

 


Various types of help

  -h, --help                  print this text

  -v, --version              print version

  -V, --showdefs              print operational defaults

  -x, --helpextend            extended help, more details descriptions too

  -X, --helpall              shows all help concatenated together

 


  --showoptions              show all the options

  --showsubsys                show all the subsystems

  --showsubopts              show all subsystem specific options

  --showtopopts              show --top options

 


  --showheader                show file header that 'would be' generated

  --showcolheaders            show column headers that 'would be' generated

  --showslabaliases          for SLUB allocator, show non-root aliases

  --showrootslabs            same as --showslabaliases but use 'root' names

linux
相关资讯       Collectl 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款