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

Zabbix error\’d — just for fun

2010-08-28 1 min read Uncategorized
<img class="size-medium wp-image-2432" title="History-Zabbix Error'd" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/History-Zabbix-300x151.jpg" alt="History-Zabbix Error'd" width="300" height="151" /> I was woking on Zabbix some days back and here&#8217;s a screenshot that I took from Zabbix running on <a class="zem_slink" title="Red Hat" rel="homepage" href="http://www.redhat.com">Red Hat Enterprise <a class="zem_slink" title="Linux" rel="homepage" href="http://www.kernel.org/">Linux 5. Pretty interesting to see that there is a graph with all the values on the <a class="zem_slink" title="Cartesian coordinate system" rel="wikipedia" href="http://en.wikipedia.org/wiki/Cartesian_coordinate_system">Y-axis as 3.26GB and still there is a trend on the graph. Continue reading

Finding all numbers that are bigger than 1 in vim

2009-12-24 1 min read Fedora Linux Vim Tips
/^([2-9]d*|1d+) If we have a csv like structure The trick here is simple, lets look at the regex from the begining: ^ – start from the begining () – start and end of block [] – digits within this. So we are looking from 2 to 9 to exclude the numbers begining with 1 d – search for digits – search for one or more | – or operation Continue reading