- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to determine memory status?
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
07-31-2005 09:18 PM
07-31-2005 09:18 PM
how to determine memory status?
1. Total physical memory
2. Free phyiscal memory
3. Total swap memory
4. Free swap memory
without root privilege
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 09:25 PM
07-31-2005 09:25 PM
Re: how to determine memory status?
1. Total Physical Memory
#dmesg|grep Physical
2-4 by one single command
#swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 504 502 2 100% 0 - 1 /dev/vg00/lvol2
dev 8000 1161 6839 15% 0 - 1 /dev/vg00/lvol10
dev 8000 1171 6829 15% 0 - 1 /dev/vg00/lvol11
reserve - 3723 -3723
memory 4696 918 3778 20%
total 21200 7475 13725 35% - 0 -
Here I have three swap volumes defined. So can get a more formatted information. See "man swapinfo" for details.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 09:32 PM
07-31-2005 09:32 PM
Re: how to determine memory status?
[81] % ./dmesg
Aug 1 12:31
Can't read kernel memory
[82] %
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 09:33 PM
07-31-2005 09:33 PM
Re: how to determine memory status?
1. To get info on physical memory in the systems:
$dmesg |grep Physical
2. To get info on free memory, total swap configured & Free swap memory:
$swapinfo -tam
You do not have to have root privilages for above commands
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 09:40 PM
07-31-2005 09:40 PM
Re: how to determine memory status?
I do not think you can get this information if you are not root. You need to be a priveledged user to gain all such information. There are other methods also but those also will work for preveledged users only.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 09:55 PM
07-31-2005 09:55 PM
Re: how to determine memory status?
"How to get CPU speeds and RAM without cstm or root "
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 09:58 PM
07-31-2005 09:58 PM
Re: how to determine memory status?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=942521
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2005 10:04 PM
07-31-2005 10:04 PM
Re: how to determine memory status?
You can get the first one without root. Use
#grep Physical /var/adm/syslog/syslog.log
The Physical column will give you the physical memory.
HTH,
Devender