HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr/ucb/ps on hpux 11.23
Operating System - HP-UX
1836428
Members
3507
Online
110100
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
Forums
Discussions
Discussions
Discussions
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
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
09-28-2007 09:45 AM
09-28-2007 09:45 AM
/usr/ucb/ps on hpux 11.23
Hi.
Is there such thing? Alternatives?
standard ps -efx still not enough to see all arguments submitted for java process.
UNIX95= ps -ef -o 'args' showing similar output to ps -efx (just arguments part).
Please help. Need to see all arguments submitted for java process.
Is there such thing? Alternatives?
standard ps -efx still not enough to see all arguments submitted for java process.
UNIX95= ps -ef -o 'args' showing similar output to ps -efx (just arguments part).
Please help. Need to see all arguments submitted for java process.
Professionals will prevail ...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 10:05 AM
09-28-2007 10:05 AM
Re: /usr/ucb/ps on hpux 11.23
Hi:
You can configure DEFAULT_CMD_LINE_WIDTH=n in the '/etc/default/ps' file. A value of 'n' between 64 and 1024 is allowed. In the absence of any setting (or file) the default size is 128. Create the file if/as necessary.
Regards!
...JRF...
You can configure DEFAULT_CMD_LINE_WIDTH=n in the '/etc/default/ps' file. A value of 'n' between 64 and 1024 is allowed. In the absence of any setting (or file) the default size is 128. Create the file if/as necessary.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 03:07 AM
10-12-2007 03:07 AM
Re: /usr/ucb/ps on hpux 11.23
Thank you for reply.
This is good, the output now is the same as if I would use ps -efx option.
I still need more. Is there a way to set this number realy high? Also, changing defaults for any ps output might not be a good idea.
Is there another way to display full line for weblogic arguments?
This is good, the output now is the same as if I would use ps -efx option.
I still need more. Is there a way to set this number realy high? Also, changing defaults for any ps output might not be a good idea.
Is there another way to display full line for weblogic arguments?
Professionals will prevail ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 05:53 AM
10-12-2007 05:53 AM
Re: /usr/ucb/ps on hpux 11.23
As far as I know, the 1024 limit is the length of the command line in the process table. Your process is able to see up to 2 MB (ie, getconf ARG_MAX) but the space in the process table is limited and if 2 MB were reserved for every process (just in case), the process table would consume 2000 times more space in the kernel. Just like Java, massively long command lines are very difficult to manage and the only solution is to trim the huge paths with symlinks, The other technique is to move the arguments of interest to the front of the command line.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP