This article describes how to check the memory, CPU and disk space utilization on the SDI CLI
Apart from being able to check the memory and CPU on the SD UI from under Security Director >> Administration >> Insight Management >> Insight Nodes, you can also check for these statistics from the SDI CLI.
To do so, please login to the SDI CLI using the admin user.
Enter the server mode by typing "server"
The command "show stats ?" shows the following options:
primary:Core#(server)# show stats cpuload Show the CPU load average in the system disk Show the disk space usage in the system memory Show the system memory usage
You can run "show stats memory" to check the memory utilization.
primary:Core#(server)# show stats memory MemTotal: 16228040 kB MemFree: 4566048 kB Buffers: 2425588 kB Cached: 3293604 kB SwapTotal: 4039676 kB SwapFree: 669720 kB
You can run "show stats disk" to check the disk space utilization on the SDI:
primary:Core#(server)# show stats disk Filesystem Size Used Avail Use% Mounted on /dev/sda2 1.2T 17G 1.2T 2% / /dev/loop2 106M 106M 0 100% /snap/core/16574 /dev/loop0 104M 104M 0 100% /snap/core/16928
You can run "show stats cpuload" to check the cpu load on the system:
primary:Core#(server)# show stats cpuload (0.2, 0.41, 0.5)