Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I am a linux new user. I have some questions about ps -A in ubuntu v11.10. Command ps -A have four parameters are PID, TTY, TIME and CMD. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    3

    Questions about the parameters ps-A


    Hi,

    I am a linux new user. I have some questions about ps -A in ubuntu v11.10. Command ps -A have four parameters are PID, TTY, TIME and CMD.

    I have found out PID and CMD but I have not found TTY and TIME, it located in the path??? I need read file contains TTY and TIME.

    Thank you so much!!!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,752
    Read the man page on the command line: man ps
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jul 2012
    Posts
    3
    Oh sorry, I only want find out the path of parameters of ps -A(TTY, TIME). Ex: /proc/7645/...... I don't know their path which I can have to read their file by C language to get information.
    Thank you.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2012
    Posts
    3
    It's located in folder proc of filesystem of ubuntu 11.10 but I can not found file include parameters TTY and TIME.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •