Skip to content

{ Monthly Archives } January 2014

Stress your webserver

If you wonder how many requests you need to collapse your webserver – siege is a wonderful tool finding that out. Install: # yaourt -Sy siege Running siege from the console outputs:

Installing nagios on archlinux

Nagios is one of the most used softwares for monitoring servers. Hint: Icinga itself is a fork of nagios. Many of the used steps to install nagios are also needed for a icinga installation, but I focus on installing nagios. What have to be done before: 1. Installation of yaourt 2. Installation of apache2 (httpd) […]

Quicktip: How to install yaourt on archlinux

1. become root 2. edit file 3. run pacman 4. install yaourt 5. done # sudo -s # cp /etc/pacman.conf /etc/pacman.conf.bak # echo "[archlinuxfr] >> /etc/pacman.conf # echo "Server = http://repo.archlinux.fr/x86_64" >> /etc/pacman.conf # pacman -Syy # pacman -Sy yaourt # exit # yaourt -Version yaourt 1.3 homepage: http://archlinux.fr/yaourt-en #

Snippet: Visualize your vnstat output with a PHP frontend

You want some fance graphics instead of boring numbers for your vnstat-statistics? No problem. Bjorge Dijkstra developed some time ago a small php script. You need a running apache (httpd) or another webserver with php-abilities. Get the tar-archive from Bjorges website, extract it and see what happened. # su – # cd /sev/http # wget […]

How to monitor your bandwith on a single client with vnstat

Sometimes you wonder how much traffic you just used to stream a music video or just checking out some repositories. In some cases it is good to know how much you just used (i.e. some contracts with limited bandwidth promisises – like mobilephones). vnstat is a little piece of software which periodically captures your foodprints […]

Howto check old (floppy) disks for physical damages (bad sectors)

Using badblocks Run “badblocks” as root # badblocks gives you the following output: Aufruf: badblocks [-b Blockgröße] [-i Eingabedatei] [-o Ausgabedatei] [-svwnf] [-c Blöcke_auf_einmal] [-d Verzögerungsfaktor_zwischen_Lesedurchgängen] [-e maximale_Bad_Blocks] [-p Anzahl_Durchgänge] [-t Testmuster [-t Testmuster […]]] Gerät [letzter_Block [Startblock]] To scan an old disk for errors/badblocks type: # badblocks -v /path/to/drive “-v” for verbose output. Entering […]

chrome/chromium won’t load some domains

Sometimes chrome/chromium refuses to load some pages (in my case ironically google.de (not .com) and youtube.com). You’ll get a timeout. What is the problem? Since the affected domains do load in different browsers, I held some kind of DNS-cache responsible. A little research confirmed my suspicion. Typing  into the chromium adress bar chrome://net-internals/#dns and hitting […]