- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Resource utilization by ppid...
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
03-24-2003 09:54 AM
03-24-2003 09:54 AM
Resource utilization by ppid...
any assistance would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 09:58 AM
03-24-2003 09:58 AM
Re: Resource utilization by ppid...
Regards,
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:00 AM
03-24-2003 10:00 AM
Re: Resource utilization by ppid...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:01 AM
03-24-2003 10:01 AM
Re: Resource utilization by ppid...
Attaching a general data collection script, that you might be able to modify to do what you want it to do.
I you have glance, you should be able to point and ckick your way through the process list, find the ppid and then track its resource use with pretty good detail.
Even if you don't have a glance license, you can actovate by running glance or gpm(in X Windows) it and use it on a 30 day trial.
some links to docs...
PRM Process Monitor.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8733-90001/B8733-90001_top.html&con=/hpux/onlinedocs/B8733-90001/00/00/9-con.html&toc=/hpux/onlinedocs/B8733-90001/00/00/9-toc.html&searchterms=utilization%7cresource&queryid=20030324-19809
getrusage...
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90682/B2355-90682_top.html&con=/hpux/onlinedocs/B2355-90682/00/00/71-con.html&toc=/hpux/onlinedocs/B2355-90682/00/00/71-toc.html&searchterms=utilization%7cresource&queryid=20030324-110009
Good luck.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:02 AM
03-24-2003 10:02 AM
Re: Resource utilization by ppid...
Regards,
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:03 AM
03-24-2003 10:03 AM
Re: Resource utilization by ppid...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:07 AM
03-24-2003 10:07 AM
Re: Resource utilization by ppid...
As was mentioned Glance is good for monitoring.
I guess I'm trying to figure out what your trying to find out.
Ex: We run an Oracle shop. Now I can get ppid on every oracle server process running (ora_s....) from the HPUX viewpoint, but it is only within Oracle that I could really track down to see what that ppid's query was that the user(s) was running. See my point. You may need to take the ppid and use some application tools (like the tools in Oracle) to determine what that ppid was doing.
That is if I am understanding what you are trying to ascertain.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:23 AM
03-24-2003 10:23 AM
Re: Resource utilization by ppid...
And as indicated above, gpm or glance also is good. For example,
gpm / glance > reports > process list > select process >
And everything is listed right there for you.
User CPU Util Cum Disk Thd
Process Name PID PPID Pri Name ( 400% max) CPU IO Rate RSS Cnt
--------------------------------------------------------------------------------
glance 28638 28619 168 root 9.9/ 7.2 0.2 101/88.0 2.8mb 1
oracleastro 13171 1 154 oracle 0.0/ 0.0 12.6 0.0/ 0.0 28.5mb 1
ora_pmon_as 8163 1 156 oracle 0.0/ 0.0 16.2 0.0/ 0.0 36.8mb 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:30 AM
03-24-2003 10:30 AM
Re: Resource utilization by ppid...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:53 AM
03-24-2003 10:53 AM
Re: Resource utilization by ppid...
#!/usr/bin/ksh
glance<
EOF
-or-
glance -j 2 -adviser_only -syntax /tmp/adviser_sample >>process.log
See examples in:
/opt/perf/examples/adviser
grep or parse your ascii file now:
cat process.log | while read line
do
SUM=$(echo $line | awk '{ print $3 }')
done
TOTAL=$(($SUM+$TOTAL))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:54 AM
03-24-2003 10:54 AM
Re: Resource utilization by ppid...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 11:02 AM
03-24-2003 11:02 AM
Re: Resource utilization by ppid...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 11:12 AM
03-24-2003 11:12 AM
Re: Resource utilization by ppid...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 11:13 AM
03-24-2003 11:13 AM
Re: Resource utilization by ppid...
thank you