- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX performance
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
12-22-2002 09:40 PM
12-22-2002 09:40 PM
HPUX performance
According to my HPUX Peformance Tuning instructor, command "uptime" is a good tool to asses the loading of a system, thus giving a general idea if the system is overloaded or otherwise. A general guideline for this command is
load <= 1 - not heavy
1 <= load <= 4 - quite heavy
and anything above 7 is "high".
Can we use other tool to compliment "uptime" ? I have seen somewhere that we can use "sar -q" and check out the number reported under "runq-sz" - Average length of the run queue(s) of processes(in memory and runnable). What's the general guidelines using "sar -q" to determine system load ?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2002 09:49 PM
12-22-2002 09:49 PM
Re: HPUX performance
In regards to the load,
< 1 = system is not busy
> 1 < 2 system is relatively busy and coping
> 3 system is struggling
More than this you have problems, run away processes, processes waiting on CPU etc. 'glance' is a very valuable tool that will report not only load, but CPU, memory, swap etc.
Yes you can use sar -q or uptime, but top is much better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2002 10:08 PM
12-22-2002 10:08 PM
Re: HPUX performance
Thanks for the prompt reply. I am beginning to like this forum already :)
I do not have 'Glance' installed on the system. Hence, I have to rely on the generic tools like top, uptime, sar and etc.
To your knowledge, is there a way to find out the number of processes "waiting" for system resources ?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2002 10:28 PM
12-22-2002 10:28 PM
Re: HPUX performance
You can use the 'ps' command to get the information. The part your looking for is 'wchan'
wchan - The event for which the process is waiting or sleeping; if there is none, a hyphen (-) is displayed.
have a look at the man page for further info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2002 10:36 PM
12-22-2002 10:36 PM
Re: HPUX performance
UNIX95 =ps -eo ruser,pid,args,wchan|sort -rn
UNIX95= ps -eo time,ruser,pid,args,wchan | sort -rn -k 1,1
ps -ae | sort -rn -k 3,3
Another tool that could be useful for determining why is called 'lsof' It is free and you can get it from here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2002 10:39 PM
12-22-2002 10:39 PM
Re: HPUX performance
UNIX95 =ps -eo ruser,pid,args,wchan|sort -rn
UNIX95= ps -eo time,ruser,pid,args,wchan | sort -rn -k 1,1
ps -ae | sort -rn -k 3,3
Another tool that could be useful for determining why is called 'lsof' It is free and you can get it from here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/