Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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
  • 875 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