Apr 10

Quickly Truncate MySQL Tables

ShareThe Dilema Do you have a MySQL database with LOTS and LOTS of tables? Well, if you’re like me sometimes schemas can contain tons of tables with tons of rows per table. What if you want to clear out all the tables from time to time? Well, there’s an easy way to handle this then …

Continue reading »

Dec 20

[Solved] Ubuntu 11.04 desktopcouch-service 100% CPU throttling

ShareI Believe the Title Says it All… Recently, I upgraded my home server to Ubuntu 11.04, looking good and working good, minus one or two snags. One is an issue the DEVs don’t seem to want to fix right now…which seems silly to me because it pegs the CPU to 100% and starts causing a …

Continue reading »

Dec 18

Layer-2 Link-Aggregation & Bonding

ShareThere are basically 3 reasons why you should aggregate your links… Reliability/Redundancy Additional Bandwidth You have extra NICs (network interface cards) you aren’t using that are collecting dust An unlikely spot for aggregation: One place I used link-aggregation for a while was on my HTPC. Since I run my HTPC on its built-in wireless 2.4ghz …

Continue reading »

Dec 01

Workaround: VNC issue in Ubuntu 10.04+ — D key (alone) hides desktop over Xrdp

Share  PROBLEM While connecting over Xrdp, hitting the “D” key alone hides all my windows and shows the desktop. This is a problem as I’ve constantly run into times when I’ve needed to type a word or something containing the “D” character. I’m using Ubuntu 10.10 Maverick Meercat and connecting via Xrdp to a server …

Continue reading »

Nov 16

Using Xvfb to Hide those Pesky Windows

ShareDo you have a script that opens up all sorts of windows? Maybe a scraping/posting script that opens up a Firefox session or some other window that you really don’t care to watch or clutter your desktop? As an example, I run a series of selenium scripts (I’ll have a tutorial on this later) that …

Continue reading »

Nov 07

Web-Accessible “Log Analyzer” – Using Rsyslog

ShareHaving problems keeping track of all the syslog messages in your network? Or better yet, do you have a TON of network devices that you need to monitor for syslog messages and can’t find a good way to keep track of it?   I did…..and it was becoming a problem. I was doing it the …

Continue reading »

Nov 06

“ServerStats” for A Lightweight “Cacti” Alternative

Share“ServerStats” is a program I found all on my lonesome in the Ubuntu repositories. I came upon the program while I was trying to build a list of all useful network-related programs in the Ubuntu repositories a few months back. I must say I’ve been impressed with this program. ServerStats uses RRDtool-based graphs for a …

Continue reading »

Nov 04

Configuring “Smokeping” for Uber-helpful Latency Monitoring

Share“Smokeping”  is a great program in the Ubuntu repositories for monitoring latency to both local targets on your LAN and remote targets out on the internet. It displays all the info it collects in wonderfully illustrative graphs built using rrdtool on the CGI-based web-accessible script included with the program. I’ve been using this program for …

Continue reading »

Older posts «