Discussion Locked

Performance Monitoring

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi
I need a command in DEC Unix to check CPU utilization. I maust be able to keep log with this command.

Regards

9 replies

by rgwill

Hi,

I have never monitored performance on a DEC, however, I have collected CPU utilization on hundreds of UNIX systems with SAR (System Activity Report). SAR is very helpful at performance monitoring and data collection. Most UNIX and Linux system report CPU utilization with sar -u. Please refer to the SAR man pages for additional help.

by william shipway

As mentioned above, SAR should work.

Another command you can use is "vmstat" which shows CPU usage divided between user mode, system mode, IO wait, and idle. vmstat can also show very useful information about paging, memory use, disk I/O, and memory operations.

The following command shows vmstat output every five seconds for a minute (pretty sure this is the Dec Unix syntax):
# vmstat 5 12

The first line of vmstat output is always the average since boot time, so is usually ignored.
You can log output by redirecting the command to a file (using '>') and can write a simple script to be called from the crontab if required over a long period.

See the "vmstat" man page, and while there, check out "iostat" too.

HTH
William

by ghislain.levesque

Hi,

here is the command to use:

dxsysinfo
- Monitors system information such as CPU activity, memory, swap space, and file system usage.

This discussion is closed to new replies.