参考: https://github.com/akshithg/sysdig-chisels/blob/master/scallslower.lua
scallslower.lua - trace the syscalls slower than a given threshold.
USAGE: sysdig -c scallslower min_ms
eg,
sysdig -c scallslower 1000 # show syscalls slower than 1000 ms. "
测试效果: 【popexizhi: 效果不错】
methont]# sysdig -c scallslower 10000
evt.datatime proc.name LATENCY(ms) evt.type
----------------------- ----------------------- -------------------- --------------------
2020-08-27 20:21:01.987 containerd 12973.707782 futex
2020-08-27 20:21:01.992 sshd 10639.093906 select
没有评论:
发表评论