Vesta

De Wiki_DR13
Aller à : navigation, rechercher

rhhhaaaaa !!!!

rhaaaaa  !!!!!


qq trucs chopés sur le serveur :


10.13.102.11


  • montages :
    griffon:/nfs4exports/vesta on /home/sauvegardes type nfs (rw,soft,timeo=5,intr,rsize=8192,wsize=8192,addr=193.49.133.164)
    newmars:/Shares/Logs on /var/log/HOSTS type nfs (rw,vers=3,soft,timeo=5,intr,rsize=8192,wsize=8192,addr=193.49.133.224)
  • utilisation de syslog-ng (/etc/init.d/syslog-ng restart)


.

find . -type f -mtime +365 | xargs rm -rfv

find . -mtime +365 -exec rm -r {} \;


du --max-depth=1



the dmesg format is in seconds from start of the system. You can covert it to your current "uptime" string using the following code:


Code:

date -u -d @{DMESG TIME}

For example:

Code:

$ date -u -d @1485979.091702
Sun Jan 18 04:46:19 UTC 1970