zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Watchdog for ARM systems

April 26, 2020 by Igor Drobot Leave a Comment

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.

[Read more…]

Filed Under: Bash, Linux, Monitoring, Programming Tagged With: bash, Linux, Monitoring, Python, watchdog

Switch from bash to zsh

August 8, 2019 by Igor Drobot Leave a Comment

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…

[Read more…]

Filed Under: Linux Tagged With: bash, MAC OS X, oh my zsh

Change Munin Hostname

December 26, 2013 by Igor Drobot Leave a Comment

Munin

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…]

Filed Under: Bash, Linux, Monitoring Tagged With: bash, mass rename, Munin

Fix locale issues in Mac OS X

August 16, 2012 by Igor Drobot Leave a Comment

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

ids:~ id$ cat .bash_profile export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8

Filed Under: Apple, Bash, Mac OS X Tagged With: Apple, bash, locale, MAC OS X

Terminator

July 1, 2012 by Igor Drobot Leave a Comment

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…]

Filed Under: Bash, Linux Tagged With: bash, Konsole, Terminal, terminator

  • 1
  • 2
  • 3
  • Next Page »