- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trying to identify processes that hogs the memory
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
03-30-2004 03:59 AM
03-30-2004 03:59 AM
Trying to identify processes that hogs the memory
Question...What is the best way to identify the processes that are eating the resources?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 04:14 AM
03-30-2004 04:14 AM
Re: Trying to identify processes that hogs the memory
What are your settings for buffer cache? What is the swap space that you have configured?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 04:18 AM
03-30-2004 04:18 AM
Re: Trying to identify processes that hogs the memory
The gui, gpm is a little more useful for this.
You can use lsof to help identify the processes. http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/
I would look at the database setup files and see what the memory limits are.
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
03-30-2004 04:24 AM
03-30-2004 04:24 AM
Re: Trying to identify processes that hogs the memory
Thanks,
Bibi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 05:44 AM
03-30-2004 05:44 AM
Re: Trying to identify processes that hogs the memory
cat top10
#/bin/sh
UNIX95= ps -e -o "vsz pcpu ruser pid stime time state args" | sort -rn |head -10
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 06:37 AM
03-30-2004 06:37 AM
Re: Trying to identify processes that hogs the memory
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 12:54 AM
03-31-2004 12:54 AM
Re: Trying to identify processes that hogs the memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 01:22 AM
03-31-2004 01:22 AM
Re: Trying to identify processes that hogs the memory
Look at
Memory Usage (â What is using all of the memoryâ ?)
by:eric.herberholz@hp.com
Last modified: March 23, 2004
Latest version also available at external ftp site:
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Also unix95 is great
1 #!/usr/bin/ksh
2 #
3 # Show processes sorted by size of core image
4 #
5 # Usage:
6 # psram [ quantity ]
7 #
8 # where quantity is the top RAM processes to show (default is 20)
9 #
10 set -u
11 if [ $# -gt 0 ]
12 then
13 TOPPROCS=$1
14 else
15 TOPPROCS=20
16 fi
17
18 MYNAME=$(basename $0)
19 TEMPFILE=/var/tmp/$MYNAME.$$
20 trap `rm -f $TEMPFILE > /dev/null 2>&1` 0 1 2 3 15
21
22 UNIX95= ps -e -o ruser,vsz,pid,args > $TEMPFILE
23 head -1 $TEMPFILE
24 DASH5="-----"
25 DASH25="$DASH5$DASH5$DASH5$DASH5$DASH5"
26 echo "$DASH5---- $DASH5- $DASH5 $DASH25$DASH25"
27 grep -v "VSZ COMMAND" $TEMPFILE \
28 | cut -c -78 \
29 | sort -rn -k2 \
30 | head -${TOPPROCS}
31 rm $TEMPFILE > /dev/null 2>&1
32 #### END OF SCRIPT
Steve