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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PS 1

Status
Not open for further replies.

sco21

Technical User
May 20, 2002
67
GR
Hi there!

I have a problem with PS command.
When a running process has a long path I only see half of it on the screen of my Linux box. It doesn't wrap.

Is there a solution for that?


Thanks!

 
If you run 'ps ax' you will only see the first bit as you have pointed out. I've had this problem as well. There probably is another way around it but I've used this kludge to do it. Use grep.

For example you want to see a particular 'java' process then you would enter 'ps ax | grep java'

The output is not truncated but wrapped instead. As I say - it's a kludge.
 
Thanks Guys!!! You are Life savers!!!!!



Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top