- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring of system performances
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
08-12-2003 04:51 PM
08-12-2003 04:51 PM
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 04:54 PM
08-12-2003 04:54 PM
Re: Monitoring of system performances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 05:07 PM
08-12-2003 05:07 PM
Re: Monitoring of system performances
If you have the latest q4 patch installed, try /usr/contrib/Q4/bin/kmeminfo* files.
Tim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 05:11 PM
08-12-2003 05:11 PM
Re: Monitoring of system performances
I'm particularly interested in the free memory usage. Is there a command to get the actual free memory?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 05:11 PM
08-12-2003 05:11 PM
SolutionAs Michael said Glance & Measureware are the best tools for gathering historical & realtime performance information.
If you don't have Glance/MWA then look at using sar to capture performance info. You can set it up to run from cron so you are continually gathering performance data.
Add the following entry to cron to gather perf data from sar every 15mins:
0,15,30,45 * * * * /usr/lbin/sa/sa1
Ensure /var/adm/sa directory is created.
See sa1 man page for more details.
vmstat is also good for looking at free memory
For example:
# vmstat 1 2 | tail -1 | awk '{printf "%d MB \n", ($5*4)/1024 }'
This shows free memory on the system in MB.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 05:18 PM
08-12-2003 05:18 PM
Re: Monitoring of system performances
I made a generic statement about the latest q4 patch. Without knowing your OS version it is hard to say which patch delivered the kmeminfo command.
Check in /usr/contrib/Q4/bin. See if you have the kmeminfo.
Physmem = 32768 Available physical memory:
Freemem = 495 Free physical memory
Used = 32273 Used physical memory:
...
This is providing the free memory you requested! Now its just a matter of determining if the command is there.
Tim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 05:33 PM
08-12-2003 05:33 PM
Re: Monitoring of system performances
again, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 05:37 PM
08-12-2003 05:37 PM
Re: Monitoring of system performances
vmstat reports free memory in 4K pages, therefore you need to x4 to get value in KB & then divide by 1024 to get value in MB.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 05:51 PM
08-12-2003 05:51 PM
Re: Monitoring of system performances
swapinfo -tm
will report some simple memory usage information. What is much more important is whether swap space is being used and from vmstat, the po column indicating how fast pages are being written to the swap area. Memory usage is extremely complex in HP-UX since there are so many components in memory. Things like the buffer cache (which can vary automatically), shared libraries, shared memory, memory mapped files, shared executables, and of course individual programs and also the kernel itself.
When programmers and/or database managers complain about memory, it is usually due to 32bit programs and a lack of understanding the limitations associated with these memory-limited programs. Get a copy of the two white papers: mem_mgt and proc_mgt which are both found in /usr/share/doc (10.x and 11.0 only) and show it to your programmers or DBA's.
Bill Hassell, sysadmin