Processes in UNIX
Document Sample


2
3
Think linear
what operations do I want to perform
what input/output do the tools use/provide
4
shell
Userspace
root access
Kernel
system
Hardware
calls
6
what happens to the program?
7
8
9
10
11
12
13
init
14
cat test.txt | grep “hello”
cat
cat grep
15
16
17
Signal Name Number Meaning
18
19
ps <flags> <list>
top
u
kill <signal> <pid>
kill -9 emacs
21
top
22
Stop! I didn’t want to do that!!
23
ptree <user>
24
jobs, fg, bg, stop, notify
Jobs
‘&’ emacs &
25
fg bg
26
So what if you have a massive job on a
multiuser machine and dont want to clog it up
for others?
nice
nice <increment> <process>
27
....daemons
28
cron
crontab.cron
29
cron.allow cron.deny
/var/spool/cron etc/crond.d
crontab crontab.cron
30
What does the cron entry look like?
31
at
at <time> <process>
batch
32
33
Related docs
Get documents about "