Installing NetData on RHEL/CentOS
NetData is a real-time system monitor great for visualizing performance data. Instances of netdata run independently on monitored systems. The results can be accessed remotely and...
Loan Payment Calculator in Bash
Just a little bit of fun with Bash: a loan payment calculator. Nothing fancy here. Maybe I'll add the amortization schedule to it later...
#!/bin/bash
principal=$(echo...
BIND DNS Query Frequency Analysis
The little script (dns_qpm2) below will look through your BIND query logs and calculate average query-per-minute rate for the given clients.e Nothing fancy, but...
Using YUM to Sync Packages with Master Server
I just built a new CentOS box and needed to make sure it had all the same packages installed as one of my other...
Nohup Without Nohup.out
This is a common question: how can I run nohup without creating the annoying nohup.out ? And the common answer is: you can't. But this is...
Socket Statistics ss Command
This is a small collection of useful ss (written by Alexey Kuznetsov of the Russian Nuclear Research Institute) syntax examples that go beyond the basics covered by other...
Osync and DiffTree
Think of osync as a kind of rsync that is more suited for making backups. While rsync certainly has more options, osync takes a lot of the complexity...
Filesystem Synchronization with Freehold
Whenever an application description begins with phrases like "runs on anything" and "is easy to setup", attribute such bravado to the author's lack of experience outside...
Improving Your Scripts with ShellCheck
Unlike most other popular scripting languages, Bash has few style-checking utilities. The best one, I think, is ShellCheck - a very cool and useful utility...