Difference between revisions of "Strace"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man1/strace.1.html
Tags: Mobile web edit, Mobile edit |
|||
Line 1: | Line 1: | ||
<code>[[wikipedia:strace|strace]]</code><ref>http://man7.org/linux/man-pages/man1/strace.1.html</ref> is a diagnostic, debugging and instructional userspace utility for [[Linux]] that allows to trace [[system calls]] and [[signal Processing/Signals|signals]]. | <code>[[wikipedia:strace|strace]]</code><ref>http://man7.org/linux/man-pages/man1/strace.1.html</ref> is a diagnostic, debugging and instructional userspace utility for [[Linux]] that allows to trace [[system calls]] and [[signal Processing/Signals|signals]]. | ||
+ | |||
+ | |||
+ | [[strace]] -c -f -p $PID | ||
== Examples == | == Examples == |
Revision as of 07:47, 24 March 2023
strace
[1] is a diagnostic, debugging and instructional userspace utility for Linux that allows to trace system calls and signals.
strace -c -f -p $PID
Examples
- Strace
ps
command:
strace -e open ps
strace -p MY_PID_NUMBER
See also
- Monitoring and Performance
lsof
,strace
,auditctl
,fuser
- Performance:
perf
,strace
, Dtrace, SystemTap,iperf
,uperf
,cgroups
,netperf
, sysbench, Queries Per Second (QPS), PerfKitBenchmarker, Load testing - syscall, Dtruss,
fork
, Fork bomb
Advertising: