Hi,
Is it possible to log $STAF::Result directly to log file with
unmarshalling and marshalling the log message later through a perl
script?
E.g: After a submit request
STAF::Log::Log("WARNING", " $STAF::Result");
Thanks
Uma.
---
Hi,
I'm trying to log into subdirectory of root log directory using Perl
script with API STAF::Log::Init() and STAF::Log::Log() with GLOBAL log
file.
It is creating the log file in subfolder. When I try to read the log
file with QUERY request it is giving the error 48.
[:~/SRC/STAF/re
Hi,
How to execute an alias mentioned in remote machine(solaris) profile
from a linux box using PROCESS (or any other) serivce?
When I tried to execute getting the following error. Note that
"aliascommand" executes successfully on remte machine independently.
[test:~/perl]$STAF
ELL COMMAND "history" returnstdout
stderrtostdout wait
[mdstest:~]$
Thanks
Uma.
-----Original Message-
From: Nathan Parrish [mailto:nparr...@clustrix.com]
Sent: Thursday, January 14, 2010 1:45 AM
To: Uma Maheswar Chilukuri
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf
Hi David,
This is in response to your suggested solution.
Part of this below mail is sent to mail list for another response.
Results of your suggested solutions are at end of the mail.
"history" is aliased to 'fc -l' as you can see below.
[test:~]$alias
alias hist
Hi,
I configured Email service in *.cfg file below line.
service email library JSTAF EXECUTE
/export/home//staf/email/STAFEmail.jar PARMS "MAILSERVER
.xx.xxx.com"
When started the STAFProc getting the error
27:Error constructing service, JSTAF, Result: Unab
Hi,
How to determine a process(child process) which is started by STAF with
PROCESS service is exited by the parent process?
One way might be by using QUEUE service and checking for
"STAF/Process/End" type messages. This requires a looping.
Is there any other way which is similar to getting eve
Hi,
Is there a way to get the output of a shell request in a file on the
system where request has been issued instead of creating a file on
system where shell command is executed.
STAF PROCESS START SHELL COMMAND "ls -l " STDOUT
returnstdout stderrtostdout wait
Above command creates
e system.
Thanks
Uma.
From: Sai Ram Purandhar-B22305 [mailto:b22...@freescale.com]
Sent: Friday, February 26, 2010 12:53 PM
To: Uma Maheswar Chilukuri; staf-users@lists.sourceforge.net
Subject: RE: [staf-users] PROCESS service output to file
Hi Mahesh,
Using STAX, you ca
Hi,
I'm trying to run a process with different user specifying in STAF
request.
/staf/bin> STAF local PROCESS LIST SETTINGS
Response
Default Stop Using Method : SigKillAll
Default Console Mode: New
Default Focus : Background
Process Auth Mode
Hi,
>From STAF User guide for PROCESS service.
8.12.2 "SHELL specifies that COMMAND should be started via a
separate shell."
>From this I know that each request to PROCESS service is executed in a
>separate/New shell.
Is there a way to have a shell session persisted fo
.com]
Sent: Mon 3/22/2010 7:49 PM
To: Uma Maheswar Chilukuri
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf-users] Persisten Shell Session through PROCESS service
No, that is not possible.
If you need to have multiple requests execute in the same shell, then you could
create a shell
12 matches
Mail list logo