using gnuplot for time plotting

2011-02-17 1 min read Learning Linux
Couple of days back, I was working with some data and wanted to plot it. I had couple of options Excel, ploticus and then our own gnuplot. My choice here was gnuplot, as this is most commonly available and helps me write scripts that can automate my repetitive task. So far, so good. The data I was plotting was against time, that was the problem. Couple of quick searches did not result into any luck to get me on the path and hence with some man pages and some documentation, finally I found this, might be this will be helpful for others. Continue reading

List of commands you use most often

2010-07-25 1 min read bash Linux
$ history | <a class="zem_slink" title="AWK" rel="homepage" href="">awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head > /tmp/cmds | <a class="zem_slink" title="Gnuplot" rel="homepage" href="">gnuplot -persist <(echo 'plot "/tmp/cmds" using 1:xticlabels(2) with boxes') Plot your most used commands with gnuplot. <a href="">View this command to comment, vote or add to favourites <a href="">View all commands by <a href="">sthrs <a href=""> by David Winterbottom (<a href=""> <a href="http://feedads. Continue reading