0001 EXBENCHSV(8)
0002 ============
0003 :doctype: manpage
0004
0005
0006 NAME
0007 ----
0008 exbenchsv - Enduro/X benchmark tool responder service
0009
0010
0011 SYNOPSIS
0012 --------
0013 exbenchsv ['OPTIONS']
0014
0015
0016 DESCRIPTION
0017 -----------
0018
0019 This is dummy echo responder service used as back-end for *exbenchcl(8)* tool
0020 responder. The service just returns succeed response with the same buffer for
0021 very service call. Default service name advertised is *EXBENCH*. The service
0022 works with any XATMI buffer type.
0023
0024 Server supports dispatch threading, i.e. settings of *<mindispatchthreads>*,
0025 *<maxdispatchthreads>*.
0026
0027 OPTIONS
0028 -------
0029 [*-N* 'NUMBER_OF_SERVICES']::
0030 Number of service names to advertise. If parameter is not set, then common
0031 service name is advertised, either default or a value provided by *-s* flag.
0032 If parameter is set, and is > 0, the service name is appended with NNN formatted
0033 number which is calculated as Server ID modulus 1000 modulus 'NUMBER_OF_SERVICES'
0034 (i.e.: (tpgetsrvid() % 1000) % svcnum). Thus it is possible to boot several
0035 service names, with having several servers advertising single service name.
0036
0037 [*-s* 'SERVICE_NAME']::
0038 Service name to advertise. Default value is *EXBENCH*.
0039
0040 [*-T*]::
0041 Enable transaction mode, performs *tpopen(3)* at init, and *tpclose(3)*
0042 and server done.
0043
0044 [*-U* 'SLEEP_MICROSEC']::
0045 Number of microseconds to sleep in the service functions. Default is *0*.
0046
0047 [*-e* 'EVENT_NAME']::
0048 Event name to which to subscribe.
0049
0050
0051 EXIT STATUS
0052 -----------
0053 *0*::
0054 Success
0055
0056 *1*::
0057 Failure
0058
0059
0060 CONFIGURATION EXAMPLE
0061 ---------------------
0062
0063 Responder service in *ndrxconfig.xml(5)*:
0064
0065 --------------------------------------------------------------------------------
0066
0067 <server name="exbenchsv">
0068 <srvid>1800</srvid>
0069 <min>15</min>
0070 <max>15</max>
0071 <sysopt>-e /tmp/EXBENCH</sysopt>
0072 </server>
0073
0074 --------------------------------------------------------------------------------
0075
0076 BUGS
0077 ----
0078 Report bugs to support@mavimax.com
0079
0080
0081 SEE ALSO
0082 --------
0083 *exbenchcl(8)* *ndrxconfig.xml(5)*
0084
0085
0086 COPYING
0087 -------
0088 (C) Mavimax, Ltd
0089