- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Is there any way to check howmuch virtual memo...
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
тАО09-25-2009 11:34 AM
тАО09-25-2009 11:34 AM
Hi,
uporacle is a one process.
Is there any way to check how much virtual memory is consumed by this particluar process.
please reply me..........
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 11:44 AM
тАО09-25-2009 11:44 AM
SolutionOne way is to use 'ps':
# UNIX95= ps -C uporacle -o comm,pid,ppid,vsz
Notice that UNIX95 is set only for the duration of the command line. There is a space following the "=" character without a semicolon before the command.
Regards!
...JRF...
- Tags:
- UNIX95
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 12:06 PM
тАО09-25-2009 12:06 PM
Re: Is there any way to check howmuch virtual memory is consumed by particular process.
Please give the exact command
i used the below command
ps -C java -o comm,17900,17899,vsz
is this correct or we have to addUNIX=95 in front of the ps comamnd
thanks in advance
please reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 12:18 PM
тАО09-25-2009 12:18 PM
Re: Is there any way to check howmuch virtual memory is consumed by particular process.
> is this correct or we have to addUNIX=95 in front of the ps comamnd
You need to re-read my first post (in fact, copy-and-paste the command to a shell prompt and issue it!). To use 'ps -C' you must arm XPG4 (otherwise known as 'UNIX95') behavior.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2009 06:34 PM
тАО09-25-2009 06:34 PM
Re: Is there any way to check howmuch virtual memory is consumed by particular process.
UNIX95=1 ps -C java -o comm,pid,ppid,vsz
Do not change anything in the above line -- copy-paste this as is. The variable assignment followed by a command is correct. Now this command will report *all* java processes. If you want one specific java instance, change
-C java
to
-p 1234
where 1234 is the actual process ID. You may find this command more useful:
UNIX95=1 ps -e -o vsz,pid,ppid,args | sort -rn | head -20
This will sort all the processes by the amount of memory they use, largest first.
Bill Hassell, sysadmin