- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can i know the user that is using swap.
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
11-04-2004 08:02 PM
11-04-2004 08:02 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 08:16 PM
11-04-2004 08:16 PM
Re: how can i know the user that is using swap.
Memory Usage - â What is using all of the memory?â
by:eric.herberholz@hp.com
Last modified: October 18, 2004
Full document is available at external ftp site: ftp://eh:spear9@hprc.external.hp.com/memory.htm
The "Table of Contents" is available in ITRC doc id MEMORYKBAN00000975
ftp site Gives you all available info
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 08:59 PM
11-04-2004 08:59 PM
Re: how can i know the user that is using swap.
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 91212 957364 9% 0 - 1 /dev/vg00/lvol2
dev 7340032 91864 7248168 1% 0 - 1 /dev/vg00/lvol9
But there are no processes with flag 0, whenI execute ps - efl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 09:13 PM
11-04-2004 09:13 PM
Re: how can i know the user that is using swap.
the concept/strategy of swap usage is that
when a process is first created ,HP-UX will first check to see if it is able to reserve swap space,which it can be used to page out the processes when necessary (when the phy.memeory crosses the threshold limit).if it is there then only a new processes will be created.
because of this one only the swap usage % is showing more.actually it will not use it unless physical memory is coming short.
you can see bu using vmstat 2 5
if it is showing more pageouts (po) then it means that physical memory is short and swapspace getting used.
to overcome this (swap)limit hp is using pseudo swap concept.
if you are having access to metalink.oracle then you will get a good document about virtual memory,paging & swap
doc id Note:17094.1
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 09:23 PM
11-04-2004 09:23 PM
Re: how can i know the user that is using swap.
i forgot to tell you,when a process is created it reserves space in swap also evenif it is not used up to threshold limit.
you can see the doc id Note:68056.1 also in meta link.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 09:28 PM
11-04-2004 09:28 PM
SolutionI do not think that it is possible to figure out which process actually uses swap space. Hpux does not distinguish between physical memory, primary or secondary swap: it is all considered "virtual memory".
Besides, I would not consider 1 or even 9 percent use of swap space as a problem - to me it looks like no problem at all!
If you want to know the memory use of processes, try this command:
# UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | more
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 10:34 PM
11-04-2004 10:34 PM
Re: how can i know the user that is using swap.
My problem is that the percentage of use in the estadisticas like swap and the server this not becoming swap. there is some way to release it, the memory available is of 1GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2004 12:44 AM
11-05-2004 12:44 AM
Re: how can i know the user that is using swap.
the swapinfo is not updated every other minute - I must admit that I do not know how often; other forumers probably know about that.
However, "swapinfo" shows that at a certain time your system had to use device swap, as all RAM at that time was in use.
This may be long ago, and if you are thinking of a way of resetting the device swap usage to zero, I think that is just not possbile.
regards,
John K.