Watchdog is responsible for monitoring tiny systems like raspberry PI, BeagleBone or any other system.
The main functionality of the watchdog is to check, if the system is still responding, lets say, to keep-alive messages.
Let’s assume, the system is stuck in a kernel panic, this will be automatically restarted by watchdog after reaching a grace time period. So a manual rebooting by unplugging the DC adapter is not required at all.
Switch from bash to zsh
Over last six years I used bash-it framework on my MAC OS X system on my work and was really happy with the flexibility.
Only the performance was getting over the time very bad.
Sometimes I had to wait ~3 seconds for a new session or terminal window.
I have also to say, my bash-environment was overloaded with different sources, checks and autocompletions, which are triggered by .bash_profile…
Change Munin Hostname
If you need to change the hostname of an existing munin node with a lot of data, and you want to retain all this existing historical data, follow this procedure:
[Read more…]
Fix locale issues in Mac OS X
I faced a problem with locales in terminal on Mac OS X Lion. Midnight Commander didn’t want to display Cyrillic symbols in filenames and directories, on my remote media-Server I’ve been getting messages like “warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)”. The solution is fairly simple – add these two lines to ~/.bash_profile (by default is seems to be missing, so create the file):
1 2 3 4 | ids:~ id$ cat .bash_profile export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8 |
Terminator
Everyone of you know the default GNOME Terminal or the KDE-Konsole, this terminals are usable only after some tweaks like color scheme or the hotkey binding.
I work usually with a lot different [Read more…]