Visualizing system performance data

2010-06-25 1 min read Linux
<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category <font SIZE="6"><a HREF="http://feedproxy.google.com/~r/Command-line-fu/~3/jjk4Htw9rvo/visualizing-system-performance-data">Visualizing system performance data $ vmstat 2 10 | awk 'NR > 2 {print NR, $13}' | gnuplot -e “set terminal png;set output 'v.png';plot '-' u 1:2 t 'cpu' w linespoints;" draw `vmstat ` data using gnuplot <a HREF="http://www.commandlinefu.com/commands/view/3581/visualizing-system-performance-data">View this command to comment, vote or add to favourites <a HREF="http://feeds2.feedburner.com/commands/by/Sunng">View all commands by <a HREF="http://feeds2.feedburner.com/commands/by/Sunng">Sunng <a HREF="http://www.commandlinefu.com"><img SRC="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg" ALIGN="bottom" ALT="commandlinefu.com"/> by David Winterbottom (<a HREF="http://codeinthehole. Continue reading

Script to add all the partitions to the fstab.

2010-06-24 5 min read bash Fedora
I wrote a simple script today to get all the partitions on all the disks and then create <a class="zem_slink freebase/en/fstab" title="Fstab" rel="wikipedia" href="http://en.wikipedia.org/wiki/Fstab">fstab entry with them. The script also gets the <a class="zem_slink freebase/en/universally_unique_identifier" title="Universally Unique Identifier" rel="wikipedia" href="http://en.wikipedia.org/wiki/Universally_Unique_Identifier">UUID and uses the same to make the entry 🙂 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Continue reading