Search Results

Search: Posts Made By: gurukottur
Forum: Infrastructure Monitoring 03-16-2010
3,415
Posted By gurukottur
The Magical Perl is... and it always surprises...
The Magical Perl is... and it always surprises me.

I got an SNMP::Multi module which does just what I want. I can specify hosts and the OIDs to poll and the Multi does an snmpget to the hosts and...
Forum: Infrastructure Monitoring 03-15-2010
3,415
Posted By gurukottur
Remote Monitoring
Hi All,

I am writing a tool which remotely monitors network devices and sends an alarm if the device does not respond just like an NMS.

Can I use Threads module and invoke a simultaneous...
1,745
Posted By gurukottur
script command records all the action on the...
script command records all the action on the console and puts the information in log file typescript
1,648
Posted By gurukottur
grep -lrw 'cad' <path_to_search> if r and w...
grep -lrw 'cad' <path_to_search>

if r and w doesnt work on some UNIX. use below:

find ./* -type f | xargs grep -l 'cad'
6,851
Posted By gurukottur
u can always use mktemp to create temp files ...
u can always use mktemp to create temp files

and to delete the file at the end

just do

trap '/bin/rm -f $file' 0 1 3
4,111
Posted By gurukottur
Thanks for the reply: I am using \b as a...
Thanks for the reply:

I am using \b as a word boundary otherwise it will give me the count if it matches any characters in the variant.

How to deal with it.. I want a word boundary \<, \b not...
4,111
Posted By gurukottur
problem, with if condition in function
Hi All,

I have a function which reads parameter and gets the value from config file.

The entry in the file can be either of two
Name=value or
Name[variant]=value

so if the variant is not...
2,345
Posted By gurukottur
Thanks for your reply franklin.. I am...
Thanks for your reply franklin..

I am reading the properties from a file:

so there can be other files with

property=value

in this case I can't print using OFS="=" as there is no 3rd field...
3,737
Posted By gurukottur
use Term::ANSIColor
use Term::ANSIColor
2,345
Posted By gurukottur
matching first instance of FS
Hi All,

I have a property in a file as:
property=value=a


If I use FS="=" then I want only first = to be considered as field separator and remaining as value
echo -e "property=value=a" | awk...
16,462
Posted By gurukottur
option followed by : taking next option if argument missing with getopts
Hi all,

I am parsing command line options using getopts.

The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument....
3,262
Posted By gurukottur
Perl I am writing a perl script to automate...
Perl

I am writing a perl script to automate my web pages.
3,262
Posted By gurukottur
execution status of gotoURL in Win32::IEAutomation
Hi,

I am using Win32::IEAutomation module to automate my Web based application.

I am trying to prepare a report for the test cases I automated.

The problem is I am unable to get the...
3,923
Posted By gurukottur
perl win32::ieautomation
Hi friends,

I am using win32::ieautomation to automate portal

Please help me with below line of code:
my $target_cell = $table_object->tableCells(2, 5);

what is $table_object in above line...
6,778
Posted By gurukottur
yogesh, thanks for your responses. I am...
yogesh,

thanks for your responses.

I am trying getAllImages on my web page and reading them to an array,but when I print the array element, I get the o/p as...
6,778
Posted By gurukottur
Its still the same problem. I tried the...
Its still the same problem.

I tried the command
$ie->getImage('linktext:',"Incidents")->Click;

No luck

If I use class to get the Image and there are more than one objects of the same...
6,778
Posted By gurukottur
perl script using Win32::IEAutomation
Hi Folks,

I am using Perl module Win32::IEAutomation for automating a web page which is implented using iceface.

I am trying to click on a image which has the following html code:

<input...
7,198
Posted By gurukottur
Web automation using perl
Hi all,

I have to test a web application which has secure authorization.

It is a ticketing site where I can create tickets,view and close them.

I am trying to automate it in perl and I am...
3,629
Posted By gurukottur
Unix Operating Systems Information Document
Hi all,

I prepared a document on UNIX OS. Its an humble attempt to share my knowledge.

Please review the document attached and correct if any mistakes and any suggestions to make it more useful...
50,138
Posted By gurukottur
to list the groups of the users the command is: ...
to list the groups of the users the command is:

groups

and to add a user to a group the things to do are:

->get the current groups of the user by groups command
-> usermod -G...
5,437
Posted By gurukottur
using finddepth in ftp to search for directories in perl
Hi all,

I have script which downloads the build and copies onto the local machine

I am able to download files in a directory, but unable to get the files in subdierctories.

I am using...
2,272
Posted By gurukottur
using perl to ftp
Hi all,

I am trying to download a build from an ftp server.

My problem is that my build contains sub folders and files within the sub folders.

I can ftp a single file at a time, but it will...
18,534
Posted By gurukottur
Hi, I am using the kill command as: ...
Hi,

I am using the kill command as:

kill 9, "java";

but i am unable to kill the process.

Please guide me.

Thanks and regards,

Guru
18,534
Posted By gurukottur
to kill a process in perl
Hi friends,

I have a perl script which needs to kill all java processes running on both windows and unix.

currently I'm getting the OS and killing the process by using system.

my code is:
...
13,260
Posted By gurukottur
Hi, I have a variables script which reads a...
Hi,

I have a variables script which reads a config file and assigns it to environment variables.

I have main script which uses those environment variables. Here inmain script when i call the...
Showing results 1 to 25 of 42

 
All times are GMT -4. The time now is 08:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy