.. _sysdig:
======
Sysdig
======
.. highlight:: console
General
=======
- `Cheatsheet `_
- `Filtering `_
Options
=======
-c chiselname
Run the specified chisel
-cl
List chisels
-i chiselname
Get description for specified chisel
-l
List filter fields
Chisels
=======
ps
--
::
$ sysdig -c ps proc.apid=120954
lsof
----
::
$ sysdig -c lsof fd.directory=/var/log
$ sysdig -c lsof fd.type=inotify
netstat
-------
::
$ sysdig -c netstat fd.port=80
echo_fds
--------
https://sysdig.com/blog/decode-your-http-traffic-with-sysdig/
Troubleshooting
===============
- `Multiple command line filters `_ ::
$ sysdig -c lsof "'proc.name=python and fd.type=ipv4'"