- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Determining what processes are taking up the most ...
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
тАО12-15-2009 10:23 AM
тАО12-15-2009 10:23 AM
Determining what processes are taking up the most swap file space
Is there a command that can determine what processes are taking up the most swap file space?
The operating system in question is HP-UX 11.00.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2009 10:37 AM
тАО12-15-2009 10:37 AM
Re: Determining what processes are taking up the most swap file space
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2009 03:22 PM
тАО12-15-2009 03:22 PM
Re: Determining what processes are taking up the most swap file space
I have heard of Glance, and it is installed on our system, but I have never used it. Has anyone used it, and can provide insight into how it can help determine what, if any processes, are taking up the most swap space?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2009 06:24 PM
тАО12-15-2009 06:24 PM
Re: Determining what processes are taking up the most swap file space
#glance
you can check swap space utilization
click m
hope this helps
Regards,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 03:32 AM
тАО12-16-2009 03:32 AM
Re: Determining what processes are taking up the most swap file space
I assume you are just taking about swap in general? Otherwise you can't tell which are pseudo-swap vs device swap.
The following will sum swap and text for the VSZ KB column:
UNIX95=EXTENDED_PS ps -e -o pid,vsz,comm
(Not sure if it includes shared memory?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 07:15 AM
тАО12-16-2009 07:15 AM
Re: Determining what processes are taking up the most swap file space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2009 07:28 AM
тАО12-16-2009 07:28 AM
Re: Determining what processes are taking up the most swap file space
> Tingli: I think the command UNIX95=EXTENDED_PS ps -e -o pid,vsz,comm is more likely for checking the memory, not the swap space.
If you consider that every process must reserve swap space in order to run, then the virtual segment size reported by 'ps' is probably as good an estimate of potential swap space utilization as you can get.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 04:25 AM
тАО12-17-2009 04:25 AM
Re: Determining what processes are taking up the most swap file space
You might be correct. I didn't see "virtual" on ps(1) but why have a name with "v" if it doesn't mean virtual? :-)
If you look at top(1), it says SIZE is virtual.
Or you can roll your own by calling pstat_getprocvm(2) by modifying my source in this thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1392232
(Assuming it would work on 11.00?)
- Tags:
- broken URL link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 07:12 AM
тАО12-17-2009 07:12 AM
Re: Determining what processes are taking up the most swap file space
Just add up the pvs.pst_swap fields from pstat_getprocvm() instead of the pst_length fields.
Sample code attached -- not compiled on anything older than v2, so it may need a little work to fit 11.0.