Yes, you can use the STAF SERVICE service's LIST REQUESTS request to list
the pending STAF service requests running on your service host machine. By
also specifying the LONG option, the result will include the "Source"
endpoint for the machine that submitted the request to the service host
machine.
For example, say machA.company.com submitted the following two requests to
STAF services running on machine server.company.com as follows:
STAF server.company.com DELAY DELAY 5m
STAF server.company.com PROCESS START COMMAND NOTEPAD WAIT
You can then submit a LIST REQUESTS LONG request to the SERVICE service on
server.company.com to list the pending service requests as follows:
C:\>STAF server.company.com SERVICE LIST REQUESTS LONG
Response
--------
Req# Source Handle Name H# Date-Time Target Service Request
---- ----------- ----------- -- --------- ---------- -------
------------------
3 ssl://machA STAF/Client 18 20091009- server.com DELAY DELAY 5m
.company.co 16:26:15 pany.com
m...@6500
4 ssl://machA STAF/Client 19 20091009- server.com PROCESS START COMMAND
NOTE
.company.co 16:26:36 pany.com PAD WAIT
m...@6500
10 ssl://serve STAF/Client 8 20091009- server.com SERVICE LIST REQUESTS
LONG
r.company.c 16:27:38 pany.com
o...@6550
To see this output in a more verbose format (and possibly easier to read)
when submitting this request using the STAF command line executable,
specify the -verbose option. For example:
STAF -verbose server.company.com SERVICE LIST REQUESTS LONG
For more information on the SERVICE service's LIST REQUESTS request, see
section "8.16 Service Service", sub-section "8.16.2 LIST" in the STAF
User's Guide at
http://staf.sourceforge.net/current/STAFUG.htm#HDRSRVSERVICE.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Arvind Chandra <arv...@yahoo.com>
10/09/2009 04:08 PM
To
staf-users@lists.sourceforge.net
cc
Subject
[staf-users] Information about users accessing the services
I have a host(say Service Host(SH)) which has some services running and
other users are using them. This is information about trust level
--------
Type Entry Trust Level
------- ------ -----------
Default <None> 3
Machine *://* 5
User who is on machine A is using the services in SH by issuing the
commands
staf ST <> <>
User in machine B is using services in SH by issuing the commands
staf ST <> <>
Is there a way I can see all these commands issued on the service host by
remote machines?
In case of commands which take some time can I see which commands are
being executed currently?
Thanks
Arvind
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users