- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring Script
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
09-17-2006 10:32 AM
09-17-2006 10:32 AM
(%) of cpu usage in hp-ux machines...In the same way a script to monitoring the memory usage (%)...Please can you help me...
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 12:45 PM
09-17-2006 12:45 PM
Re: Monitoring Script
Glance and top commands will help you to monitor system activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 12:53 PM
09-17-2006 12:53 PM
Re: Monitoring Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 01:06 PM
09-17-2006 01:06 PM
Re: Monitoring Script
pid of process consuming most CPU displayed on stdout:
# UNIX95= ps -e -o "pcpu,pid" | sort -n -k1 | tail -1 | awk '{print $2}'
pid of process consuming most memory displayed on stdout:
# UNIX95= ps -e -o "vsz,pid" | sort -n -k1 | tail -1 | awk '{print $2}'
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 01:11 PM
09-17-2006 01:11 PM
Re: Monitoring Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2006 01:28 PM
09-17-2006 01:28 PM
SolutionSetting UNIX95 enables XPG4 behavior for a command, which typically adds extra functionality. In the case of 'ps', XPG4 behavior allows extra columns to be specified. Remember to never export UNIX95 to your environment, as it will cause unexpected behavior in certain commands.
PCS