process

backgrounds:

PPID : parent PID

echo $$  (show current shell PID)

init process PID=1, it is started by kernel

command: ps

1. ps  (show process relevant to current shell)

example: 

hanying@feelcool-PC:~$ ps
PID TTY TIME CMD
4618 pts/1 00:00:00 bash
5411 pts/1 00:00:00 ps

PID: process id

TTY: id of the terminal which start this process

TIME: the time this process use CPU time (accumulate)

 

2. 

 

posted @ 2014-12-28 13:46  一如当初  阅读(202)  评论(0编辑  收藏  举报