- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mem usage on hp systems
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
10-12-2005 01:34 PM
10-12-2005 01:34 PM
mem usage on hp systems
For our informix dbs we make the shared mem resident so it wont page so amount of mem avail on sys is critical when setting up dbs to run efficently.
Also if you are not monitoring amount of mem available on sys how do you know if you have installed an inefficent software release. We just did this . Our mem usage increase by 1 gig overnight- how do I know - by monitoring mem usage !
Any comments from the experts out there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 03:54 PM
10-12-2005 03:54 PM
Re: mem usage on hp systems
or,
UNIX95= ps -e -o vsz,uid,ruser,args | sort -rn
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 09:50 PM
10-12-2005 09:50 PM
Re: mem usage on hp systems
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 10:07 PM
10-12-2005 10:07 PM
Re: mem usage on hp systems
# swapinfo -tam
You can put a script like,
#!/bin/ksh
# memusage.ksh
while [ 1 ]
do
date >> /tmp/memory.log
UNIX95= ps -ef -o sz= -o vsz= -o pid -o comm | sort -nkr >> /tmp/memory.log
# five minutes sleep
sleep 300
done
# end
# chmod u+x memusage.ksh
# ./memusage.ksh 2>/tmp/memory.err &
Check with /tmp/memory.log and /tmp/memory.err for information and error(s) if any.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 11:28 PM
10-12-2005 11:28 PM
Re: mem usage on hp systems
Just look at the following link which has Script & C program also:
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x026250011d20d6118ff40090279cd0f9%2C00.html&admit=-682735245+1129202554424+28353475
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 12:35 AM
10-13-2005 12:35 AM
Re: mem usage on hp systems
here are two scripts one is for top memory use and other is for claimed memory used.
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 12:36 AM
10-13-2005 12:36 AM
Re: mem usage on hp systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 02:45 AM
10-13-2005 02:45 AM
Re: mem usage on hp systems
1) Leaving dbc_max_pct, nbuf, and bufpages at 0 on large memory systems. That leaves (be default) the dbc_max_pct set to 50 so you have 1 gig of a 2 gig system going to dbc. I suggest a dbc_max_pct that uses at most 750 to 800 MB.
2) Not having enough device swap space. HP still recommends in general that you have 2xRAM worth of device swap (i.e. 4 GB of device swap for 2 GB of RAM).
Monitoring it is essential of course regardless of which of these tools you use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 07:20 AM
10-13-2005 07:20 AM
Re: mem usage on hp systems
is this still true
HP still recommends in general that you have 2xRAM worth of device swap (i.e. 4 GB of device swap for 2 GB of RAM).
We have 16 gig mem but dont have 32 gig swap
.
below shows mem as being used for swap so at what stage do you worry about swap space below show no swap disk space. - agrees with sam - but not swapinfo !
have found prog memdetail that shows following
Memory Stat total used avail %used
physical 16382.0 9294.9 7087.1 57%
active virtual 9280.9 4342.1 4938.8 47%
active real 8826.0 3948.3 4877.6 45%
memory swap 13240.2 5313.8 7926.4 40%
device swap 8192.0 8189.3 2.7 100%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2005 02:43 AM
10-14-2005 02:43 AM
Re: mem usage on hp systems
This does not mean you are "swapping" in the traditional sense - it is just a place holder for what is already in memory...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 01:51 PM
10-17-2005 01:51 PM
Re: mem usage on hp systems
As i showed above mem info line below shows memory is being used for swap is the correct ?
Memory Stat total used avail %usedmemory swap 13240.2 5313.8 7926.4 40%
this is governed by kernal param swapmem_on
Some say have it on others say have it off !
what do the experts say ?
the HP-UX Performance Cookbook paper by Stephen Ciullo and Doug GrumannRev.
recommends having pseudo swap off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2005 11:32 AM
11-06-2005 11:32 AM
Re: mem usage on hp systems
kernal param swapmem_on -pseudo-swap and how it works. with this set uou can have disk swap all used and still work