- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Which command can get detail output of java pr...
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
01-05-2009 04:51 AM
01-05-2009 04:51 AM
Which command can get detail output of java process status like "ps axwww" on linux ?
Here is one question confused me,on linux OS,I can get below output using "ps axwww" command:
--------------------------
%TIME PID PPID TOT SECS SIZE(Kb) UID COMMAND
93.30 14540 14539 3517009.08 31700 dzsys /opt/java1.4/bin/PA_RISC2.0/java -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -DADAPTER_CONFIG_DIR=/home/dzsys/child/config/standard -cp /home/dzsys/child/lib/adapter.jar:/home/dzsys/child/lib/mqsych.jar:/home/dzsys/child/lib/log4j-1.2.8.jar:/home/dzsys/child/lib/com.ibm.mq.jar:/home/dzsys/child/lib/com.ibm.mqbind.jar:/home/dzsys/child/lib/com.ibm.mqjms.jar:/home/dzsys/child/lib/connector.jar:/home/dzsys/child/lib/xercesImpl.jar:/home/dzsys/child/lib/xml-apis.jar:/home/dzsys/child/lib/junit.jar:/home/dzsys/child/lib/commons-codec-1.2.jar:/home/dzsys/child/lib/commons-logging.jar:/home/dzsys/child/lib/commons-pool.jar:/home/dzsys/child/lib/classes12.jar:/home/dzsys/child/lib/ifxjdbc.jar:/home/dzsys/child/lib/jdom.jar:/home/dzsys/child/config/standard com.mob.mq.children.Run
4.52 24008 1 4284.31 188964 dxuser /opt/java1.4/bin/PA_RISC2.0/java -Xms256M -Xmx256M -cp ..//lib/b2b20081107.jar:..//lib/ServerHelpDoc.jar:..//lib/rowset.jar:..//lib/adapter.jar:..//lib/connector.jar:..//lib/sample.jar:..//lib/ifxjdbc.jar:..//lib/xalan.jar:..//lib/ojdbc14.jar:..//lib/jconn2d.jar:..//lib/xercesImpl.jar:..//lib/com.ibm.mq.jar:..//lib/jhall.jar:..//lib/xml-apis.jar:..//lib/com.ibm.mqbind.jar:..//lib/log4j-1.2.8.jar:..//lib/xmlParserAPIs.jar:..//lib/com.ibm.mqjms.jar:..//lib/proxool-0.8.3.jar:..//lib/psijni.jar:..//lib/commons-beanutils.jar:..//lib/commons-fileupload.jar:..//lib/commons-logging.jar:..//lib/commons-collections-3.1.jar:..//lib/jta.jar:..//lib/quartz-1.6.0.jar:..//lib/commons-httpclient-2.0.2.jar:..//lib/commons-pool.jar:..//lib/commons-digester.jar:..//lib/commons-lang.jar:..//lib/commons-validator.jar:..//lib/commons-codec-1.2.jar:..//config b2b.filesend.server.SendServer
0.24 12863 1 40820.48 29940 patrol PatrolAgent -id P11_msgpcomm
0.21 1889 1 294.29 8112 root mad -u root -g bin
0.10 1451 1 153.68 114160 dxuser /opt/java1.4/bin/PA_RISC2.0/java -Xms64M -Xmx128M -cp ..//lib/censerver1020.jar:..//lib/adapter.jar:..//lib/ifxjdbc.jar:..//lib/com.ibm.mq.jar:..//lib/com.ibm.mqbind.jar:..//lib/com.ibm.mqjms.jar:..//lib/connector.jar:..//lib/xercesImpl.jar:..//lib/trustapp.jar:..//lib/jconn2d.jar:..//lib/classes12.jar:..//lib/censerver.jar:..//lib/xmlParserAPIs.jar:..//lib/commons-codec-1.2.jar:..//lib/commons-logging.jar:..//lib/commons-pool.jar:..//lib/log4j-1.2.8.jar:..//lib/xml-apis.jar:..//lib/sample.jar:..//lib/jdom.jar:..//config com.sysnet.dcss.monitor.Start
--------------------------
But on hpux ,I do not know how to get these detail java info running on my servers.Pls help ,TKS very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 05:04 AM
01-05-2009 05:04 AM
Re: Which command can get detail output of java process status like "ps axwww" on linux ?
#ps -ef|grep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 05:16 AM
01-05-2009 05:16 AM
Re: Which command can get detail output of java process status like "ps axwww" on linux ?
On HP-UX, the command line size reported is set to 128-characters by default. This can be increased up to 1020 characters if '/etc/default/ps' is appropriately configured. See the "Notes" section of the 'ps' manpages:
http://docs.hp.com/en/B2355-60130/ps.1.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 05:27 AM
01-05-2009 05:27 AM
Re: Which command can get detail output of java process status like "ps axwww" on linux ?
DEFAULT_CMD_LINE_WIDTH = 1024
PS_CMD_BASENAME = 255
# ps -ef | grep java
root 1307 1 0 Jul 17 ? 102:48 /opt/hpservices/jre/bin/../bin/PA_RISC/native_threads/java -DRu
settle 15470 1 0 Jul 31 ? 69:20 /opt/java1.5/bin/PA_RISC2.0/java -DISO_8859_1=gb2312 -Xms64m -X
dxuser 22647 1 0 Jan 4 ? 3:16 /opt/java1.4/bin/PA_RISC2.0/java -Xms64M -Xmx128M -cp ..//lib/c
dxuser 1278 1 0 Jan 4 ? 45:18 /opt/java1.4/bin/PA_RISC2.0/java -Xms256M -Xmx256M -cp ..//lib/
dzsys 6255 6254 0 Jan 4 ? 0:33 /opt/java1.4/bin/PA_RISC2.0/java -Djavax.xml.parsers.DocumentBu
dzsys 14485 14484 0 Oct 24 ? 116:24 /opt/java1.4/bin/PA_RISC2.0/java -Djavax.xml.parsers.DocumentBu
#
The same as before ,i think this is the display problem,but no use after setting /etc/default/ps value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 05:28 AM
01-05-2009 05:28 AM
Re: Which command can get detail output of java process status like "ps axwww" on linux ?
root 1307 1 0 Jul 17 ? 102:48 /opt/hpservices/jre/bin/../bin/PA_RISC/native_threads/java -DRu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2009 06:32 AM
01-05-2009 06:32 AM