nixdrop

Une compile de mes outiles préféré sur GNU/Linux

Read this first

iostat

Lorsque vous constatez une diminution des performances sur un serveur, vérifiez en premier lieu l’utilisation des ressources, Des commandes comme ps ou htop sont assez pratiques, mais vous pouvez aussi ajouter à votre boîte à outils une commande qui vérifie le taux de I/O dans votre système.

Installation:
Sur Ubuntu, iostat peut être installé en installant le paquet sysstat.
apt install sysstat

Le paquet sysstat contient aussi d'autres commandes utiles: mpstat, pidstat and sar.

Utilisation:
Exécuter iostat sans arguments, aboutira à quelque chose de similaire à ceci:

Linux 4.4.0-143-generic (sputnik)   24/03/19    _x86_64_    (1 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           1.57    0.00    1.12    0.13    0.00   97.19

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
loop0             0.01         0.01         0.00          8
...

Continue reading →


Mes trois moniteurs réseau en ligne de commande préféré

Disposer d'un outil de surveillance de réseau est essentielle pour obtenir une vue claire sur ce qui se consomme de la bande passante.

nload

nload.png

nload permet d'avoir une idée sur le taux d’utilisation d'une interface réseau sur le système.
il permet aussi d'affiché un graphe en ascii, pour changer l'interface qui sera surveillé il suffit de basculer avec les flèches droit/gauche.

nethogs

nethogs.png

nethogs en contre partie permet de surveiller le taux d’utilisation de la bande passent au niveau individuelle des processus, ce qui peux être très pratique dans le cas par exemple un service qui consomme tout la bond passent ce qui impacte les autres services.

iftop

iftop.png

iftop est plus user friendly car il permet d'avoir un classement des connections par consommation de bande passante et d’effectuer une résolution inverse ce qui peux être plus lisible par fois.

Continue reading →


Linux dash

linux-dash.PNG

Linux-dash est une interface web pour la surveillance des serveurs Gnu/Linux écrite en PHP avec un design élégant et des fonctionnalités pratiques.

Elle permet le monitoring des ressources du serveur (RAM, charge, état des disques, etc) en temps réel ou sur demande, une fonctionnalité vital pour que l'application de monitoring est qui a pour but d'avoir une idée sur l'état du serveur et d’ anticiper les futurs goulot d'étranglement.

Linux dash support plusieurs distribution mais pour le moment elle est que en version bêta donc pas asse mature pour être utilisé dans un environnement de production.

View →


Equalizer for spotify in linux

00115.png
I really miss my old days with winamp when i was able to tweak the equalizer to match them with my headphones.
i love everything about spotify but the most thing that make my experience less enjoyable is the fact that all of the albums i listen to sounds flat , i don’t have a high end headphone but i can notice the difference when i play my local songs in audacious and changing the equalizer settings.
So i have searched for a solution to change the output sound setting i found PulseAudio equalizer the installation process is fairly simple
the interface show you only what you need nothing more or less
the one things i noticed while playing with it is when i i’m playing a track on spotify there is some lag between the time a change the setting and time they take effect.
i didn’t dig to much deep in the conf files to see where i can set the buffer size.
anyway it a cool hack to enhance the...

Continue reading →


adblock in mind

Why web desingers and developers should take in consdiration adblock?
There are many way to detect and force the users to disable adblock in order to so they can access to the content but is it really the right way to go ?

I found on adblockplus.org a feature in adblock that has been around for a while now that allow certain ads to be visible by default.

Most of web users nowadays are having adblock enabled to block those annoying ads, but what about legitimate use of ads there are many blogs and websites that rely on ads to pay the bills? So by killing their only source of revenue they may cease to exist.

I usually white list all the blogs that i read frequently or any website that it ask you nicely to disable adblock on their domain, but this task over time become a time consuming task and as we all are lazy web users some of us won’t do this just because it’s an extra few clicks.

...

Continue reading →