Browsing Tag
Linux
26 posts
Monitor running processes with Perl
Update: This article is updated thanks to Colin Keith his excellent comment. I was extremely inspired by it…
A simple TCP server written in Perl
The below example is a very simple TCP server script written in Perl, which uses the AnyEvent module.It…
Secure Password Generator in Perl
A secure and very random password generator module written in Perl.It can be used to generate passwords or…
PostgreSQL 9.2 Master – Slave Monitoring
Nagios plugin script written in Bash to check the master-slave replication in PostgreSQL (tested on PostgreSQL 9.2.4) (executed…
Recursive Inotify Daemon
There aren’t many Inotify daemons available that can work recursive and offer a descent flexibility regarding Inotify signals.…
Backup to free Hetzner FTP
If you have a hosting account at Hetzner with free backup space, you can not access this backup…
Check if a NFS share is mounted
Below is a small Perl example how to check for NFS mounted shares on a Linux host. The…
Changing file permissions in Perl
There are definetly a few modules on CPAN which will allow to easily change file permissions in Perl,…
Secure MySQL Backups with GnuPG
One way to secure your MySQL backups, is to encrypt the backup file using PGP/GnuPG. Of course you…
Resize a LVM partition in a Debian VMWare VM
It can happen that a VMWare virtual machine (VM) runs out of space after a certain amount of…