- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
Discussions
Discussions
Forums
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
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-18-2003 08:42 PM
тАО11-18-2003 08:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 09:06 PM
тАО11-18-2003 09:06 PM
Re: Memory usage
top
will tell you how much "Free KB" you have.
vmstat 1 1
will list you the free memory pages (4KB)
to monitor for an hour you can use top or run
vmstat 1 3600
To go more into detail, you may consider (buying) Glance, there is 60-day trial version on one of the Application CDs, if you want to take a closer look at it
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 09:15 PM
тАО11-18-2003 09:15 PM
Re: Memory usage
Glance is the most user-friendly, just run it up and type "m".
There is also a number of other tools, best to read the man pages and try them.
vmstat
sar
swapinfo
Or if it's shared memory you're after, use ipcs -ma
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 09:19 PM
тАО11-18-2003 09:19 PM
Re: Memory usage
Glance is the best tool around here.
you can also use. man ps for more details.
UNIX95= ps -efo pid, vsz, comm
sar is useful as also the top.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 09:37 PM
тАО11-18-2003 09:37 PM
Re: Memory usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 11:24 PM
тАО11-18-2003 11:24 PM
Re: Memory usage
I'll take a deeper look in each one of your answers and i'll see what's the most suitable for my needs.
Aviad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 01:13 AM
тАО11-19-2003 01:13 AM
Solution/usr/contrib/Q4/bin/kmeminfo
Output looks like:
# /usr/contrib/Q4/bin/kmeminfo
kmeminfo (3.11)
libp4 (5.17): Opening /stand/vmunix /dev/kmem
Loading symbols from /stand/vmunix
======================================================================
Date: Wed Nov 19 07:11:56 2003
Processing pfdat table (2505108 entries)...
----------------------------------------------------------------------
Physical memory usage summary (in pages):
Physmem = 2580480 Available physical memory:
Freemem = 613716 Free physical memory
Used = 1966764 Used physical memory:
System = 333474 by kernel:
Static = 75372 for text and static data
Dynamic = 0 for dynamic data
Bufcache = 258048 for file-system buffer cache
Eqmem = 54 for equiv. mapped page pool
SCmem = 0 for system critical page pool
User = 1144980 by user processes
Uarea = 6268 for thread uareas
Disowned = 63983 disowned pages
----------------------------------------------------------------------
Dynamic memory usage summary (in pages):
Dynamic = 0 Kernel dynamic data (sysmap):
MALLOC = 0 memory buckets:
bucket[ 5] = 0 size 32 bytes
bucket[ 6] = 0 size 64 bytes
bucket[ 7] = 0 size 128 bytes
bucket[ 8] = 0 size 256 bytes
bucket[ 9] = 0 size 512 bytes
bucket[10] = 0 size 1024 bytes
bucket[11] = 0 size 2048 bytes
bucket[12] = 0 size 4096 bytes
bucket[13] = 0 size 2 pages
bucket[14] = 0 size 3 pages
bucket[15] = 0 size 4 pages
bucket[16] = 0 size 5 pages
bucket[17] = 0 size 6 pages
bucket[18] = 0 size 7 pages
bucket[19] = 0 size 8 pages
bucket[20] = 0 size > 8 pages
Kalloc = 0 kalloc()
Eqalloc = 0 eqalloc()
Reserved = 0 Reserved pools
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 01:43 AM
тАО11-19-2003 01:43 AM
Re: Memory usage
Many thanks for your great answer!
Now after you submitted your answer I found the details I wanted to have form the begining.
Aviad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 01:53 AM
тАО11-19-2003 01:53 AM
Re: Memory usage
I need to give non root users the ability to run the kmeminfo.
Do you know if there is a patch/some other sulotion which enables this option?
Aviad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 03:10 AM
тАО11-19-2003 03:10 AM
Re: Memory usage
HTH.