process

backgrounds:shell

PPID : parent PIDbash

echo $$  (show current shell PID)this

init process PID=1, it is started by kernelterminal

command: psit

1. ps  (show process relevant to current shell)command

example: im

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

PID: process idprocess

TTY: id of the terminal which start this processant

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

 

2. 

相關文章
相關標籤/搜索