免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 898 | 回复: 0
打印 上一主题 下一主题

[ZZ]lttctl usage [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-21 20:23 |只看该作者 |倒序浏览
Please specify a trace name.
Please specify an operation.
Please use the following arguments :
-n name       Name of the trace.
-b            Create trace channels and start tracing (no daemon).
-c            Create trace channels.
-m mode       Normal, flight recorder or hybrid mode.
              Mode values : normal (default), flight or hybrid.
-r            Destroy trace channels.
-R            Stop tracing and destroy trace channels.
-s            Start tracing.
-q            Stop tracing.
-d            Create trace, spawn a lttd daemon, start tracing.
              (optionally, you can set LTT_DAEMON
              env. var.)
-f            Stop tracing, dump flight recorder trace, destroy channels
              (for hybrid traces)
-t            Trace root path. (ex. /root/traces/example_trace)
-T            Type of trace (ex. relay)
-l            LTT channels root path. (ex. /mnt/debugfs/ltt)
-Z            Size of the low data rate subbuffers (will be rounded to next page size)
-X            Number of low data rate subbuffers
-V            Size of the medium data rate subbuffers (will be rounded to next page size)
-B            Number of medium data rate subbuffers
-z            Size of the high data rate subbuffers (will be rounded to next page size)
-x            Number of high data rate subbuffers
-a            Append to trace
-N            Number of lttd threads

First execute after system boot:
# modprobe ltt-statedump
# modprobe ltt-control
# ltt-armall


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/86775/showart_1732822.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP