- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UNIX95=1 command concern
Operating System - HP-UX
1748151
Members
3462
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-12-2010 01:28 PM
тАО05-12-2010 01:28 PM
UNIX95=1 command concern
Hello Folks,
I have two Doubt
1)I used the below command for find out the high process (24889).
In UNIX95 command it showing 20.53 but in TOP 45.84% showing for same PID 24889
is there any differences on that.
UNIX95=1 ps -e -o pcpu,pid,ppid,user,args | sort -rn | head -20
20.53 24889 24880 oracle oracleagentdb (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
10.46 9312 1 oracle /u01/app/oracle/product/9.2/bin/tnslsnr LISTENER -inherit
5.21 6162 1 oracle oracleagentdb (LOCAL=NO)
1.27 4671 4670 root /opt/ignite/bin/print_manifest
==================================
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 24889 aspire 233 22 2440M 34168K run 5:30 45.92 45.84 oracleagentdb
2 ? 9312 oracle 154 20 1610M 1591M sleep 37167:15 10.60 10.58 tnslsnr
4 ? 15246 oracle 154 20 2407M 4100K sleep 0:00 24.37 3.39 oracleagentdb
5 ? 43 root 152 20 7456K 7456K run 12346:24 1.64 1.63 vxfsd
1 ? 15050 aspire 149 22 32K 32K zomb 0:00 1.19 0.73 ssh
2 ? 7881 root 127 20 48180K 16604K sleep 2683:45 0.66 0.66 scopeux
3 ? 7795 root -16 20 40572K 18808K run 22759:32 0.61 0.61 midaemon
===================================================================
2).For the memory usage is used the below command, but the thing is what is 1592700and 9312 in the first and second column
$ UNIX95=1 ps -e -o vsz,pid,ppid,user,args | sort -rn | head -20
1592700 9312 1 oracle /u01/app/oracle/product/9.2/bin/tnslsnr LISTENER -inherit
906540 21807 1 root /opt/tivoli/tsm/client/ba/bin/dsmc sched
531048 7544 1 root /usr/sbin/snmpdm
476800 8014 1 root /opt/VRTSsal/bin/vxsald
121152 16861 1 oracle ora_dbw0_dm2c2hdb
119872 16879 1 oracle ora_mmon_dm2c2hdb
119360 16881 1 oracle ora_mmnl_dm2c2hdb
Can any body clarrify this one, Thanks in advance!!!!!!!
I have two Doubt
1)I used the below command for find out the high process (24889).
In UNIX95 command it showing 20.53 but in TOP 45.84% showing for same PID 24889
is there any differences on that.
UNIX95=1 ps -e -o pcpu,pid,ppid,user,args | sort -rn | head -20
20.53 24889 24880 oracle oracleagentdb (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
10.46 9312 1 oracle /u01/app/oracle/product/9.2/bin/tnslsnr LISTENER -inherit
5.21 6162 1 oracle oracleagentdb (LOCAL=NO)
1.27 4671 4670 root /opt/ignite/bin/print_manifest
==================================
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 24889 aspire 233 22 2440M 34168K run 5:30 45.92 45.84 oracleagentdb
2 ? 9312 oracle 154 20 1610M 1591M sleep 37167:15 10.60 10.58 tnslsnr
4 ? 15246 oracle 154 20 2407M 4100K sleep 0:00 24.37 3.39 oracleagentdb
5 ? 43 root 152 20 7456K 7456K run 12346:24 1.64 1.63 vxfsd
1 ? 15050 aspire 149 22 32K 32K zomb 0:00 1.19 0.73 ssh
2 ? 7881 root 127 20 48180K 16604K sleep 2683:45 0.66 0.66 scopeux
3 ? 7795 root -16 20 40572K 18808K run 22759:32 0.61 0.61 midaemon
===================================================================
2).For the memory usage is used the below command, but the thing is what is 1592700and 9312 in the first and second column
$ UNIX95=1 ps -e -o vsz,pid,ppid,user,args | sort -rn | head -20
1592700 9312 1 oracle /u01/app/oracle/product/9.2/bin/tnslsnr LISTENER -inherit
906540 21807 1 root /opt/tivoli/tsm/client/ba/bin/dsmc sched
531048 7544 1 root /usr/sbin/snmpdm
476800 8014 1 root /opt/VRTSsal/bin/vxsald
121152 16861 1 oracle ora_dbw0_dm2c2hdb
119872 16879 1 oracle ora_mmon_dm2c2hdb
119360 16881 1 oracle ora_mmnl_dm2c2hdb
Can any body clarrify this one, Thanks in advance!!!!!!!
- Tags:
- UNIX95
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 02:24 PM
тАО05-12-2010 02:24 PM
Re: UNIX95=1 command concern
Hi:
There will always be differences between tools like this. For HP-UX, probably the best performance measurement tool is 'glance' since it is specifically architected for the HP-UX kernel.
In particular, for memory, measurement of a process's memory footprint needs to account (or not) for shared memory segments and/or shared library components. Consider: do you count, or not, shared objects for one or for all processes sharing them (?).
You are best if you choose one tool and profile your measurements with that tool. Don't try to cross-compare what two tools report for the same process.
Regards!
...JRF...
There will always be differences between tools like this. For HP-UX, probably the best performance measurement tool is 'glance' since it is specifically architected for the HP-UX kernel.
In particular, for memory, measurement of a process's memory footprint needs to account (or not) for shared memory segments and/or shared library components. Consider: do you count, or not, shared objects for one or for all processes sharing them (?).
You are best if you choose one tool and profile your measurements with that tool. Don't try to cross-compare what two tools report for the same process.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 02:41 PM
тАО05-12-2010 02:41 PM
Re: UNIX95=1 command concern
Re: 2)
according to your criteria selected by command:
1592700 = vsz (virtual size)
9312 = pid (process id)
I view virtual size is the footprint of everything being used by memory for that process. Example, even if another process instantiated a call to a program block segment, and you're just getting a free ride on that code block because it was already in memory, the virtual size would still count it in that calculation. Other examples would included shared memory, etc. However, that is the conclusion I've come to by observation, and is not comprehensive, and possibly not even correct. Others may have a clearer definition of what this entails.
according to your criteria selected by command:
1592700 = vsz (virtual size)
9312 = pid (process id)
I view virtual size is the footprint of everything being used by memory for that process. Example, even if another process instantiated a call to a program block segment, and you're just getting a free ride on that code block because it was already in memory, the virtual size would still count it in that calculation. Other examples would included shared memory, etc. However, that is the conclusion I've come to by observation, and is not comprehensive, and possibly not even correct. Others may have a clearer definition of what this entails.
We are the people our parents warned us about --Jimmy Buffett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2010 12:57 AM
тАО05-13-2010 12:57 AM
Re: UNIX95=1 command concern
(It would help if you had a better subject. Your question is about ps(1), not the UNIX95 environment variable.)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP