Verified Commit 78509217 authored by Alban Vidal's avatar Alban Vidal
Browse files

Ajout Doc RAM & Swap

parent b6d8f293
Pipeline #446110 passed with stage
in 19 seconds
% RAM et SWAP
## Vider le cache de la RAM
```
sync && echo 3 > /proc/sys/vm/drop_caches
```
## Trier les process par l'utilisation du SWAP
Colones : NOM, PID, Taille de swap utilité (en kB)
```
for file in /proc/*/status ; do awk '/Tgid|VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | grep kB | sort -k 3 -n
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment