Question & Answer
Question
How do I monitor CPU utilization on the Netezza host running RHEL?
Answer
You can monitor CPU utilization under Linux in the following two ways:
Load Average
The following set of commands is for monitoring tasks in the TASK_RUNNABLE and TASK_UNINTERRUPTIBLE states. Run the following commands as the nz user:
- sar -q 1 2
top
w
uptime
Full CPU Utilization
The following set of commands is for monitoring all tasks (in any state). Run the following commands as the nz user:
- mpstat 1 2
sar -P ALL 1 2
iostat -c 1 2
cat /proc/stat
ps -Amo user,pid,tid,psr,pcpu,pri,vsz,rss,stat,time,comm
[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Historical Number
NZ533613
Was this topic helpful?
Document Information
More support for:
IBM PureData System
Software version:
1.0.0
Document number:
196923
Modified date:
17 October 2019
UID
swg21577529