LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Questions about the parameters ps-A (https://www.linuxquestions.org/questions/linux-newbie-8/questions-about-the-parameters-ps-a-4175416800/)

newbie_member 07-15-2012 04:07 AM

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!!!

jv2112 07-15-2012 05:05 AM

Quote:


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.


:study:

TTY = Terminal attached to

Time = Duration Running. 00:00:00 denotes sleeping waiting on need : Disk write et cettera.

newbie_member 07-15-2012 07:22 AM

Oh sorry, I don't need their mean, I only need their path that I can read file from C/C++ language, I need the path of parameters TTY and TIME in command ps -A of any process . It's located in folder proc but I can not found them.

Thank you!


All times are GMT -5. The time now is 01:14 AM.