Subscribe: Amit Agarwal » perl
http://blog.amit-agarwal.co.in/category/perl/feed/
Added By: Feedage Forager Feedage Grade A rated
Language: English
Tags:
building finite  continue reading  continue  create  dfa simple  machine dfa  perl script  perl  reading  script create  script  servers 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Amit Agarwal » perl

perl – Linux and Photography Blog



Linux - Simple and Short



Last Build Date: Mon, 23 Apr 2018 00:56:57 +0000

 



Get status of your servers with perl script.

Mon, 14 Jul 2014 00:38:51 +0000

Monitoring the servers could be well – “not difficult” but boring and monotonous. And since this is something that you should ideally do on daily basis, so why not have a script for the same. You can’t possibly copy your ssh-keys to all the servers that you are monitoring, better if you can, then you … Continue reading "Get status of your servers with perl script."(image)



Manage your servers the easy way with perl script over ssh with no remote client.

Mon, 06 May 2013 01:16:23 +0000

For a long time I have not posted any script. So, its not that I have not written anything new, but just that did not put them here in lack of time. So, here is one interesting one. The original idea came from one posted in one of the interesting blog here. But the problem … Continue reading "Manage your servers the easy way with perl script over ssh with no remote client."(image)



perl is faster than bash in some cases.

Tue, 11 Jan 2011 21:45:47 +0000

Some days back, I had to generate some data to be uploaded to a database. As usual I assumed that bash should be faster and hence wrote the script to create the files in bash. But I found that even after 5 hours I was only 10% done with the data generation. Now that would … Continue reading "perl is faster than bash in some cases."(image)



Building a Finite State Machine Using DFA::Simple

Wed, 15 Dec 2010 14:37:44 +0000

http://www.perl.com/pub/2004/09/23/fsms.html Building a Finite State Machine Using DFA::Simple By Bill Ruppert on September 23, 2004 12:00 AM I am converting some articles from MS Word to HTML by hand. I often use bulleted outlines so I face a lot of work creating lists with nested sub-lists. It didn’t take opening and closing many and tags … Continue reading "Building a Finite State Machine Using DFA::Simple"(image)



String and Array Creation

Wed, 28 Apr 2010 14:23:03 +0000

Image via Wikipedia This is the fourth part of a nine-part article on famous Perl one-liners. In this part I will create various one-liners for string and array creation. See part one for introduction of the series. Famous Perl one-liners is my attempt to create “perl1line.txt” that is similar to “awk1line.txt” and “sed1line.txt” that have … Continue reading "String and Array Creation"(image)



Script to get the number of events from the logs.

Sun, 11 Apr 2010 09:11:49 +0000

I was trying to do some log analysis and finding the events in the logs. For this the logs had the Events logged as \”|+Event name|\” or with sending and receiving. So I wrote this little script to take care of my requirements. First you would need to change the pattern in the bold red … Continue reading "Script to get the number of events from the logs."(image)



Perl script to create csv files with a pattern – Generic script.

Tue, 19 Jan 2010 03:11:16 +0000

I was having a really bad day and needed a quick solution to create some csv files. And this I needed to do for multiple data kinds and patterns, so I created this small script to do the job for me… #Number of rows required in the output. $rows = 100; #The config and the … Continue reading "Perl script to create csv files with a pattern – Generic script."(image)