Skip to content

Monthly Archives: November 2007

Script to document a Red Hat Enterprise Linux 3 system

This script should output html documenting the important parts of a system:
sysinfo
If anyone sees something I’ve left out, and I’m sure there’s a lot, please leave a comment.

Firefox locks up for a minute or two when downloading – fix

I have been having an issue with Firefox locking up when I download something. It seems to consume 100% of the CPU for a minute or two before starting the download.
Thanks to a posting by “Bountyhunter” at http://forums.macosxhints.com/archive/index.php/t-63868.html it’s now fixed. To quote the post:
I came across this post while I was trying to fix [...]

Backing Up a Linux server in the DMZ to a Windows Share

This script connects to a remote Linux server and backs it up to a file share on a Windows server. Note, that because the version of smbfs used does not support files larger than 2GB the backup is split into multiple files. Later versions of smbfs don’t have this limitation.

?View Code BASH #!/bin/sh
RemHost=lnx-server
TarFile="/windows-server/lnx-server-backup/lnx-server.tar.gz."
[...]

Script to send alerts if disk usage too high

The following script will monitor file system usage and, if it goes above certain thresholds, send an email alert. Note that it will only send an alert once per threshold unless usage drops back below the threshold. This means that you won’t get bombarded with emails.
The script sends an email to the alias diskusage. [...]

Recovering a Linux System using CommVault

Scope
Linux is not Windows. You should not need to reinstall the operating system to restore it. This document describes a way to boot a Linux system from the Red Hat install CD so it can then be restored from a CommVault backup. It does not document how to do the actual restore within CommVault. [...]