sysdig
We are aware of commonly used debugging tools for Linux to monitor and take snapshots of system health. For example, if we want to check whether the machine is overloading its CPU or RAM, we use tools like top
or vmstat
. If we have to capture the packets over the interface, we use wireshark
or tcpdump
. Similarly, we use iostat
to monitor the system IO devices.
sysdig
provides integrated support for monitoring all the preceding system resources along with providing many more features. And most importantly, in our context it provides support for containers. We know that containers run in the host OS in separate namespaces. So the processes running inside containers are also visible to the native tools, say, for example, ps
. In a container environment, the information related to the application is present in two levels: one at the host kernel level, for example process ID as the host kernel sees it, and the other at the container level, for example, the process ID inside the container...