- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "ps -efx" answer length
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
тАО12-07-2010 04:23 PM
тАО12-07-2010 04:23 PM
"ps -efx" answer length
OS: HP-UX B.11.31;
PROBLEM: whenever I issue a "ps -efx|grep java" trying to find a process, I get an incomplete answer.
EX (I will short comm name for this example):
entire answer should be...
"bus 7580 1 0 Nov24 java -cp
/home/bus/ISM_PROD/iway55sm/lib/AbsoluteLayout.jar:/home/bus/ISM_PROD/iway55sm/lib/accessMio.jar:/home/bus/ISM_PROD/iway55sm/lib/activation.jar:/home/bus/ISM_PROD/iway55sm/lib/classes12.jar -DIWAY55=/home/bus/ISM_PROD/iway55sm com.ibi.service.edaqmSilentService -config base"
though I only see...
"bus 7580 1 0 Nov24 java -cp
/home/bus/ISM_PROD/iway55sm/lib/AbsoluteLayout.jar:/home/bus/ISM_PROD/iway55sm/lib/accessMio.jar:/home/bus/ISM_PRO"
I tried almost everything like ps command line options like -x or -o, even setting тАЬDEFAULT_CMD_LINE_WIDTH=2010тАЭ and тАЬPS_CMD_BASENAME=255тАЭ on /etc/default/ps, though nothing works.
Would anyone please help me with this?
Thanks a lot for any reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 07:46 PM
тАО12-07-2010 07:46 PM
Re: "ps -efx" answer length
> line options like -x or -o, even setting
> [...]
As usual, I'd rather see what's in the file
than what you say is in the file.
On my system, "man ps" says things like:
[...]
The default length of the COMMAND field is 128 (including the null
terminator). This can be configured by setting
DEFAULT_CMD_LINE_WIDTH=value in the /etc/default/ps file. The value
of DEFAULT_CMD_LINE_WIDTH should be between 64 and 1020. However,
when the comm column is displayed, by default, the length of the
COMMAND field will be 14 characters. If the environment variable
PS_CMD_BASENAME is defined, then the length of the COMMAND field will
be between 64 and 255 characters.
[...]
> [...] "DEFAULT_CMD_LINE_WIDTH=2010" [...]
"2010" does not seem to me to be "between 64
and 1020."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2010 07:37 AM
тАО12-08-2010 07:37 AM
Re: "ps -efx" answer length
Actually "2010" was a typo, I actually meant "1020":
"DEFAULT_CMD_LINE_WIDTH=1020".
Would you have any suggestion?
Thanks and regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 01:03 AM
тАО12-09-2010 01:03 AM
Re: "ps -efx" answer length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 05:40 AM
тАО12-09-2010 05:40 AM
Re: "ps -efx" answer length
perhaps your terminal-emulator has auto wrap off?
Regards,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 06:12 AM
тАО12-09-2010 06:12 AM