- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory usage monitoring ?
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-27-2004 12:08 AM
05-27-2004 12:08 AM
Hello,
I have a requirement to collect the memory usage of an HPUX system over a period of time (samples every 10 minutes for one full day). Can somebody out there please suggest a standard script, which allows to:
1) Give total physical memory on the system?
2) Memory used by the kernel (system)?
3) Memory used by user processes?
4) Free memory?
5) Total VM?
6) Used VM?
Vmstat does give the number of free memory pages. Couple of things I am concerned about is:
The dynamic nature of buffer cache.
Memory paging when it is enabled.
Can someone out there please help me how to develop a script if there is no standard script? What would be the right approach if I have to develop a simple but useful script, which gathers all the above information?
Thanks in advance
Regards
Binu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 12:20 AM
05-27-2004 12:20 AM
Re: Memory usage monitoring ?
# memdetail
Memory Stat total used avail %used
physical 10080.0 9838.1 241.9 98%
active virtual 10642.0 3042.1 7599.9 29%
active real 7259.4 1945.1 5314.4 27%
memory swap 7693.6 1725.8 5967.7 22%
device swap 26528.0 10254.2 16273.8 39%
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 12:23 AM
05-27-2004 12:23 AM
Re: Memory usage monitoring ?
# usermem gwild
Memory claimed by gwild: 1516 Kbytes.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 12:27 AM
05-27-2004 12:27 AM
Re: Memory usage monitoring ?
Most of these outputs would be displayed using top(1).
Regards,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 05:27 AM
05-27-2004 05:27 AM
Re: Memory usage monitoring ?
I found this from one of the forum`s script sites.But the following command gives a lot of info.
/usr/contrib/Q4/bin/kmeminfo
HTH
Siju Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 08:59 AM
05-27-2004 08:59 AM
Re: Memory usage monitoring ?
the output is in pages (4 KB)
2) & 3) Download the attache kmeminfo and run.
4) echo "freemem/D" | adb -k /stand/vmunix /dev/kmem | tail -1
the output is in pages (4 KB)
5) you can use glance
Thanks,
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 11:23 AM
05-27-2004 11:23 AM
Re: Memory usage monitoring ?
"Memory: xxxK (xxxK) real, xxxK (xxxK) virtual, xxxK free"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2004 01:30 PM
05-27-2004 01:30 PM
SolutionBill Hassell, sysadmin