Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying more than 132 columns with ps 1

Status
Not open for further replies.

jmiturbe

Technical User
Feb 4, 2003
99
ES
Hello,

I need to view more than 132 columns at the output of ps -efa command to identify different java threads. How can be done?

Thanks in advance,

jmiturbe
 
Try using /usr/ucb/ps instead. The options are somewhat different but it gives a much longer part (all?) of the process args. Start with "/usr/ucb/ps -aux" to see just about everything.
 
Hello,

First of all, thanks for the fast answer!

I have to check it, but I think that I got the 132 columns from the /usr/ucb/ps command, and it wasn't enough because threads' strings were longer.

Any other ideas?

Bye,

jmiturbe
 
I was able so see an arglist a little over 200 characters using it.

I did notice that /usr/ucb/ps seems to limit the string based on the size of the terminal window. Try making your terminal wider before doing the ps.
 
Hello,

Thanks ProudToBeLeeds! It worked!

jmiturbe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top