码迷,mamicode.com
首页 > 其他好文 > 详细

process

时间:2014-12-28 14:10:31      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:

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. 

 

process

标签:

原文地址:http://www.cnblogs.com/hanying/p/4189895.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!