- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ps command
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
08-27-2001 07:44 AM
08-27-2001 07:44 AM
ps command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 07:46 AM
08-27-2001 07:46 AM
Re: ps command
And what you are trying to get?
If it is a job try the command
jobs
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 07:51 AM
08-27-2001 07:51 AM
Re: ps command
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:02 AM
08-27-2001 08:02 AM
Re: ps command
Only a subset of the command line is saved by the kernel and is thus displayed to the 'ps' command. This is noted in the man pages for 'ps'.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:20 AM
08-27-2001 08:20 AM
Re: ps command
I think you want to look at all the related commands ,
try this
ps -ef | grep ....
get the pid
then again
do ps -ef | grep on the pid
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 10:12 AM
08-27-2001 10:12 AM
Re: ps command
ps -ef |grep "string" > /tmp/file
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 12:03 PM
08-27-2001 12:03 PM
Re: ps command
It seems your communication software setting might need some modification. What are you using to connect to your unix box. Set your Terminal Connection Software setting. Under Terminal Settings --> General ---> set Auto wrap to on.
Hope this helps
Thanks
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 12:37 PM
08-27-2001 12:37 PM
Re: ps command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 05:57 AM
08-28-2001 05:57 AM
Re: ps command
Looking in the man pages for 'ps' I found the parameter I needed. The option "-x" shows the command line in extended format.
Before:
ps -ef | grep cpp
root 2615 2614 0 22:38:32 ? 0:00 sh -c /usr/ccs/lbin/cpp -DHOST=c200 -DSERVERHOST=c200 -DSRVR_c2
Now:
ps -xef | grep cpp
root 2615 2614 0 22:38:32 ? 0:00 sh -c /usr/ccs/lbin/cpp -DHOST=c200 -DSERVERHOST=c200 -DSRVR_c200 -DDISPLAY_NUM=0 -DCLIENTHOST=c200 -DCLNT_c200 -DVERSI
ON=11 -DREVISION=0 -DVENDOR="Hewlett-Packard Company" -DVNDR_Hewlett_Packard_Company -DRELEASE=600000 -DNUM_SCREENS=1 -DEXT_SYNC -DEXT_SLSd -DEXT_RECORD -DEXT_HP_COLOR
_RECOVERY -DEXT_Get_RGB_Image -DEXT_DPMS -DEXT_XIE -DEXT_DOUBLE_BUFFER -DEXT_Multi_Buffering -DEXT_SECURITY -DEXT_XC_APPGROUP -DEXT_LBX -DEXT_XC_MISC -DEXT_MIT_SUNDRY_
NONSTANDARD -DEXT_BIG_REQUESTS -DEXT_XTEST -DEXT_XInputExtension -DEXT_MIT_SHM -DEXT_SHAPE -DEXT_XTestExtension1 -DEXT_ShareExtension -DEXT_HPExtension -DSCREEN_NUM=0
-DWIDTH=1280 -DHEIGHT=1024 -DX_RESOLUTION=3743 -DY_RESOLUTION=3751 -DPLANES=8 -DBITS_PER_RGB=8 -DCLASS=PseudoColor -DCLASS_PseudoColor=32 -DCOLOR -DCLASS_PseudoColor_8
=32 -DCLASS_TrueColor_8=33
I think this is a new feature of the 'ps' on HP-UX11i.
Thank you everybody for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 07:37 AM
08-28-2001 07:37 AM
Re: ps command
Hope i got your name right. Just tried the x options with ps. It did not work on my system. I have ux 11.0 on this. Guess you are right, it is new with ux 11i
Thanks for the info
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 09:35 AM
08-28-2001 09:35 AM
Re: ps command
/usr/ucb/bin/ps -aux -ww | grep
will give you exactly what you are looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 09:56 AM
08-28-2001 09:56 AM
Re: ps command
You can execute this command:
UNIX95= ps -u $user -o comm,args
Another option is use lsof utility.
(you obtain this utiluity http://hpux.cs.utah.edu/hppd/hpux/alpha.html)
MDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 01:06 AM
08-29-2001 01:06 AM
Re: ps command
Normaly ps -ef reports the entire commands running in the system with their arguments.
Try redirecting the output od this command into a file and edit it to see what is missing.
Perhaps your screen is miss configured to print on next line the exceeded 80 characters.
Magdi