- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script for collecting system stats
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
Discussions
Discussions
Forums
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
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
тАО05-22-2001 09:53 AM
тАО05-22-2001 09:53 AM
I am running a HP-UX 11.0 9000 server. I would like to collect system information on CPU Utilization, Percent Memory Utilization, and I/O Statistics. I know some or all of these system stats can be found under the 'vmstat' command, but when running this command, I get more statistics than I need. Is there another command that will give me specific information, i.e. information on CPU Utilization only? Also, can anyone indicate where there is a repository where various scripts exists, so I can learn more about scripting? Thanks in advance, Jim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 10:13 AM
тАО05-22-2001 10:13 AM
SolutionThe most universal tool is a command called sar. You can also get it to take snapshots at regular intervals. Another command which can colloct the data for you is 'top'. Perhaps the best toolset is a bundlr called 'MeasureWare' but it's not free. The others I've mentioned are.
Man sar, top for details.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 10:17 AM
тАО05-22-2001 10:17 AM
Re: script for collecting system stats
Glance or PerfView will produce what you are looking for. Attach is a pv script I created. Modify to your need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 10:29 AM
тАО05-22-2001 10:29 AM
Re: script for collecting system stats
There are many options you may use in sar as an example:
# sar 5 20
You may also use top which will give you useful info and it automatically updates. You will also see activity if per processor if you have multiple processors.
# top
- fnhalili
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2001 12:39 PM
тАО05-22-2001 12:39 PM
Re: script for collecting system stats
Richard Darling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2001 04:51 AM
тАО05-23-2001 04:51 AM
Re: script for collecting system stats
No, I am not that person you were referring to on Perl. My name is quite common, especially Ellis.
Regards,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2001 04:53 AM
тАО05-23-2001 04:53 AM
Re: script for collecting system stats
Thanks for your reply. I will look into sar and top and see what they involve, and get back to you all.
Regards,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2001 04:56 AM
тАО05-23-2001 04:56 AM
Re: script for collecting system stats
Thanks,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2001 06:24 AM
тАО05-23-2001 06:24 AM
Re: script for collecting system stats
There are scripts to collect data (in binary format) for a running month. See man for the commands: sar, sa1, sa2 and sadc.