- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vmstat
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-19-2011 03:52 AM
тАО06-19-2011 03:52 AM
vmstat
What i found that the vmstat and few other commands taking more time to excute it. What will be the reason .
time vmstat 1 3
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m1 m1 m1 m2 in sy cs us sy id
0 3 0 42505288 20739608 424 523 185 19 19 0 0 4 3 3 0 6245 35933 4939 5 1 94
0 11 0 41885320 19187776 1829 843 0 49 49 0 0 1 1 1 0 36877 193330 66223 17 5 78
0 12 0 41892712 19187768 55 283 0 81 81 0 0 9 9 9 0 35711 90055 63995 14 4 82
real 0m31.38s
user 0m27.61s
sys 0m1.74s
Regarda,
Waugh
- Tags:
- vmstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2011 04:12 PM
тАО06-19-2011 04:12 PM
Re: vmstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2011 05:06 PM
тАО06-19-2011 05:06 PM
Re: vmstat
wchan checks to see what is blocking the pid and what it is waiting on
b) If you review most hpux admins notes on vmstat they will tell you it is mostly unreliable on hpux since 10.00 when the transition from BSD to ATT was made. Most rely on glance / gpm, and top.
- Tags:
- UNIX95
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2011 05:26 PM
тАО06-19-2011 05:26 PM
Re: vmstat
If you want a particular PID you may want to use -p:
UNIX95=EXTENDED_PS ps -f -p your-PID -o pid,ppid,wchan,stat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2011 08:52 PM
тАО06-19-2011 08:52 PM
Re: vmstat
As you mentioned that few commands like vmstat taking more time to run.Below could be the reasons which of that cause.
As your vmstat output clearly concludes that page outs are more than page in, so there could be the issue of memory crunch.
1]Please check whther the physical memeory & swap utilisation is 100% full.
#vmstat or swinfo -tam
2]Also check if /tmp file system is 100% full.In this scinario as well there could be the possibilities of commands getting hung or poor response.
#bdf /tmp
3]One more parameter you can check is load average of the system.if it is more than avg 3.0 then it implies system is loaded.
#top or sar 1 5
Hope this will help you.
Regards
Yogesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2011 05:41 AM
тАО10-21-2011 05:41 AM
Re: vmstat
I'm seeing the same results as Waugh. My physical memory and swap utilization look good and I followed your other checks and still no difference. What do you think it could be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2011 04:04 PM
тАО10-21-2011 04:04 PM
Re: vmstat
>I'm seeing the same results as Waugh. My physical memory and swap utilization look good
You might want to explain your results? Are you worried about your system performance or about the slowness of the vmstat command?