- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to get physical 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
11-17-2008 10:54 PM
11-17-2008 10:54 PM
Is swapinfo will give physical usage or I want to go for TOP command as Glance is not installed in my server.
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvol2
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvswap
reserve - 5816 -5816
total 16384 5816 10568 35% - 0 -
Physical memory size is 8GB.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:07 PM
11-17-2008 11:07 PM
Re: How to get physical memory usage.
Check below link its very usefull explain how to check ..:)
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1226991737788+28353475&threadId=601446
# vmstat
# sar
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:21 PM
11-17-2008 11:21 PM
Re: How to get physical memory usage.
Please check the ipcs .
Using this command you can find the shared memory usage
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:25 PM
11-17-2008 11:25 PM
Re: How to get physical memory usage.
dmesg | grep physical
top
glance
swapinfo -tam
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:34 PM
11-17-2008 11:34 PM
SolutionThe total memory can be seen with:
- glance, memory (m) report
- top
- dmesg
- also logged to the file, /var/adm/syslog/syslog.log
The free memory on the system can be seen with:
- glance, memory (m) report
- vmstat
The swap space being used can be seen with:
- glance, swap space (w) report
- swapinfo
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:42 PM
11-17-2008 11:42 PM
Re: How to get physical memory usage.
Then to find the actual size (sz) and Virtual size (vsz) use the below command
#UNIX95=1
# ps -efo vsz,sz,pid,args |grep -v grep | sort -rnk 1 | more
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 12:08 AM
11-18-2008 12:08 AM
Re: How to get physical memory usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 12:13 AM
11-18-2008 12:13 AM
Re: How to get physical memory usage.
# ps -efo vsz,sz,pid,args |grep -v grep | sort -rnk 1
These need to be on the same line:
$ UNIX95=EXTENDED_PS ps -efo vsz,sz,pid,args | sort -rnk 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 12:45 AM
11-18-2008 12:45 AM
Re: How to get physical memory usage.
http://www.hpux.ws/?p=8
Memory leak detector might get you enough info to go with.
Shmuel
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 01:12 AM
11-18-2008 01:12 AM
Re: How to get physical memory usage.
Thanx for all the information Iam closing this thread.