- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory utilization for process
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
тАО05-19-2009 01:58 AM
тАО05-19-2009 01:58 AM
Memory utilization for process
How I can get the memory utilization in percentage for some purticular process.
Thanks in advance
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 02:17 AM
тАО05-19-2009 02:17 AM
Re: Memory utilization for process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 02:22 AM
тАО05-19-2009 02:22 AM
Re: Memory utilization for process
Check the following links:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1224985
http://sysdigg.blogspot.com/2008/01/how-to-check-memory-usage-in-hp-ux.html
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=991568
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 02:28 AM
тАО05-19-2009 02:28 AM
Re: Memory utilization for process
Best option is using glance you can see the utilization of a process.
below switch you can use with glance
m :- Memory detail
s :- Single process detail
f :- Single process open file detail
I :- Per-thread resource utilization
L :- Per-process system call utilization
M :- Single process memory regions detail
W :- Single process wait states detail
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 02:46 AM
тАО05-19-2009 02:46 AM
Re: Memory utilization for process
top
glance
gpm
sar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 02:47 AM
тАО05-19-2009 02:47 AM
Re: Memory utilization for process
and vmstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 03:28 AM
тАО05-19-2009 03:28 AM
Re: Memory utilization for process
Thanks for your reply.But I want in percentage format (%) for each process. Glance will give you only total information.
In Solaris "ps -aux" is using for that.
Thanks and regrds
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 03:47 AM
тАО05-19-2009 03:47 AM
Re: Memory utilization for process
Dear ANoop
top is the best command to check
u can use glance tools also
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 04:23 AM
тАО05-19-2009 04:23 AM
Re: Memory utilization for process
What you want is the ps UNIX95
do
# man ps
and look at options in UNIX standard synopsis
for example you could use it like this
UNIX95= ps -e -o "user,vsz,pcpu,args"| awk 'NR>1'| sort -kn2
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 04:48 AM
тАО05-19-2009 04:48 AM
Re: Memory utilization for process
While not strictly what you are looking for:
http://www.hpux.ws/?p=8
The leak detector is a good example of ps code and it works on Linux, HP-UX and Solaris.
It might be helpful.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com