Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

ps in linux rh es3

Go to solution
Occasional Advisor

ps in linux rh es3

I'm using ps -ef in redhat ES3 and want to see the command i started.

the output of the command line is chunkd and I cannot see the all command.(It's work fine in ES4)

I can see the full cmd line in /proc/pid/cmdline but i still want to see it also with ps.
(maybe there is a flag like ps -efx in hpux)?

Steven E. Protter
Exalted Contributor

Re: ps in linux rh es3


The command line parameters are different than HP-UX, but there are equivalencies to most HP-UX ps functionality.

Its' buried deep in the man page, ut its there.

I'll look but you might want to read the man page, you'll probably find it faster than me.

Steven E Protter
Owner of ISN Corporation
Occasional Advisor

Re: ps in linux rh es3

thanx but i read the man pages and didnt found the way to do it

i thought that maybe someone had the same problem and know how to solve it

Ajitabh Pandey
Occasional Contributor

Re: ps in linux rh es3

The output of ps command depends on lots of environment variables among those is COLUMNS, check the man page for more variables. You can specify the value of columns to a large value and then do the following:

$ (export COLUMNS=1220;ps -axu)

Work identical in Debian Sarge and RHEL AS3

Ivan Ferreira
Honored Contributor

Re: ps in linux rh es3

The ps auxw command should work.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Honored Contributor

Re: ps in linux rh es3

The thing to do is add w as parameter to command

ex: ps efww
ps -auxwww

one or many ww .. does it help ?

Jean-Pierre Huc
Smile I will feel the difference
Occasional Advisor

Re: ps in linux rh es3


the auxww and the export COLUMNS did the work
auxw didnt work
Occasional Advisor

Re: ps in linux rh es3

I'm closing the thread