- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
тАО06-23-2005 06:17 AM
тАО06-23-2005 06:17 AM
How to check number of cpu ? In the output of "vmstat" what parameters indicates server has no performance issue ?
Thank,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:21 AM
тАО06-23-2005 06:21 AM
Solutionioscan -k |grep -n processor |wc -l will give you the CPU count. You can also check processor speed and CPU type like this:
HPUX=/stand/vmunix
MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')
MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"
The primary stat I look at with vmstat is the po column to make sure I'm not paging/swapping.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:23 AM
тАО06-23-2005 06:23 AM
Re: performance
2. There is no single command that will tell you that. It is combination of different commands/tools that will tell you that. You would start with glance
Look at cpu, memory, network and swap. Which is causing the problem??
Other things you need to look at are as follows
iostat
sar -d
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:32 AM
тАО06-23-2005 06:32 AM
Re: performance
dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:37 AM
тАО06-23-2005 06:37 AM
Re: performance
Try this as root...
echo "runningprocs/D" | adb -k /stand/vmunix /dev/mem
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:37 AM
тАО06-23-2005 06:37 AM
Re: performance
echo "runningprocs/D" | adb -k /stand/vmunix /dev/kmem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:52 AM
тАО06-23-2005 06:52 AM
Re: performance
Or, use top.
Number of CPUs and the load for each CPU is listed on the top of the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 06:54 AM
тАО06-23-2005 06:54 AM
Re: performance
# hpmem
HP-UX svr003 B.11.11 U 9000/800 2504392627 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 542 MB
maxuprc: 800
maxvgs: 128
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 16384
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 7
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 02:34 PM
тАО06-23-2005 02:34 PM
Re: performance
There are many ways, You can use top, glanceplus(if itis installed), ioscan, model, ctsm. etc.
vmstat gives virtual memory stats as name suggest. Broadly we can say that less no of faults better is the performance. But Glance Plus will give you better picture.
Cheers !!!
eknath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2005 03:10 PM
тАО06-23-2005 03:10 PM
Re: performance
I would not rely specifically on vmstat to assess your server performance.
Glance and Measureware are the best tools to monitor performance but they are licensed products (though 60 Day Trial versions are available on HP-UX Application CD's).
If you are using 'vmstat' then I'd be looking at the following fields:
- High number in the 'procs b' (processes blocked).
- Low number in 'free' field. This would indicate very little free memory.
- Look at 'po' (pageouts). As a rough guide any consistent values over 1-2 may indicate pageout activity and hence memory bottleneck.
- 'cpu id' % CPU idle. if this is consistently at 0-5% then you may have CPU bottleneck.
If you don't have Measureware (OVPA) I'd look at using sar to collect historical performance data (see man sa1). You can run it from cron.
Cheers
Con