Skip to content
Snippets Groups Projects
Commit 384701b8 authored by ines mkacher's avatar ines mkacher
Browse files

Update linux.md

parent 0c5e90ec
No related branches found
No related tags found
2 merge requests!14Mise à jour arborescence,!131.0
## Gestion de fichiers
lsof -p PID (listopenfiles)
netstat
screen
root@MaarchIntegration1904:~# ls -al /proc/31742/fd
total 0
dr-x------ 2 root root 0 mai 3 10:39 .
dr-xr-xr-x 9 root root 0 mai 3 10:17 ..
lr-x------ 1 root root 64 mai 3 10:39 0 -> /dev/null
l-wx------ 1 root root 64 mai 3 10:39 1 -> /dev/null
l-wx------ 1 root root 64 mai 3 10:39 2 -> /var/log/apache2/error.log
lrwx------ 1 root root 64 mai 3 10:39 3 -> socket:[52891]
lrwx------ 1 root root 64 mai 3 10:39 4 -> socket:[52892]
lr-x------ 1 root root 64 mai 3 10:39 5 -> pipe:[52023]
l-wx------ 1 root root 64 mai 3 10:39 6 -> pipe:[52023]
l-wx------ 1 root root 64 mai 3 10:39 7 -> /var/log/apache2/other_vhosts_access.log
ctr-c : arret du processus
ctr-d : fin de saisie (fermeture entrée standard)
ctr-z : detacher un process (bg|fg : backgroud|forground)
ctr-s : stop du pocesus (pause)
ctr-q : restart le process (arret de la pause)
lancer des process
nohup/detach
ctr+Z (avec le numero de job) bg detach
kill : laisse le temps au processus de ce terminer
kill -9 : tue le processus immediatement
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment