Tag Archives: Check

Check to see if a build is running or not

rajeshkumar created the topic: Check to see if a build is running or not All I need to do is check to see if a build is running or not. To do that I used curl and grep, like this: curl http://myjenkins/job/myjob/lastBuild/api/json | grep –color result\”:null If a build is in progress, a grep for… Read More »

If a linux-build-server suddenly starts getting slow, what would you check?

If a linux-build-server suddenly starts getting slow, I would divide my approach / troubleshooting into 3 section as follows; 1. System Level troubleshooting a. RAM related issues b. Disk Space related Issues c. Disk I/O read write issues d. Network Hardware issues e. Mount issues f. Too Many process running in the machine 2. Application Level… Read More »

How to Check File Attributes in Perl ? Perl File Attributes explained

Checking File Attributes in Perl I have been using perl for quite some time now. I have also been using the file handling logic in my scripts. However, what I did not know till now is that you can quickly check for certain file properties in perl. Here is an example: #!/usr/bin/perl my (@description,$size); if (-e… Read More »