RE: revert to me asap

2005-08-09 Thread Vema Venkata
, Christopher, SOLCM; Vema Venkata Subject: Re: revert to me asap On Aug 9, 2005, at 6:20, Vema Venkata wrote: > sub get_work_station_id { > # return W0010A40C06D0 from vbop-0x4E58:W0010A40C06D0:windows > my $id = shift; > return $1 if $id =~ /:([^:]+):/; > retur

revert to me asap

2005-08-09 Thread Vema Venkata
Hi Gurus, I have the following function which extracts the workstation id's sub get_work_station_id { # return W0010A40C06D0 from vbop-0x4E58:W0010A40C06D0:windows my $id = shift; return $1 if $id =~ /:([^:]+):/; return; } at present it is working fine... T

script

2004-06-21 Thread Vema Venkata
> > Hi , > > TIA > > Need help > > I have a following path > > "/proj/ahd02/CAisd/site/mods/scripts/log" in this path i have a file called > "archive-18-7-2003.tar.Z" > > I want a script in perl by uncompress and untar it. > > can any send me the

script

2004-06-18 Thread Vema Venkata
Hi Group, TIA Need help I have a following path "/proj/ahd02/CAisd/site/mods/scripts/log" in this path i have a file called "archive-18-7-2003.tar.Z" I want a script in perl by uncompress and untar it. can any send me the same requested.

RE:

2003-09-15 Thread Vema Venkata
thanx raghavan now it is working rgds venkat -Original Message- From: Sudarshan Raghavan [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 3:26 PM To: [EMAIL PROTECTED] Subject: Re: Vema Venkata wrote: >dude still the problem persits... > This certainly seems

RE:

2003-09-15 Thread Vema Venkata
thanx Goffredo Saffioti now it is working -Original Message- From: zsdc [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 5:44 PM To: [EMAIL PROTECTED] Subject: Re: Goffredo Saffioti wrote: > Myabe thi is not the best way but work fine. > Cya. It works fine and inspired me to

RE:

2003-09-15 Thread Vema Venkata
thanx tassilo now it is working. -Original Message- From: Tassilo von Parseval [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 2:02 PM To: [EMAIL PROTECTED] Cc: Vema Venkata Subject: Re: On Mon, Sep 15, 2003 at 06:25:29PM +1000 Vema Venkata wrote: > I had rewritten

RE:

2003-09-15 Thread Vema Venkata
Thanx Rob !!!now it is working -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 4:48 PM To: [EMAIL PROTECTED] Subject: Re: Vema Venkata wrote: > > use Time::Local; > use FileHandle; > my @month_list = qw/ > January February Ma

RE:

2003-09-15 Thread Vema Venkata
thanx josep it is working now -Original Message- From: R. Joseph Newton [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 9:10 PM To: Vema Venkata Cc: [EMAIL PROTECTED] Subject: Re: Vema Venkata wrote: > In my script iam using the following line.. > where the user

STDIN

2003-09-15 Thread Vema Venkata
use Time::Local; use FileHandle; my @month_list = qw/ January February March April May June July August September October November December /; #Set the path here my $path1= "/proj/ahd02/CA

RE:

2003-09-15 Thread Vema Venkata
dude still the problem persits... pls advise -Original Message- From: Tassilo von Parseval [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 2:02 PM To: [EMAIL PROTECTED] Cc: Vema Venkata Subject: Re: On Mon, Sep 15, 2003 at 06:25:29PM +1000 Vema Venkata wrote: > I

RE:

2003-09-15 Thread Vema Venkata
dude still the problem persits... pls advise -Original Message- From: Tassilo von Parseval [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 2:02 PM To: [EMAIL PROTECTED] Cc: Vema Venkata Subject: Re: On Mon, Sep 15, 2003 at 06:25:29PM +1000 Vema Venkata wrote: > I

RE:

2003-09-15 Thread Vema Venkata
I had rewritten as per ur suggestions but there is no prompt like this "choose Change_Request,call_req or Both?>#"; pls advise print "choose Change_Request,call_req or Both?>#"; my$choose_table= ; #user has to key in Change_Request,call_req,Both chomp $choose

beginners@perl.org

2003-09-14 Thread Vema Venkata
In my script iam using the following line.. where the user has to keyin either of the options 1)"Change_Request", 2)"call_req" 3)"Both" options my $choose_table= ; #user has to key in Change_Request,cal

HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! log file contents

2003-09-11 Thread Vema Venkata
Hi Rob > > > "AHDXAPI Server is now started running Thu Sep 11 23:51:00 2003" > > The above message is getting registerd in the log file > my script i had schedule it for every minute thru crontab > after a minute the following is getting update in my log file > > AHD XAPI SERver Ru

log file contents

2003-09-11 Thread Vema Venkata
> Hi > > "AHDXAPI Server is now started running Thu Sep 11 23:51:00 2003" > > The above message is getting registerd in the log file > my script i had schedule it for every minute thru crontab > after a minute the following is getting update in my log file > > AHD XAPI SERver Running with Proce

log file contents

2003-09-11 Thread Vema Venkata
Hi "AHDXAPI Server is now started running Thu Sep 11 23:51:00 2003" The above message is getting registerd in the log file my script i had schedule it for every minute thru crontab after a minute the following is getting update in my log file AHD XAPI SERver Running with Process ID '18383' On

redirect path in log file

2003-09-11 Thread Vema Venkata
> Hi > i want to wirte to a log file "AHDXAPI Server is now started running $now_string";to > the following path > /proj/ahd02/CAisd/site/mods/scripts/log/init/ahdxapi.init.log > > > #!/proj/ahd02/CAisd/ActivePerl-5.6.0.618/bin/perl > #/usr/local/bin/perl > > use POSIX qw(strftime); > $n

redirect path in log file

2003-09-11 Thread Vema Venkata
Hi Rob i want to wirte to a log file "AHDXAPI Server is now started running $now_string";to the following path /proj/ahd02/CAisd/site/mods/scripts/log/init/ahdxapi.init.log #!/proj/ahd02/CAisd/ActivePerl-5.6.0.618/bin/perl #/usr/local/bin/perl use POSIX qw(strftime); $now_string = strftime "

RE: pls do reply

2003-09-09 Thread Vema Venkata
#!/proj/ahd02/CAisd/ActivePerl-5.6.0.618/bin/perl #/usr/local/bin/perl use POSIX qw(strftime); $now_string = strftime "%a %b %e %H:%M:%S %Y", localtime; $xapipgm = "/proj/ahd02/CAisd/site/mods/scripts/srvtst26.pl"; $pid = qx(pgrep -f srvtst26); if ($pid =! 0){ print "AHD XAPI SERver Runnin

pls do reply

2003-09-09 Thread Vema Venkata
How do i get the process id into a variable ? can any one help $pid = qx(ps -f|grep srvtst26); print "Server Started : $pid \n -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: help;help

2003-08-27 Thread Vema Venkata
thanx dude -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2003 6:28 PM To: Vema Venkata; [EMAIL PROTECTED] Subject: RE: help;help Vema Venkata wrote: > Folks, > Here the following xapipgm.pl is executed well when iam > executin

help;help

2003-08-27 Thread Vema Venkata
Folks, Here the following xapipgm.pl is executed well when iam executing manualy, but when iam trying to set it thru corntab iam not able to execute The crontab settings are as follows 1-59 * * * * . /home/paradigm/.profile; /proj/ahd02/CAisd/site/mods/scripts/xapipgm.pl > /proj/ahd02/CAisd/s

RE: Cron jobs and perl

2003-08-20 Thread Vema Venkata
ons -Original Message- From: Schubert, John [NTWK SVCS] [mailto:[EMAIL PROTECTED] Sent: Thursday, 21 August 2003 4:01 AM To: Vema Venkata; Dan Muey; Jeff Westman; beginners Subject: RE: Cron jobs and perl Anytime you have problems with a cron, the easiest place to look first is in the cron

RE: Cron jobs and perl

2003-08-20 Thread Vema Venkata
thanx for ur suggestion m8,i went to /var/cron but when iam trying to go to log it is saying the following error "ksh: log: not a directory" -Original Message- From: Schubert, John [NTWK SVCS] [mailto:[EMAIL PROTECTED] Sent: Thursday, 21 August 2003 4:01 AM To: Vema Ve

Cron jobs and perl

2003-08-19 Thread Vema Venkata
Hi Dan The problem still persisits pls. help/suggest me what to do ? When iam executing the xapipgm.pl it is getting executed properly but when iam trying to execute thru crontab it is not xapipgm.pl ** #!/bin/sh #myrun.shell xap

RE: Cron jobs and perl

2003-08-18 Thread Vema Venkata
no not yet i havent got any solution of it -Original Message- From: Trina Espinoza [mailto:[EMAIL PROTECTED] Sent: Monday, 18 August 2003 7:56 PM To: Vema Venkata; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Cron jobs and perl Sorry for being so unresponsive Vema! I was away from

RE: Cron jobs and perl

2003-08-18 Thread Vema Venkata
Dude iam using srvtst26.pl yes.. and the script is situtated in the following path i.e "/proj/ahd02/CAisd/site/mods/scripts" can u suggest me where i should use ... -Original Message- From: Dan Muey [mailto:[EMAIL PROTECTED] Sent: Monday, 18 August 2003 6:55 PM To: Vema Venk

RE: Cron jobs and perl

2003-08-18 Thread Vema Venkata
Hi david when i am trying to run the following script it is getting executed but when iam tryint to execute thru corntab it is not?can any one suggest the script name is xapipgm.pl *** #!/bin/sh #myrun.shel

RE: Cron problems

2003-08-18 Thread Vema Venkata
nt: Monday, 18 August 2003 1:02 PM To: [EMAIL PROTECTED]; Vema Venkata Cc: Trina Espinoza Subject: Re: Cron problems Vema Venkata wrote: > Hi Floks > > when i am trying to run the following script > it is getting executed but when iam tryint to execute thru corntab i

Cron problems

2003-08-17 Thread Vema Venkata
Hi Floks when i am trying to run the following script it is getting executed but when iam tryint to execute thru corntab it is not?can any one suggest the script name is xapipgm.pl *** #!/bin/sh #myrun.shell xapipgm

RE: Cron jobs and perl

2003-08-17 Thread Vema Venkata
have u got the soultion for this? because iam following the same problem can you help me out -Original Message- From: Trina Espinoza [mailto:[EMAIL PROTECTED] Sent: Saturday, 16 August 2003 9:46 PM To: [EMAIL PROTECTED] Subject: Cron jobs and perl Can someone tell me how to go about run

RE: Getting the size of special files in a directory?

2003-07-03 Thread Vema Venkata
Hi All, I have a following pgm which is been written in shell by calling another perl pgm (srvtst26.pl) in it. Can any re-write the following to perl. wud be appreicated ur earliest reply *** $xapi

RE: Authenticating to the proxy

2003-07-02 Thread Vema Venkata
just send me the same if any body replies to ur query, since i need to access the same rgds venkat -Original Message- From: Aman Thind [mailto:[EMAIL PROTECTED] Sent: Wednesday, 2 July 2003 4:20 PM To: [EMAIL PROTECTED] Subject: Authenticating to the proxy Hullo Friends I need to auth

RE: [Perl for Beginners] RE: Welcome to perlforbeginners

2003-07-01 Thread Vema Venkata
r openning Log file - $!\n"); exit (1); } autoflush LOGFILE 1; $LogOpen = "yes"; # Create Save Date Using Day Month Year $SaveDate = ("$Day-$MonthLis

RE: [OT]Re: log file -help

2003-07-01 Thread Vema Venkata
Raghavan Can you re-write the same functionality in the perl pgm since i cudn't find any mailing list for shell wud be appreicated ur reply asap rgds venkat -Original Message- From: Sudarshan Raghavan [mailto:[EMAIL PROTECTED] Sent: Tuesday, 1 July 2003 4:44 PM To: Vema Venkata Su

FW: help

2003-07-01 Thread Vema Venkata
> -Original Message- > From: Vema Venkata > Sent: Tuesday, 1 July 2003 2:06 PM > To: '[EMAIL PROTECTED]'; 'Sudarshan Raghavan' > Subject: help > > For the following script can any one help me to create a log file > wud be

log file -help

2003-07-01 Thread Vema Venkata
Hi All My code looks like this xapipgm=srvtst26.pl pgrep -f $xapipgm > /dev/null if [ $? -eq 0 ] then set `pgrep -f $xapipgm ` echo "AHD XAPI Server ($xapipgm) Running with Process Id: $1" else echo "AHD XAPI Server is now Started Running." set `date '+%Y %m %d %H %M' ` xapipgm=srvtst2

Change of mail id

2003-06-29 Thread Vema, Venkata
Can you change my mailid from [EMAIL PROTECTED] to [EMAIL PROTECTED] regards venkat -Original Message- From: Sudarshan Raghavan [mailto:[EMAIL PROTECTED] Sent: Fri 27/06/2003 9:14 PM To: [EMAIL PROTECTED] Cc: Subject: Re: Help : Net::F

Change of mail id from vemav@anz.com to venkatsb@anz.com

2003-06-22 Thread Vema, Venkata
  Can you Change my mail id from [EMAIL PROTECTED] to [EMAIL PROTECTED] -Original Message- From: Ashish Srivastava [mailto:[EMAIL PROTECTED] Sent: Mon 23/06/2003 2:08 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: How to retrieve a MAC address

Wirting to a log file with time

2003-06-03 Thread Vema, Venkata
HI The following pl pgm executes when the process "srvtst26.pl "is stopped. It gets started automatically started thru crontab by command "ahdxapi.init" what i want now is i want to write to a log file with time when it gets started "ahdxapi.init" can any one help me on this apprecitated ur

Wirting to a log file with time

2003-06-03 Thread Vema, Venkata
HI The following pl pgm executes when the process "srvtst26.pl "is stopped. It gets started automatically started thru crontab by command "ahdxapi.init" what i want now is i want to write to a log file with time when it gets started "ahdxapi.init" can any one help me on this apprecitated ur ear

writing to a log file with time

2003-06-03 Thread Vema, Venkata
HI The following pl pgm executes when the process "srvtst26.pl "is stopped. It gets started automatically started thru crontab by command "ahdxapi.init" what i want now is i want to write to a log file with time when it gets started "ahdxapi.init" can any one help me on this apprecitated ur ear

got stuck...........help asap

2003-06-02 Thread Vema, Venkata
Hi Gurus i got stuck up on continuing further,i have a pgm called "xapipgm" running when it stopped it has to automatically executed by calling #AHDXPAIINIT# can any one help on this wud be appreicated ur reply asap. regards venkat #AHDXAPICHECK# xapipgm=srvtst26.pl pgrep -f $xapip