AIX : Use sar to check cpu usage

January 30th, 2010 by Stephane Kattoor

If you’re looking for CPU usage statistics and system performance on IBM AIX, sar might just be the tool your looking for. It’ll display information for 5 minutes intervals from midnight to current time. The output looks like this :
Read the rest of this entry »

Perl+Twitter : Getting @mentions from command line

January 24th, 2010 by Stephane Kattoor

This code snippet demonstrates how easy it is to collect your twitter @mentions in Perl, coupled with curl for simplicity.
Read the rest of this entry »

Linux / Unix : Disk usage and identifying biggest files

January 17th, 2010 by Stephane Kattoor

When working as a systems administrator, you’ll always end up having to solve a file system full error in a hurry. Here are a few commands and hints to help you get out of it quickly on a UNIX like system.
Read the rest of this entry »

Monitoring batches in IT environment : efficiently using emails

January 9th, 2010 by Stephane Kattoor

Sometimes automatically running scripts in production environments are simply monitored by emails. Those scripts may run on schedule or be triggered by events and they send an email (for example to the technical support level 1) upon completion of the job. The content of the email will then give information about the outcome of the execution of the script.

This posts lists a few ideas that you might find useful to implement when in such an environment.

Read the rest of this entry »

Firefox (Linux) : “Middle-click on page loads URL” annoyance

January 3rd, 2010 by Stephane Kattoor

Firefox will load whatever URL is in the copy-paste buffer in the page if you middle click somewhere on a page. My mouse’s wheel also serves as the middle button, and I found it really annoying that when occasionally middle-clicking while scrolling the page, Firefox would try to load another page …

You can control this behaviour with this about:config property middlemouse.contentLoadURL. Set to true, the middle-click on the page will load the URL (if it is one) in the page, set to false it won’t.

Thanks Ayman !