Sysdig 0.1.101 (strace + tcpdump + lsof Exploration Tool). Install Sysdig Linux Troubleshooting Tool on Ubuntu and Debian Systems. Sysdig is a tool for system-level exploration and troubleshooting.
Sysdig is open source, system-level diagnostic and a troubleshooting tool for Linux Ubuntu. It captures system state and activity. It provides real-time system information. Sysdig tool is created by the developers of WinPCap and Wireshark.
Sysdig gives you instant access to a vast trove of data within your system. It features rich filtering, scripting, and an interactive UI that makes it powerful. Sysdig also supports containers. Sysdig’s unique technology offers full container visibility, with no plugins, no instrumentation, and no configuration.
Install Sysdig on Ubuntu
To install sysdig automatically in one step, simply run the following command as root or with sudo.
curl -s https://s3.amazonaws.com/download.draios.com/stable/install-sysdig | sudo bash
Note: You can also install the latest packages, from here, and to compile from the source code, click here.
Sysdig 0.1.101 can also be installed using the following commands:
sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install sysdig
If you wish to uninstall and remove Sysdig, run the following command:
sudo apt-get remove sysdig
Install Sysdig on Debian
1) Trust the Draios GPG key, configure the apt repository, and update the package list
curl -s https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public | apt-key add -
curl -s -o /etc/apt/sources.list.d/draios.list http://download.draios.com/stable/deb/draios.list
apt-get update
2) Install kernel headers
Warning: The following command might not work with any kernel. Make sure to customize the name of the package properly
apt-get -y install linux-headers-$(uname -r)
3) Install sysdig
apt-get -y install sysdig
Using Sysdig
sysdig command prints the information for each captured event/instance on a single line.
sysdig
When you use sysdig comamnd with -w, it writes output of the sysdig in a file (you need to specify the file name).
sysdig -w
Sysdig command has filters. Run the following command to find the list of available filters.
sysdig -l