, 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
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
>
> 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
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.
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
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
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
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
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
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
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
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
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
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
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
> 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
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
> 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
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 "
#!/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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
r openning Log file - $!\n");
exit (1);
}
autoflush LOGFILE 1;
$LogOpen = "yes";
# Create Save Date Using Day Month Year
$SaveDate = ("$Day-$MonthLis
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
> -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
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
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
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
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
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
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
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
44 matches
Mail list logo