sysdig¶
An awesome host inspection tool, with tcpdump like tool and an interface similar to top et al. - http://www.sysdig.org/
Installation - CentOS¶
Their shell script installs epel from a 3rd party source, so it's best to use this method instead:
rpm --import https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public && \
curl -s -o /etc/yum.repos.d/draios.repo http://download.draios.com/stable/rpm/draios.repo && \
yum -y install kernel-devel-$(uname -r) && \
yum -y install sysdig
Examples¶
Simple usage¶
Write a system trace file¶
Replay a tracefile¶
Show filters¶
Show activity for access to a given file¶
Show shell commands for all users¶
Spy on a user and exclude a process¶
Or exclude multiple processes