lister nouveaux process
This commit is contained in:
parent
9608568676
commit
d1572fe7b7
10
TipsShell.md
10
TipsShell.md
|
@ -225,3 +225,13 @@ $ lsof -Pan -p PID -i
|
||||||
~~~{.bash}
|
~~~{.bash}
|
||||||
$ lsof -i :Port
|
$ lsof -i :Port
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
### Surveiller les nouveaux processus créés
|
||||||
|
|
||||||
|
- Lister simplement :
|
||||||
|
|
||||||
|
~~~{.bash}
|
||||||
|
$ ps -e -o etimes=,pid,cmd | sort -rn | awk '{if ($1!=0 && $3!~/\[.*\]/) print $0 }'
|
||||||
|
~~~
|
||||||
|
|
||||||
|
- Watch :
|
||||||
|
|
Loading…
Reference in a new issue