Great! Let’s set up the monitoring and logging step by step. I’ll guide you through the process.
We need to install mpstat
(from the sysstat
package) for monitoring CPU steal time and vnstat
for bandwidth monitoring.
-
Install
sysstat
formpstat
: Run the following command based on your Linux distribution:For Ubuntu/Debian: