STEP 10:RUNNING THE MONITORING TOOLS
Last updated
Last updated
Under Linux, you have a countless list of more powerful monitoring tools than any other. You are of course free to choose to use all those who will suit you. In this tutorial, we will introduce four tools:
htop: overview and manage running process on the VPS
nmon: indicate the processor load
nload: check the bandwidth used
df command: indicate the free space on your disk
Move to an unused panel and type:
You will be able to sort all process by pressing a function key. For example, if you press F6 function key, a panel will appear on the left side of the htop panel, and it will allow you to sort the process by memory consumption.
You can also directly see the uptime, cpu load, free memory. But one of the most useful function with htop is to be able to stop/kill a process if needed. You just have to highlight in blue a process and then press the F9 function key. A menu will also appear on the left side and just move to option ‘9 SIGKILL’ and press Enter to kill the selected process.
Move to an unused panel and type:
Then type “C” key, and you will be able to see your VPS CPU load.
Move to another unused panel and type:
You will then see the network traffic of your VPS:
You can also use the “df” command to visualize the disk space used by the SWT database, which will grow with time.
The apport application automatically reports only managed packaged applications. When application crash, the core dump files are put in /var/crash.
The SWT client app is not a packaged application, so let's configure apport to get the core dump file. It helps SWT team to identify issues when you get some troubles with your node.
Save changes by CTRL +X, type Y and then press ENTER.
Then you will have your core dumped file (it can take a while to unpack: ~1 or 2 min).
NB: The pattern of the core dumped file is here. You can modify it if you want, but it's not recommended: