1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:35:22 +02:00
tldr/pages/linux/extrace.md

25 lines
462 B
Markdown
Raw Normal View History

2019-11-26 23:49:27 +01:00
# extrace
> Trace exec() calls.
> More information: <https://github.com/chneukirchen/extrace>.
- Trace all program executions occurring on the system:
`sudo extrace`
- Run a command and only trace descendants of this command:
`sudo extrace {{command}}`
- Print the current working [d]irectory of each process:
2019-11-26 23:49:27 +01:00
`sudo extrace -d`
- Resolve the full path of each executable:
`sudo extrace -l`
- Display the [u]ser running each process:
2019-11-26 23:49:27 +01:00
`sudo extrace -u`