Linux 常用工具贴

1. nmon for Linux  用于监控Linux CPU、IO、网络等,可以生产excel格式的报表  http://nmon.sourceforge.net/pmwiki.php?n=Site.Download

2. sysstat 工具集,异常强大,运维必备,https://github.com/sysstat/sysstat   图形化工具:http://sourceforge.net/projects/ksar/

3. ltrace 跟踪动态库调用  strace  跟踪系统调用 

   如何跟踪函数调用全过程  

  etrace  https://github.com/elcritch/etrace.git 

    traces  https://github.com/yotamr/traces   

     dtrace 原为Solaris下的专门工具,目前已经移植到了linux https://github.com/dtrace4linux/linux    

     systemtap  linux全能的跟踪工具,也可以比较容易跟踪到函数调用过程。 Centos下使用比较方便                     

4. Mac和Linux的代码阅读工具   Understand 比SourceInsight更加强大

5. ifstat 查看网卡流量

6. fuser [-fMuvw] [-a|-s] [-4|-6] [-c|-m|-n SPACE] [-k [-i] [-SIGNAL]] NAME...

fuser -l
fuser -V
Show which processes use the named files, sockets, or filesystems.

7.  man ascii 可以显示ascii表, xxd可以生成所给与文件的十六进制拷贝,也可以将编辑好的十六进制拷贝还原成二进制格式。它也可以将十六进制拷贝输出成C的数组

8. split 对文件进行快速分割,文本可以按照行数,二进制可以按照大小

    usage: split [-a sufflen] [-b byte_count] [-l line_count] [-p pattern]  [file [prefix]]

 

性能调试工具

 

性能优化工具

性能测试工具

 

详细见:http://www.brendangregg.com/linuxperf.html

 

 

 

 

 

 

待续 。。。

posted on   深入浅出eBPF  阅读(291)  评论(0编辑  收藏  举报

编辑推荐:
· 对象命名为何需要避免'-er'和'-or'后缀
· SQL Server如何跟踪自动统计信息更新?
· AI与.NET技术实操系列:使用Catalyst进行自然语言处理
· 分享一个我遇到过的“量子力学”级别的BUG。
· Linux系列:如何调试 malloc 的底层源码
阅读排行:
· JDK 24 发布,新特性解读!
· C# 中比较实用的关键字,基础高频面试题!
· .NET 10 Preview 2 增强了 Blazor 和.NET MAUI
· Ollama系列05:Ollama API 使用指南
· 为什么AI教师难以实现

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示