Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Any Unix guys out there?


  • Please log in to reply

#1
dfb500

dfb500

    Member

  • Member
  • PipPip
  • 75 posts
I am entering the ps "pid" command on a unix command prompt and it is returning the entire directory path as well as the process name. This is causing the process name to be truncated. Is there a way to suppress the directory path that the ps command returns?

I am running AIX

Example:

ps 53168

Returns:

53168 - A 4:00 /qdx/qdx5.3/integrator/bin/hciengine -S mfprod -p sche

Sche is truncated

Thx

David
  • 0

Advertisements


#2
bdlt

bdlt

    Member

  • Member
  • PipPipPip
  • 876 posts
You can always pipe it to a file, then cat the file.
  • 0

#3
sysera

sysera

    New Member

  • Member
  • Pip
  • 7 posts
I believe the -ww option will give you a wider listing, even on AIX.

ps *id* -ww | more

Lemme know if that helps out :tazz:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP