Advanced Linux System Statistics and Diagnostics with SystemTap

In one of the first posts of this blog I covered some basic SystemTap functionality from an email that I sent to members of my team, but I have always felt that I haven't given SystemTap as thorough of an article as this incredible tool deserves. Today I want to correct that. For today's article I will show how to compile SystemTap scripts on one server while running the compiled module on a production server without installing debug-info or devel packages in production....

 · 6 min · Benjamin Cane

xargs: Build and Execute Commands with Arguments from Standard Input

For me when it comes to useful commands xargs ranks along side commands like find, top and df; xargs is a great time saver and incredibly useful. Today I will show a few examples of usage and some of the lesser known features. Basic Usage The xargs command is used to take the output of one command and provide it as arguments to another. Example (xargs): # ls [0-9]-test.xml | xargs chmod -v 644 mode of `1-test....

 · 7 min · Benjamin Cane

Sar & Sysstat: Linux Performance Statistics with Ease

Whenever I perform any type of activity that requires me to look at historical system statistics such as load average, CPU utilization, I/O wait state, or even memory usage; I usually skip the System Monitoring Applications like Nagios or Zenoss and start running the sar command. While I'm not saying that sar completely replaces those tools, I am saying that sar is quick and dirty and if all you want is some raw numbers from a certain time frame; sar is a great tool....

 · 9 min · Benjamin Cane