How show the CPU load of a vertica process
maks
Community Edition User ✭
Hello, Could you please help me with the following issue? On my vertica cluster, the load on the CPU has increased and I want to understand what kind of load on the CPU is given by the vertica process itself, and not together with other processes in the system. I looked at the System Bottlenecks report through the management console, but, unfortunately, only the total CPU load of all processes is displayed there. Also looked with query below but there is also only total CPU load
select node_name,average_cpu_usage_percent,end_time from system_resource_usage; node_name | average_cpu_usage_percent | end_time
How can I see how much CPU vertica consumes without taking into account other processes?
0
Answers
Try to use the the “top” program for dynamic real-time view of the Vertica process via this command:
Or use “pidstat” for report statistics on Linux specific tasks.
It can be installed via root:
On Ubuntu/ Debian with: apt install sysstat
On RHEL/Centos with: yum install sysstat
For example, display CPU average every 10 seconds only for Vertica process id (pid):
Or with -t to display statistics for threads associated with the selected tasks.
Indeed, the Vertica CPU_USAGE in V_MONITOR Schema record the average CPU usage percent for all the processes.
Use the following to see the cpu usage differences between the cluster nodes:
@mosheg thanks a lot!