Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: killsnoop: auto detect the length of PID/TPID column
There are more than 128CPUs on a modern server, also use a large PID number, the fixed length 6 may be not enough: # ./killsnoop.py -T 1173199 TIME PID COMM SIG TPID RESULT 15:31:51 3544588 bash 10 1173199 0 Auto detect the max bytes from '/proc/sys/kernel/pid_max' instead. Signed-off-by: zhenwei pi <[email protected]>
- Loading branch information