Skip to content

Instantly share code, notes, and snippets.

@eam
Created January 9, 2024 03:56
Show Gist options
  • Save eam/8f197736a79e8b1695b8c6a67ac8b790 to your computer and use it in GitHub Desktop.
Save eam/8f197736a79e8b1695b8c6a67ac8b790 to your computer and use it in GitHub Desktop.
$ sudo strace -s0 -f -T -p 25719
strace: Process 25719 attached
read(4, ""..., 131072) = 131072 <0.000022>
write(5, ""..., 131072) = 131072 <6.506534>
read(4, ""..., 131072) = 131072 <0.000050>
write(5, ""..., 131072) = 131072 <6.519874>
read(4, ""..., 131072) = 131072 <0.000018>
write(5, ""..., 131072) = 131072 <6.509943>
read(4, ""..., 131072) = 131072 <0.000066>
write(5, ""..., 131072) = 131072 <6.516519>
read(4, ""..., 131072) = 131072 <0.000019>
write(5, ""..., 131072) = 131072 <6.513251>
read(4, ""..., 131072) = 131072 <0.000047>
write(5, ""..., 131072) = 131072 <6.513264>
read(4, ""..., 131072) = 131072 <0.000021>
write(5, ""..., 131072) = 131072 <6.506596>
read(4, ""..., 131072) = 131072 <0.000050>
write(5, ""..., 131072) = 131072 <6.509735>
read(4, ""..., 131072) = 131072 <0.000021>
write(5, ""..., 131072^C^Cstrace: Process 25719 detached
<detached ...>
@eam
Copy link
Author

eam commented Jan 9, 2024

perf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment