1

How to trace a single process with sysdig ?

Something similar to strace /bin/ls

Fez Vrasta
  • 14,110
  • 21
  • 98
  • 160
ovolax
  • 2,387
  • 2
  • 12
  • 7

1 Answers1

1

sysdig proc.name=ls

sysdig doesn't have the concept of starting a child process, but you can instead use filters to reduce the output to include the events of a specific process.

Take a look at this page https://github.com/draios/sysdig/wiki/Sysdig%20User%20Guide#filtering for an overview of sysdig filters.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
user142968
  • 71
  • 6