设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

SystemTap 3.0发布,Linux内核诊断

2016-3-29 21:39| 发布者: joejoe0332| 查看: 606| 评论: 0|原作者: oschina|来自: oschina

摘要: SystemTap 3.0 发布了。SystemTap 是一种新颖的 Linux 内核诊断工具,提供了一种从运行中的 Linux 内核快速和安全地获取信息的能力。SystemTap 是内核开发人员和系统管理员的福音,因为这使得他们可以通过编写或者 ...

SystemTap 3.0 发布了。SystemTap 是一种新颖的 Linux 内核诊断工具,提供了一种从运行中的 Linux 内核快速和安全地获取信息的能力。SystemTap   是内核开发人员和系统管理员的福音,因为这使得他们可以通过编写或者重用简单的脚本来收集内核的实时数据,而不需要再忍受修改源码、编译内核、重启系统的  漫长煎熬。

本次更新的内容有:

  • The new experimental "interactive" mode, specified by "stap -i",
      drops you into a command-line prompt where you can build up a script,
      run it, edit it, run it again, etc. Type "help" for a list of commands.

  • New experimental --monitor[=INTERVAL] option similar to unix "top". This
      allows users to see statistics about the running module(uptime, module name,
      invoker uid, memory sizes, global variables, and the current probe list
      along with their statistics).

      An interface is also provided to allow control over the running
      module (resetting global variables, sorting the list of probes, deactivating
      and reactivating probes).

  • Add macros @prints to print a scalar aggregate variable, @prints[1-9]
      to print an array aggregate (of given index-arity), formatted similarly
      to the automatic printing of written-only global variables.

      global a, b
      probe oneshot { a <<< 1; b[tid()] <<< 2 }
      probe end { @prints(a); @prints1(b) }

  • Add Czech version of key manual pages.

  • The stap compile server will log the stap client's options that are passed
      to the server. The options that get logged on the server will include the
      script name or the -e script, depending on which is used by the client.

了解更多更新点这里

下载地址:https://sourceware.org/systemtap/ftp/releases/systemtap-3...

酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部