You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we may need to run some one time command and trace its syscount,
it's not easy to get the pid. but we can trace the ppid, usually the pid of current shell.
eg:
1. get pid of current shell(shell 1)
grep -i ppid /proc/self/status | cut -f2
2. run syscount in other shell(shell 2)
syscount --ppid $pid_of_step_1
3. run the target command in shell 1
curl https://github.com/
we can trace the one time curl command with the --ppid option
0 commit comments