- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: XPG4 ps -C unreliable?
Operating System - Linux
1752822
Members
4063
Online
108789
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
тАО02-08-2008 04:01 AM
тАО02-08-2008 04:01 AM
XPG4 ps -C unreliable?
Hello,
so far I always could rely on the -C option of the hpux ps command.
But now I discovered that one of my monitoring plug-ins failed to fetch the java master thread via this interface.
This is kind of disturbing and I wonder if I better shift to Perl's Proc::ProcessTable in the future, or other hacks?
Here's an example:
$ uname -srv
HP-UX B.11.11 U
$ UNIX95= ps -C java -x -o args
COMMAND
$
$ ps -e|grep java
4702 ? 289:52 java_q3p
$ UNIX95= ps -p 4702 -o comm=
java
$ UNIX95= ps -p 4702 -x -o args=
/opt/java1.5/bin/PA_RISC2.0/java -Xms512m -Xmx2048m -XX:NewSize=64m -XX:MaxNewSize=256m -server -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XdoCloseWithReadPending -Djava.endorsed.dirs=/opt/hpws/tomcat/common/endorsed -classpath :/opt/hpws/tomcat/bin/bootstrap.jar:/opt/hpws/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/hpws/tomcat -Dcatalina.home=/opt/hpws/tomcat -Djava.io.tmpdir=/opt/hpws/tomcat/temp org.apache.catalina.startup.Bootstrap start
so far I always could rely on the -C option of the hpux ps command.
But now I discovered that one of my monitoring plug-ins failed to fetch the java master thread via this interface.
This is kind of disturbing and I wonder if I better shift to Perl's Proc::ProcessTable in the future, or other hacks?
Here's an example:
$ uname -srv
HP-UX B.11.11 U
$ UNIX95= ps -C java -x -o args
COMMAND
$
$ ps -e|grep java
4702 ? 289:52 java_q3p
$ UNIX95= ps -p 4702 -o comm=
java
$ UNIX95= ps -p 4702 -x -o args=
/opt/java1.5/bin/PA_RISC2.0/java -Xms512m -Xmx2048m -XX:NewSize=64m -XX:MaxNewSize=256m -server -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -XdoCloseWithReadPending -Djava.endorsed.dirs=/opt/hpws/tomcat/common/endorsed -classpath :/opt/hpws/tomcat/bin/bootstrap.jar:/opt/hpws/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/hpws/tomcat -Dcatalina.home=/opt/hpws/tomcat -Djava.io.tmpdir=/opt/hpws/tomcat/temp org.apache.catalina.startup.Bootstrap start
Madness, thy name is system administration
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 05:39 AM
тАО02-08-2008 05:39 AM
Re: XPG4 ps -C unreliable?
Hi Ralph:
Do you have patch PHCO_31978 installed? This one is old, but did address issues with '-x' among other problems.
Regards!
...JRF...
Do you have patch PHCO_31978 installed? This one is old, but did address issues with '-x' among other problems.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 05:55 AM
тАО02-08-2008 05:55 AM
Re: XPG4 ps -C unreliable?
Hi James,
yes, this patch seems installed
# swlist PHCO_31978|grep ^[^#]
PHCO_31978.CORE-ENG-A-MAN 1.0 OS-Core.CORE-ENG-A-MAN
PHCO_31978.UX-CORE 1.0 OS-Core.UX-CORE
The patch level on this system isn't that dated (June 2007).
And on the next scheduled maintenance on Sunday 17 Feb I will be installing SupportPlus Dec 2007.
# swlist -l bundle GOLD\*|grep ^[^#]
GOLDAPPS11i B.11.11.0706.467 Applications Patches for HP-UX 11i v1, June 2007
GOLDBASE11i B.11.11.0706.467 Base Patches for HP-UX 11i v1, June 2007
yes, this patch seems installed
# swlist PHCO_31978|grep ^[^#]
PHCO_31978.CORE-ENG-A-MAN 1.0 OS-Core.CORE-ENG-A-MAN
PHCO_31978.UX-CORE 1.0 OS-Core.UX-CORE
The patch level on this system isn't that dated (June 2007).
And on the next scheduled maintenance on Sunday 17 Feb I will be installing SupportPlus Dec 2007.
# swlist -l bundle GOLD\*|grep ^[^#]
GOLDAPPS11i B.11.11.0706.467 Applications Patches for HP-UX 11i v1, June 2007
GOLDBASE11i B.11.11.0706.467 Base Patches for HP-UX 11i v1, June 2007
Madness, thy name is system administration
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