If you’re running a munin node and server and also poses a WRT54GL router running DD-WRT, you can easily create graphs for some of the router’s stats in munin via SNMP.
At time x86 and x64 versions of the same package may conflict with each other or with updates of packages that use them.
Yum is a great package manager but yum doesn’t allow removing packages without also removing dependencies on that package. This is where the the old and mighty rpm comes in.
A long time ago I found a nice little application handy at displaying Windows’ uptime. It’s been running fine since Windows XP all the way to the (disastrous) 8.
Simply download and extract the uptime.exe executable to your Windows, System32 or SysWOW64 folder…
So you’ve installed Windows Xp on a (probably very) old computer and forgot to check the BIOS to make sure APCI is enabled…
Now to switch Windows Xp from the “Standard PC” HAL to the A(dvanced) C(onfiguration and) P(ower) I(nterface) one you’ve got two choices…
If you’re getting the following error after activating the GeoIP module in AWStats Error: Plugin load for plugin ‘geoipfree’ failed with return code: Error: Can’t locate Geo/IPfree.pm in @INC you’re missing the Perl module required for this.
To install it, SSH to your system and…
If you ever need to search for a particular string in a large amount of files (like checking which domain zones are configured to use a particular nameserver), the following command will come in quite handy:
grep –directories=skip -i -l “searched-string” *.extension
A while back I needed a warning system for when my backups disk runs out of free space.
Gathering information from various other existing scripts, I wrote a small Perl script that check the available space and send warning emails if it drops below a defined level.
If you’re using Avira’s Free antivirus and are a mad computer user like me that never reboots his computer (unless something blows up), you might have noticed that Avira periodically updates its program (beside the virus definitions) and asks for a system restart to complete this.
Rsync is a very handy tool at synchronizing the contents of two folders/directories.
And while being great for local folders, it also works remotely, via SSH, thanks to the -e ssh parameter: # rsync -ave ssh sourceserver:/home/user/ /home/user will sync /home/user from the sourceserver with /home/user on the local machine.
By default ls does not display hidden files (files with names starting with a dot).
To list hidden files, ls requires the usage of the -A parameter; for example ls -lA. To list only hidden (dotted) files, use this instead: ls -l .??*
To configure the size of the hibernation file, use the PowerCfg command-line utility that is included with Windows 7 and Windows Server 2008 R2. You must run PowerCfg from an elevated command prompt and include the /HIBERNATE and /SIZE parameters, as follows:
When replacing a failed RAID1 member from the array, setting up the replacement disk requires to partition it exactly as the existing disk. But this takes time to do manually…
Fortunately, sfdisk comes in handy by providing a very fast shortcut…