- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to get info about memory ?
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-14-2003 10:50 PM
07-14-2003 10:50 PM
how to get info about memory ?
I am interested in getting the following info:
- phisical RAM total and available( or used )
- virtual RAM -- -----------------------
- swap - ---------------------------
- shared ----------------------------
- buffers ---------------------------
- cache ----------------------------
(without looking at top, swapinfo requires root privileges)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:01 PM
07-14-2003 11:01 PM
Re: how to get info about memory ?
Without root its a bit more difficult.
If you have glance installed you can use this to get alot of the info you are after.
Options:
m for memory
w for swap
t for tables (buffer, shared mem etc)
? for list of all options.
Also 'top' doesn't usually require root priveleges.
Alternatively look at using sudo to give you access to run commands with root priveleges.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:08 PM
07-14-2003 11:08 PM
Re: how to get info about memory ?
Any other command witch will do this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:14 PM
07-14-2003 11:14 PM
Re: how to get info about memory ?
You could try running "dmesg", but you again need root privileges to do this.
Alternatively you could read the file "/var/adm/syslog/syslog.log" which contains most of the information you require. You should be able to read this file as a non-root user.
Hope this helps,
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:15 PM
07-14-2003 11:15 PM
Re: how to get info about memory ?
For Physical RAM you should be able to read the /var/adm/syslog/syslog.log file
Look for Memory information.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:26 PM
07-14-2003 11:26 PM
Re: how to get info about memory ?
you can see the informations by the Glance which is a purchase product.
After installed,execute then you will get.
Best Regards.
- Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:28 PM
07-14-2003 11:28 PM
Re: how to get info about memory ?
cat /var/adm/syslog/syslog.log|grep Phy
For buffer activity:
sar -b 5 5 (5 intervals/every 5th second)
For swap activity:
sar -w 5 5 (5 intervals/every 5th second)
But, I think for a normal user it is better to use glance. It is more easy to bring all this values in a relation to each other.
Regards
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 11:45 PM
07-14-2003 11:45 PM
Re: how to get info about memory ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 05:03 AM
07-15-2003 05:03 AM
Re: how to get info about memory ?
Then, just make the output files available to all users...
sysinfo204 attached...
http://www.backupcentral.com/sysaudit.html
http://come.to/cfg2html
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 03:59 AM
07-18-2003 03:59 AM
Re: how to get info about memory ?
perhaps this thread can help you
--> http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xec87227a6ab4d711900a0090279cd0f9,00.html
Roland
Do not forget to assign points :-}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 07:39 AM
07-18-2003 07:39 AM
Re: how to get info about memory ?
#grep -i physical /var/adm/syslog/syslog.log
and look for Physical.
Srini