- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Actual Memory usage
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
05-10-2004 08:56 PM
05-10-2004 08:56 PM
Actual Memory usage
For eg: By using top, the memory shown was size: 384K res:544K while using ps -elf of the PID, it returns 94.
Can advise on how to determine the actual memory usage.
And also with the top command, what is the diff between size and res? thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 09:03 PM
05-10-2004 09:03 PM
Re: Actual Memory usage
use vmstat and swapinfo command.
# vmstat 5 20
where free column is in pages (about 4kb) and the number is 5 seconds for 20 intervals
# swapinfo -tam
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 09:05 PM
05-10-2004 09:05 PM
Re: Actual Memory usage
this will show you total swap space configured and physical memory in your system.
See the attached file. Here i have 2 GB ram and 5 GB swap.
Total it shows 7 GB.
That is what you want!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 09:26 PM
05-10-2004 09:26 PM
Re: Actual Memory usage
Check the free mem column. Unit is page. One buffer page is 4096k.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 09:35 PM
05-10-2004 09:35 PM
Re: Actual Memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 09:39 PM
05-10-2004 09:39 PM
Re: Actual Memory usage
SIZE = Total virtual size of the process in kilobytes.
RES = Resident size of the process in kilobytes.
refer to "man top" for more details about the other columns.
regards.
(p.s. some points for the efforts)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 09:49 PM
05-10-2004 09:49 PM
Re: Actual Memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 10:05 PM
05-10-2004 10:05 PM
Re: Actual Memory usage
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=484774
regards.
(p.s. remember to assign points for earlier posts as well. read this:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28 )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 10:22 PM
05-10-2004 10:22 PM
Re: Actual Memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 12:44 AM
05-11-2004 12:44 AM
Re: Actual Memory usage
As mentioned, you may want to look VSZ value in ps by temporarily enabling the UNIX95 variable as in:
UNIX95= ps -p 1234 -o vsz,pid,ppid,ruser,args
The first number VSZ is in kilobytes.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 01:10 PM
05-11-2004 01:10 PM
Re: Actual Memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 02:02 PM
05-11-2004 02:02 PM
Re: Actual Memory usage
obviously, you have not read the help tips I send about assigning points:
please especially read the last paragraph:
==========================
How many points should I assign to replies?
Every response to your question is eligible to earn between 1-10 points. No need to worry about running out of points - when a truly awesome reply rolls in that deserves a 10, you will be able to assign it a 10! However, be careful to assign points based on the value that a reply truly provides. Use the following scale as a guideline:
o N/A: The answer was simply a point of clarification to my original question
o 1-3: The answer didn't really help answer my question, but thanks for your assistance!
o 4- 7: The answer helped with a portion of my question, but I still need some additional help!
o 8-10: The answer has solved my problem completely! Now I'm a happy camper!
Although assigning points is not mandatory, it is a key component of a strong, interactive community, and it is STRONGLY ENCOURAGED. Others have taken time to help you, so please take a moment to give them credit for their assistance!
===========================
Yes, I am doing it for the points, I will be lying if I am telling you I am not. I am also doing it for the thrill of a challenge, giving a right answer and feeling "appreciated" by those who awards the points as it should be.
regards.
(p.s. till we meet again, this will be my last post to this thread.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 02:44 PM
05-11-2004 02:44 PM
Re: Actual Memory usage
you can see the RSS/VSS sizes in glance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 03:31 AM
05-12-2004 03:31 AM
Re: Actual Memory usage
Bharat Katkar at May 11, 2004 09:05:07 wrote
#swapinfo -t
this will show you total swap space configured and physical memory in your system.
I understand that the output contains one line "memory" that is the pseudo-swap and not physical memory. Is it right or not ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 03:57 AM
05-12-2004 03:57 AM
Re: Actual Memory usage
I understand that the output contains one line "memory" that is the pseudo-swap and not physical memory. Is it right or not ?
Right!! Thanks for clearing your and my ideas as well. It seems i need to rest for sometime now.
You are correct sir.
Regards,
Bharat