- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Processor performance issue
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
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
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-07-2012 05:27 AM
08-07-2012 05:27 AM
Processor performance issue
What are the commands in HP-UX OS I need to use to check the load on processor and memory ressources, and to advice wether I need to purchase additional processor or memory ?
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2012 05:44 AM
08-07-2012 05:44 AM
Re: Processor performance issue
For processor usage, use the command: top (ctrl-C to exit)
The processes using the most CPU are listed at the top.
For memory, use: swapinfo -tam
To sort the processes by memory usage: UNIX95=1 ps -e -o vsz,pid,ppid,args | sort -rn | head -20
To see if memory usage is very high and more memory is needed, look at the swapinfo values. The memory line will show current usage while the total line shows all memory usage including swap. Swap space is mapped and used when there isn't enough memory available. From a performance point of view, swapping (paging) is very bad and can only be fixed with more RAM.
If you have Glance installed (optional priced product), the metrics are much easier to see.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2012 06:09 AM
08-07-2012 06:09 AM
Re: Processor performance issue
Assuming that no additional software (like Glance) is installed, the "vmstat" command might be the best.
If the average of the values in the Page-Out column (po) is significantly different from 0, more memory is needed.
Small non-zero po values or very rare short-term high po spikes might be tolerable, but if the average po value over long term (minutes/hours) is high, the system needs to frequently move things in and out of swap, which will ruin your performance.
For processor resources, look at the CPU idle percentage (the id column). If it is near 0% frequently, your system is working about as hard as it can with the current CPUs. At that point, you'll need to understand the nature of the system's workload: does it require interactive response or is it batch processing?
For interactive response systems, check the users' opinion: if the users say the system becomes "unusably slow" at times of peak use, then you'll definitely need more processing power; but if the users find the system "OK but not great" then the current processors might be handling the current workload just fine. In that case, you will have to pay attention to any changes that might increase the workload of the system and be prepared to re-evaluate as necessary, or to proactively get more processing power to get some capacity reserve.
For batch processing, running the system so hard it has 0% idle over long periods of time may not be harmful at all. Instead, you should pay attention to the amount of work completed: for example, if a system with heavy night-time batch jobs runs at 0% idle for several hours at a time at night but always completes all the jobs several hours before the results are needed (e.g. at the start of the next business day), it might be OK. In this kind of use, 0% idle means that you're efficiently using all the processing power you have.
- Tags:
- vmstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2012 10:07 AM
08-07-2012 10:07 AM
Re: Processor performance issue
Your system can also be slow if you are doing lots of disk I/O.
Here is may or may not be helpful to add additional RAM for the filecache.