- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Measure usage of resources
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
08-14-2003 12:25 AM
08-14-2003 12:25 AM
Measure usage of resources
Is there a way/command to measure the resources (CPU, memory) usage for an application/daemon such as OmniBack ?
Thanks in advance,
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:41 AM
08-14-2003 12:41 AM
Re: Measure usage of resources
You can "define" applications in MeasureWare.
In order to do this you have to add definitions in /var/opt/perf/parm.
Example :
application = XpsEcs
user = ecs
This defines an application XpsEcs that contains the processes executed by ecs (other definitions and combinations are possible).
After the above definition you have to
mwa restart scope
In glance / measureware you can now see the resources used by this application.
Regards,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:42 AM
08-14-2003 12:42 AM
Re: Measure usage of resources
Glance is probably the best tool which HP provide for examining the performance of a process, it allows you to drill down and look at indivdual processes and what they are doing.
Unfortuantely it is a product which requires a license to be installed. My knowledge of the product is limited but perhaps that may give you a starting point.
Hope this helps
regards
S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 01:37 AM
08-14-2003 01:37 AM
Re: Measure usage of resources
glance - for IMMIDIATE resource usage
MeasureWare - historical resource usage
Both of those above require
a - licence $$$
b - configuration of /var/opt/perf/parm file (easy, but necessary)
alternatively, free tools
ps & top, lsof, tusc
the last two are available from hpux.connect.org.uk
regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 01:50 AM
08-14-2003 01:50 AM
Re: Measure usage of resources
Also look at SAR, man sar.
See the manpage of sa1(1M) on how to set up the collection of sar data
Also see:-
http://www.sarcheck.com
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 01:54 AM
08-14-2003 01:54 AM
Re: Measure usage of resources
UNIX95= ps -C inetd -o pid,vsz,pcpu,args
will give you this information for the inetd process.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 02:29 AM
08-14-2003 02:29 AM
Re: Measure usage of resources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 04:55 AM
08-14-2003 04:55 AM
Re: Measure usage of resources
vmstat
iostat
swapinfo
netstat and / or
nfsstat
Even though I have Glance installed, I still refer to my sar -A history often.
It's very easy to set up and manage using a couple of cron scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 05:26 AM
08-14-2003 05:26 AM
Re: Measure usage of resources
Because I am cheap, I usae sar. Even where I have measureware, I run sar. It is free and gets me most of what I want.
This is the crontab entry for the performance shell. Run as you can tell
Hourly.
00 * * * * /root/SCRIPTS/performance.sh > /dev/null 2>&1
cat /root/SCRIPTS/performance.sh
Month=`/usr/bin/date +%m`
Day=`/usr/bin/date +%d`
Year=`/usr/bin/date +%y`
Hour=`/usr/bin/date +%H`
Minute=`/usr/bin/date +%M`
LOGFILE=/root/LOG/SAR/$Year$Month$Day-$Hour$Minute.sar
/usr/sbin/sar -A -o $LOGFILE 60 60 > /dev/nul &
/root/LOG/SAR is on a non-root volume.
This cron entry cleans up the old SAR.txt extracts: I also do the same for .gz which I gzip all .sar at night also.
00 5 * * 1-6 find /root/LOG/SAR -name '*.txt*' -mtime +4 -exec rm -f {} \;
I can get nearly everything because I send out everything to the sar.log...
Tim