- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CPU utilization and performance
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 12:40 PM
12-10-2002 12:40 PM
CPU utilization and performance
Is it possible to monitor all the child process's forked by it and the total USAGE of CPU for that process.
Is there any specific in gpm or glance to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 12:53 PM
12-10-2002 12:53 PM
Re: CPU utilization and performance
You can do it with Measureware. You will need to enable logging of all the processes through measureware to accomplish your task. Look at /var/opt/perf/parm file to see how you can adjust to get the processes to be logged.
Once you start collecting the data, you can extract it later using 'extract' utility. You will need to basically create the template file using the following metrics
FORMAT ASCII
SEPERATOR=" "
DATE
TIME
PROC_PROC_NAME
PROC_PROC_ID
PROC_PARENT_PROC_ID
PROC_CPU_TOTAL_UTIL
Then run 'extract' using the above template file. This will generate an ascii file
for all the processes.
Then you will need to write a small script to grep the information only for the PID of the processes and the processes that had it as PPID.
You can get a lot of other information about this process like Disk, memory utilization etc., Look at /var/opt/perf/reptall file for more info.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 12:57 PM
12-10-2002 12:57 PM
Re: CPU utilization and performance
In gpm, you can select Reports --> Process List. Choose the process you want to look at by double-clicking it and a window full of various information will appear.
You can also use measureware and get a historical report using the PROC_APP_ID, PROC_PROC_NAME, and PROC_CPU_TOTAL_UTIL
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 03:58 PM
12-11-2002 03:58 PM
Re: CPU utilization and performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 02:32 AM
12-12-2002 02:32 AM
Re: CPU utilization and performance
You can define this in the parm file, which is located either in /var/opt/perf or /opt/perf/bin (I don't have a system in front of me).
You can make a class for these procs to separate them.
You must stop and start measureware after making the updates to the parm file.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:48 AM
12-12-2002 09:48 AM
Re: CPU utilization and performance
Measureware logs process metrics for "interesting processes" only, during any given interval. A process is "interesting" if it meets the criteria of the threshold statement from your /var/opt/perf/parm.
Instaed, you could try configuring an "application" statement in your parm file.
You define an "application" as a group of processes whose names and/or userids you specify (wild characters can be used - see /opt/perf/examples/mwaconfig/parm_apps for some examples).
Once you modify the parm file, you need to restart scopeux:
mwa restart scope
When extracting applications metrics, you can just edit a copy of the file /var/opt/perf/reptall by uncommenting the relevant metrics under "DATA TYPE APPLICATION" section. If you save this file to, say, /tmp/myrept, then just run:
extract -xp -r /tmp/myrept -a
HTH,
Mladen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 10:00 AM
12-12-2002 10:00 AM
Re: CPU utilization and performance
If you run Glance, you can get a lot more information at a processes level. You can also log customized output from Glance by using Glance in "adviser only" mode. For more information, see:
/opt/perf/paperdocs/gp/C/adviser.pdf
and
/opt/perf/examples/adviser/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 10:09 AM
12-12-2002 10:09 AM
Re: CPU utilization and performance
You could also monitor fork and vfork systemcalls at a global level and/or for a particular process.
If you want to get a nice log on this, running Glance in adviser_only mode would probably give you the best results, although it might take some time to create the custom syntax.
HTH,
Mladen