- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory usage questions
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-31-2005 12:45 AM
05-31-2005 12:45 AM
Memory usage questions
I have difficulties with our system, an RP-7420. It is equipped physically with 8 GB RAM.
The system is used as a tape-backup server.
As soon as some I/O is handled, the memory usage is getting too high, so the system uses disc-space for further memory requests.
I take this information from swapinfo. Memory is at 100%, and disc devices are used.
At this point, I/O-handling is getting very slow so the backups won't finish within time.
If I check memory usage with top or ps, the overall amount isn't very high.
So, how can I check, where all the memory has gone?
Kind regards
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 01:00 AM
05-31-2005 01:00 AM
Re: Memory usage questions
glance
see: http://managementsoftware.hp.com/products/gplus/download.html
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 01:04 AM
05-31-2005 01:04 AM
Re: Memory usage questions
This set may be of assistance, though glance is a better tool for looking at memory and thread allocation.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 02:00 AM
06-23-2005 02:00 AM
Re: Memory usage questions
thanks for your hints but I am still stuck to this problem.
I can see that 95-100% of the physical memory is used but I can't see which processes are holding the memory.
Isn't it possible to show the memory-usage of each process? The sum within top or ps only shows up about 1 GB RAM.
So where is the rest?
Kind regards
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 12:52 AM
06-24-2005 12:52 AM
Re: Memory usage questions
$ UNIX95= ps -eo vsz,user,pid,args | sort -n
Check shared memory usage (look at SEGSZ)
$ ipcs -mob | sort -n -k8
Are there any shared memory entries that stand out with high usage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 01:03 AM
06-24-2005 01:03 AM
Re: Memory usage questions
For 8 gb, I would set to either 8 or 9 or 10...
That will free up some meory for the backup application.
Here's a handy script:
# cat processmem
#!/bin/sh
# processmem - display memory claimed by a process
# gwild 03192004
#
if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]
then
echo "Usage:"
echo "processmem \"process\""
echo "Example:"
echo "processmem rpc"
exit 1
fi
echo " "
PROCESS=$1
mps=0
#for sz in `ps -elf | grep $PROCESS | grep -v grep | awk '{print $10}'`
for sz in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | grep $PROCESS | awk '{print $1}'`
do
mps=`expr $mps + $sz`
done
#echo `expr $mps \* 4096`
echo "\nMemory claimed by $PROCESS: $mps Kbytes.\n"
Rgds...Geoff