Cursul #03
Procese
1
2
Evenimentele următoare
Recapitulare
When looking for an old file...
3
Multitasking:
A polite way of telling someone �you haven't heard a word they said
4
Suport de curs
5
Ce este un proces ?
6
Ce este un proces ?
7
De ce ?
8
Procese în execuție
9
Lansarea unui proces
10
La ce bun ?
11
Ce poate face un proces ?
12
Ce poate face un proces ?
13
Cum creează un utilizator procese ?
14
Tipuri de procese
15
Interacțiune terminal
16
Aplicații vs. procese
17
Resursele proceselor
18
Folosirea resurselor
19
Resursele proceselor
20
Resursele proceselor
21
Monitorizarea proceselor
22
23
Procese peste CPU
24
Instrucțiuni și atribute
25
Stările proceselor
26
Utilitare procese
27
Utilitarul ps
28
Parametrii comenzii ps
29
Ierarhizarea proceselor
30
Ierarhia de procese
31
Procesul init
32
fg & bg
33
fg & bg
34
Procese și fișiere
35
Descriptori de fișiere
36
Terminarea proceselor
37
Ce înseamnă terminare
38
Exemple
39
stud@uso:~$ kill -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL
5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE
9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2
13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD
18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN
22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO
30) SIGPWR 31) SIGSYS
Înlănțuirea proceselor
40
Interacțiuni
41
Daemoni
42
De ce „daemoni”?
According to Fernando J. Corbato who worked on Project MAC in 1963 his team is the first to use the term daemon. The use of the term daemon was inspired by Maxwell's daemon, in physics and thermodynamics as an imaginary agent which helped to sort molecules.
„We fancifully began to use the word daemon to describe background processes which worked tirelessly to perform system chores.”
https://stackoverflow.com/questions/33690277/why-are-daemons-called-daemons
43
Daemonii ca metaforă
44
Exemple
45
stud@uso:~# kill -SIGINT 400
Operating Systems Concepts
46
Donald Knuth
47
48
DTrace
49
Cuvinte cheie
50