Avatar
🏃
1 results for Merci-Michel
  • Lire le lien : https://raspberrypi.stackexchange.com/questions/84390/how-to-permanently-disable-swap-on-raspbian-stretch-lite (Merci Michel)

    J’ai fait un petit script pour faire un free -h et un uname -r sur tous les serveurs :

    $ ./ssh-distant-2.sh 
    Cnx sur 127.0.0.1 
    4.14.34-6-osmc total used free shared buff/cache available Mem: 746M 138M 231M 20M 376M 539M Swap: 0B 0B 0B
    Cnx sur 192.168.0.70 
    4.14.50+ total used free shared buff/cache available Mem: 433M 28M 51M 5,7M 353M 351M Swap: 99M 0B 99M
    Cnx sur 192.168.0.71 
    4.14.71-v7+ total used free shared buff/cache available Mem: 927M 183M 138M 46M 604M 633M Swap: 99M 768K 99M
    Cnx sur 192.168.0.72 
    4.14.50-v7+ total used free shared buff/cache available Mem: 927M 415M 157M 17M 353M 429M Swap: 99M 0B 99M
    Cnx sur 192.168.0.73 
    4.14.50-v7+ total used free shared buff/cache available Mem: 927M 153M 337M 17M 435M 691M Swap: 99M 0B 99M
    Cnx sur 192.168.0.74 
    4.14.70-v7+ total used free shared buff/cache available Mem: 927M 158M 127M 57M 641M 647M Swap: 99M 768K 99M

    Si je regarde la valuer dans le fichier /etc/dphys-swapfile, via un script : cat /etc/dphys-swapfile | grep CONF_SWAPSIZE

    merci-michel swap Created Wed, 17 Oct 2018 00:00:00 +0000