The "sixth" field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (), will be changed into newline charac- ters, and all data after the first % will be sent to the command as standard input.
echo 'man $(ls /usr/bin | shuf -n 1)| sed -n "/^NAME/ { n;p;q }"' >> ~/.bashrc # Learn a command on each new shell open.
via @climagic
Pas mal de drop udp du à des pics de metric applicatives.. On veut savoir quelles sont ces metrics sans se taper tous les graphs :
On laisse tourner et on attend un pic. Ensuite : sort -r -n -k 2 debug pour voir les metrics en cause
framework de game dev par amazon
Ptetre qu'un jour je passerai à zsh (ohmyzsh)
En attendant je bricole
Plein de facteurs psychologiques peuvent nous pousser à plus ou moins manger
cd /opt/graphite/storage/whisper
find . -name "*.wsp" | xargs -I {} sh -c "echo -n '{} ' ; whisper-info.py {}|grep aggre|cut -d' ' -f2" > aggreg.dump
82024 average
2784 max
1378 min
8732 sum
59682 average
Donc oui, tous les whispers collectd sont en average.