- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory calculation
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
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
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-11-2008 02:15 PM
тАО05-11-2008 02:15 PM
We are running a monitoring tool which helps get a free memory info available in a hp system.I have to compare it with the output of top command ,but it was not so clear to me.Can you let me know how do we calculate the free mem(physical) using top command.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 08:23 PM
тАО05-11-2008 08:23 PM
Re: memory calculation
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1210565985087+28353475&threadId=1180482
CPU = Processor number on which the process is executing (only on multi-processor
systems).
TTY = Terminal interface used by the process.
PID = Process ID number.
PSET = ID of the processor set to which the
processor belongs.This is shown only when -P option is used.
PRI = Current priority of the process
NI = Nice value ranging from -20 to +20
SIZE = Total size of the process in kilobytes.This includes text, data, and stack.
RES = Resident size of the process in kilobytes.The resident size information is, at best,an approximate value.
STATE = Current state of the process. The various states are sleep, wait, run, idl, zomb, orstop.
%WCPU = Weighted CPU (central processing unit) percentage.
%CPU = Raw CPU percentage. This field is used to sort the top process
http://docs.hp.com/en/B2355-60130/top.1.html
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 08:34 PM
тАО05-11-2008 08:34 PM
Re: memory calculation
Actually by mistake , i have mentioned as top. But it is not.I was checking the mem info in sam which shows me virtaul,real ,etc.I need to know how can i match this to get the total memory usage(physical and swap) in the system
Thanks Much Again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 08:38 PM
тАО05-11-2008 08:38 PM
Re: memory calculation
You can check with swapinfo command.
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2048 0% 0 - 1 /dev/vg00/lvol2
reserve - 150 -150
memory 2048 431 1617 21%
total 4096 581 3515 14% - 0 -
#
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 08:41 PM
тАО05-11-2008 08:41 PM
Re: memory calculation
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1220246
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 08:47 PM
тАО05-11-2008 08:47 PM
Solutionplease have a look at the following url:
ftp://hprc.external.hp.com/memory.htm#topcommand
e.g.
Memory: 515216K (441660K) real, 1537516K (1434024K) virtual, 1365132K free
>Can you let me know how do we calculate the free mem(physical) using top command.
Here it is 1,365,132K free (i.e the last column)
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2008 12:57 AM
тАО05-12-2008 12:57 AM
Re: memory calculation
This may be a vague piece of info if you have lots of buffer cache that can be reused for virtual memory.
A more useful statistic is how much swapping your are doing, see vmstat(1).