: Linux .
: , .
: .
Linux . , . , 䳺. , , ps. -, , .
:
a - ;
u - ;
x - .
: ps aux - ;
ps axjf - .
ps ( ) .
top.
PID. . , , PPID (parent process ID). , init.
. , . , , , . . ,
. , , .
, kill. :
kill [-<>] <PID>
<> (, TERM, 9), <PID> , .
ij | ||
-HUP | ||
-TERM | ̒ | |
-KILL | 䳿 |
<>, TERM (15). , KILL (9), ( ). - , ( , Linux . ( ) :
|
|
kill -9 <PID>, <PID> ps.
, , , , (, Ctrl+Alt+F#, F# ).
, , . (, ls l | less), ( ls less) . . . , . (foreground) .
, (background) . , , & ( ). /dev/null.
, , ( , ping). , .
, , . ( CTRL-Z). ( fg < >) ( bg < >).
. jobs.
lsof (lsof -u).
free.
df -h.
du (du -s).
1. ().
2. , . "" ( ). . PID PPID - , init. .
3. .
4. .
5. . : , , , -, , .
6. , , ' .
7. kill, . . .
|
|
8. . .
9. . .
10. . .
11. . .
12. .
13. : ls -1|more i ls -1|less.
14. .
15. 1 .
16. 2 .
17. kill, bash.
.
.
PID PPID?
.
.
.
Linux: ps, kill, fg, bg, jobs, lsof, free, df, du.
" &".