- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory consumption
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
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
12-18-2001 08:43 AM
12-18-2001 08:43 AM
Memory consumption
Thanks
Biren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 08:46 AM
12-18-2001 08:46 AM
Re: Memory consumption
This command is entered all on one line.
Eileen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 09:02 AM
12-18-2001 09:02 AM
Re: Memory consumption
With some variation ;-)
UNIX95= ps -e -o ruser,vsz,pid,args | sort -rnk2 |more
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 09:04 AM
12-18-2001 09:04 AM
Re: Memory consumption
Try this command
UNIX95= ps -e -o ruser,vsz,pid,pcpu,args | sort -rnk2 | more
Also try this command for cpu intensive process
UNIX95= ps -e -o "pcpu vsz ruser pid stime time state args" | sort -rn |head -10
-USA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 09:06 AM
12-18-2001 09:06 AM
Re: Memory consumption
Please Note that there is space between UNIX95= and ps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:39 AM
12-19-2001 10:39 AM
Re: Memory consumption
Here is the command i executed
$ UNIX95= ps -e -o vsz -opid,args | sort -rnk1 | grep oracleSC01
32960 17038 oracleSC01 (DESCRIPTION=LOCAL=no)
32832 14884 oracleSC01 (DESCRIPTION=LOCAL=no)
I am trying to interpret this results.
1st column is the memory used by the process. Which is 32960 and 32832 both is around 32 MB each. The process listed above is connection to Oracle (shadow process). That means each connection will take up 32 MB of memory!?!?
Also, i am monitoring memory usage using gpm (glance), for each new connection it is adding 2.2 MB only to User Mem!!
What am i missing here? Thanks again
Biren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 02:09 AM
12-20-2001 02:09 AM
Re: Memory consumption
The text segment is shared by all Oracle processes, which means that these processes are not using 32Meg each as the ps output says. On my db system the vsz value for all processes adds up to about 1Gig more than the actual amount of virtual memory in use because of this.
I'm not sure of an easy way to simply look at the data segment size of the process. q4 would do it but usually its not important to go into this level of detail.
Regards,
Steve