Alwanza dot net homepage link

Alwanza.net Scripts and Applications -> Script Library

lan_ip_tester.pl
Pings each IP address in a subnet and reports if it responds or not. It writes a report to an output file.
rpm_backup.pl
Consecutively logs in (as a user) to multiple remote servers and backs up the rpm database.  Useful to run before running rpm upates.
bkup_rpm.sh
A script run locally by root (or root cron) to backup the rpm database for precautionary rollback.
bkup_dpkg.sh
A script run locally by root (or root cron) to backup the dpkg database for precautionary rollback.
temperature_alert.sh
A script run locally on cron to detect high temperatures on the server. Sends email notification. Requires that lm_sensors are installed on server.
AllYourBase.sh
I've lost count of the number of times I was told to administer and maintain a server when no documentation was provided to me about what was installed on that server, who the users were, or what the server's purpose was.  I created a script to help me figure those things out.
all_your_base_ubuntu.sh
Same as above, for ubuntu.
test_services.sh
Run this script before and after changes to the system, before and after reboots, and compare the output to determine if everything that was running before has been turned back on after the change.
df_watcher.sh
Run this script through cron to send yourself email or text messages when your server partitions or mounts are too full.
services_sorter.pl
Sort /etc/services by numeric order.  Run script as unprivileged user, then visually evaluate the output and make changes as needed using sudo or root.  Helpful to find out stuff like:  your printer is interfering with your backups.
win_icacls.pl
A script skeleton example of modifying Windows permissions using Perl.
win_mount_dir_copy_file.pl
A script skeleton example of mapping and mounting a drive in Windows and copying a file from the mounted drive using Perl.
function_call_eval.txt
Helpful for debugging long perl or cgi scripts.
add_debug_cgi.txt
Add a debug line for each subroutine in a cgi script.
cli_perl_replace_string.txt
Replace a variable or string globally in all files in directory at once.
openssl_version_checker.pl
A perl script that uses Net::SSH::Expect to login to remote servers and return their openssl version information to a csv file.
cpu_watcher.sh
A single line command displays CPU stats. Add a crontab entry that checks every 20 minutes and rotating logging.
workstation_setup.txt
Setting up a Cygwin environment.
mintty_colors.txt
Different background colors for mintty terminals.
netapp_commands.txt
Little reminders of handy commands.
handy_commands.txt
Little reminders of handy commands.
code_snippets.txt
reuseable pieces of scripting code.