YAZ-ZTEST(8) System management commands YAZ-ZTEST(8)
>>> (NAME)
yaz-ztest - >>>> >>>>>>> Z39.50/SRU
>>>>> >>>>> (SYNOPSIS)
application [-install] [-installa] [-remove] [-a file] [-v level]
[-l file] [-u uid] [-c config] [-f vconfig] [-C fname]
[-t minutes] [-k kilobytes] [-K] [-d daemon] [-w dir]
[-p pidfile] [-r kilobytes] [-ziDSTV1] [listener-spec...]
>>>>>>> (DESCRIPTION)
yaz-ztest >> >>>> >>>>>>> Z39.50/SRU
>>> >> >> API >>>> >>>>>>>>>
>>>>> YAZ (GFS) >>>>>>> >>>>>>.
>>> >>>> >>>>> >> >>>>
>>>>> Z39.50/SRU >>> >>>>>> >>>
>> >>>>>>>>>>> >>>>>>>
>>>>>>>. >>> >>>>>> >>>>>
>>>>> >>>>>> >>
>>>>>>>>>>> >
>>>>>>>>>>>> >> >>> >>>>>
>>>>> >> >>>>> >>>>>>.
>>>>> listener-spec >>>> >> >>>>
>>>>>> >> >>>>> >>>>>>> >
>> >>>>> >> >> >>>>> >>>>>>
>>>. >>>> >>>>>> >>> >>
>>>>> tcp> unix >> ssl >>>.
>>>> TCP > SSL> >> >>>>> >> >>>
>>> >>>:
hostname | IP-number [ : portnumber ]
>>>> >>>> >>>> UNIX> >>>>>
>>> >>>>>> >>>> >>>> >>>.
>>>>>>>> (OPTIONS)
-a file
>>>> >>>> >>>>>>>>> >>>>
>>>>> (dump) >>>>>>> PDU (>>>>
>>>>> >>>>>>>>). >>> >>>> -
(>> >>>>) >>>>> >> >> >>>>>
>>>> >>>>>>>>> (stderr) >>>>>
>>>>>>.
-S
>>> >>>>>> >>>>>> (fork) >>
>>>>> >>>>>>> >>
>>>>>>>>>>> >>>>>. >>>
>>>>> >>>> >>>>>>>>>>>
>>>>> >>>> >>> >>>>
>>>>>> >>>>> >>>>>
>>>>>>>: >>>>> >>>>
>>>>>>> > >>>>>>>>>>>>
>>>> >>> >>>>>>> >> >>>
>> >>> >>>>>>>>>> (>> >>
>>>>>> >>>) >> >>>>
>>>>>>> >>>> >>>>>
>>>>>> >>>>> >>>.
-1
>>>>> -S >>>> >>> >>>> >>
>> >> >>>> >>>> >>>>>>.
>>> >>>> >>> >>>>
>>>>>>>>>>> >>>.
-T
>>>>> >>>> >> >>>>
>>>>>>> (threaded). >>>> >> >>>
>>>>>> >> >>>>>>> >>>> >>
>>>>> >> >>>> >>>>>
>>>>>>. >>>> >> >>>>>>>>>
>>>>>> >> >>>>>>>> POSIX >>
>>>>> >>>>>>> >> >>>>>
>>>.
-s
>>>>>>> >> >>>>>> SR
(>>>>>>>>>).
-z
>>>>>>> >> >>>>>> Z39.50
(>>>>>>>). >>> >>>>> > -s
>>>> >>>>>>>>. >>>>>>>>>
>> >> >> >>>>> >>> >> >> >>
>>>>>> >>> >>>>>>>>>
>>>>>> (>> >>> >>>>>>)
>>>>>>> >>>>. >> >>>
>>>>>> >>>>>>>>> >>>> >>
>>>> >>>>> >>>> >> >> >>>
>>>>>> >>>> >>>>>>> >> >>
>> >>>>>>> >>> >>>>>>>>>
>>>> >>>>> >>> >>> >>>.
-l file
>>>>>> >>>.
-c config
>> >>>>> >>>>>> >> >>
>>>>> >>>>>>>>>> >>>>
>>>>>>>>> >>>>>>> >> >>>
>>>>>>> >>> >>>>>>.
>>>>>>> >>> >>>>> >> >>>
configname >> statserv_options_block >>>>>
>>>>>>.
-f vconfig
>> >>>>>> XML >> >>>>
>>>>>> >> >> >> >>> >>>>
>>>>> >>>>>>>>> YAZ >>
>>>>> >>>>>>.
-C fname
>>>>> >>> >>>>>> >>>>> SSL
>>>> >>>> (PEM).
-v level
>>> >>>. >> >> >>>>>
>>>>>> >> >>>> >> >>>>>
>>>>>> {fatal,debug,warn,log,malloc,all,none}
>>>>>>> >>>>.
-u uid
>>>>> >>>>> >>>>> (UID).
>>>>> >>>>>> >>>>>
>>>>>> >>>> >> >>> >>>>>
>>>>>>>> >>>>> >>>>>>.
>>> >>>>> >>>>> >>>> >>>
>> >>>> >>>>>> >>>> >>
>>>>> >>>> >>>> >>>> >>>
>>>> >>>>> >> >> >>>>>
>>>>> >>>> >> >> >> >>>>>
>>>> >>>>>>>>>> >>>>.
-w dir
>>>> >>> >> >>> >>>> >>
>>>>>>> >>>>> >> >>>
>>>>>>>>> >>>>> >>>>
>>>>>>. >>> >>>>> >>>>>
>>>> >>> >> >>>> >> >>>>
inetd >>> >>>>>> (>> -i >>>>>>
>>>>).
-p pidfile
>>>> >>>>>> >> >>>> >>>>
>>>>> >>>>>> (PID) >>> >> >>
>>>>>> >>>>>>>> >>>> pidfile
>>>>>>. >> >>>> >>>>>
/var/run/yaz-ztest.pid >>>>> >>>.
-i
>>>>>>> >> >>> >>>>> >>>>
>>>>> >>>> >> >>>> >>>> inetd
(>>> >>>>>>).
-D
>>>>>>> >> >>> >>>>> >>>>
>>>>> >>>> >>> >> >>
>>>>>>>> >>>> >>>> > >>
>>>>> >>>> >>>> >>>. >>>
>>>>>> >> >>>>>>>>> -i >> -D
>>>> >>>>>> >>>> >>
>>>>>>>>> >>>> >> >>>
>>>>>>.
-install
>>>>>>> >> >>> >>>>> >>>>
>>> >>>> >> >>>>> >>
>>>>> NT (>>> >> >>>>>>
NT/2000/XP). >> >>>>>> >> >>> Services
>> Control Panel >>>> >> >>>>>
>>>>.
-installa
>>>>>>> >> >>> >>>>> >>>>
>>> >>>> >> >>>>> >>
>>>>> NT > >>>>>>>>>>> >>
>> >>>>> ">>>> >>>>>>" (auto-
start). >> >>>>>> >> >>> Services >>
Control Panel >>>> >> >>>>> >>>>.
-remove
>>>>>>> >> >>> >>>>> >>>>
>>> >>>> >> >>>>>>>>> NT
(>>> >> >>>>>> NT/2000/XP).
-t minutes
>>>> >>>>> >>> >>>>>>
>>>>> >> >>> >>>>>.
-k size
>>>>>> >>>>>>
>>>>>/>>>>>> >>>>> >> >>>
>>>>>>>>.
-K
>>>>> >> >>> >>>>>>> >>
keepalive >>>> >>>>>>>> HTTP. >>
>>> >>>>>>> GFS >>>>>>> >>
>>>> >>>>>>>> HTTP 1.1 >>>>
>>> >>>>>>> (>>>>>>>> >>
>>>> >>>>>>>>> >>>>> >>>
>>>). >>>>>>> >> >>>
>>>>>> GFS >> >>>>> >>>>>>
>> >>>>> >> >>>> >>
>>>>>> >>>>>.
-r size
>>>>>> >>>>>> >>>>>> >>>
>>> >> >>>> (rotation)> >> >>>
>>>>>>>>. >>>>>> >>>>>>>
1048576 >>>>>>>> (>>>>> 1
>>>>>>>>) >>>.
-d daemon
>>>>> >>> >>>> >>>>
>>>>>>> >> >>>>>> >>>>>>
>>>>>>>>>. >> hosts_access(5) > tcpd(8)
>>>>>> >>>>.
-m time-format
>>>>> >>>> >>>>>>>>>
>>>>> >> >>>>>> >>>.
>>>>>>> >> >> >>>> >>>>>
strftime() >>>> >>>>.
-V
>>>>> >>>> YAZ > >>>>.
>>>>>> (TESTING)
yaz-ztest >> >>> >>>>> >> >>>>>
>>>>> >>>>>> >>> 0 > 24
>>>>>>>>>>>. >> >>> >>>>
>>> >>>>> >>>>>>> >>>>
>>>>> >>>>> >>>>> >>>>>
>>>> >> >>>>> >> >>>>>
>>>>> >>>>> >>>>>>>
>>>>>>. >>> >>
>>>>>>>>>>>>>> >>>>>
>>>>>> >> >>>>> >>>>>>>>
>> >>>>>> >>>>. yaz-ztest >>>> 24
>>>>> MARC >>>> >>>>>> >>>.
>>>>> >>>>> >>>>> >> 24 >>>>
>>>>>> yaz-ztest >>>> >>>> >>>>>
>> >>>>> > >>>>> >>>>>>>>.
>>>>>>>> >>>>> >> >>>>>> 1>
25> 49 > >>>> >>>>> >>>>>>
>>>>>.
>>>> XML> >>> >>> >>>>>>
>>>>> >>>> >>>> >> >>>>
>>>>> >>>>> "marcxml" >>>>> MARCXML
>>>>>>>>> >>>>>> (>> >> >> 24
>>>>> >>>>>> >> ISO2709 >> XML
>>>>> >>>>>>>). >>>> >>>>>>
>>>> OP> >> >>> >>>> OPAC XML
>>>>>>>>> >>>>>>.
>>>>>> yaz-ztest >>>>>> >>>> >>>
>>>>>>>> XML >> >>>
>>>>>>>>> >> >>>>>>>>
(>>>> >>>>>>). >>> >>>> >>
>>>>> >>>> >>>>>> >> >>>>>
>>>>> YAZ_ZTEST_XML_FETCH >>>>> >>>
>>>>. >> >>>>> >> >> >>>>>>
>>>>> >>>>>> (>> >>>>> >>
>> >>>>>>). >>>> >>> >>>>>>
>> >>>> FE.d.xml >>> >> >> >> F
>>>>> YAZ_ZTEST_XML_FETCH (>>>>>>>>
>>>>)> E >>>>>> >>>>> > d
>>>>>> >>>>> (>> >>>> >> 1)
>>>.
>>>>>>>>>> >>>> >>> >>>>
yaz-ztest >>>>>>>> >>>>>>>: Default>
slow > db.* (>>>> >>>>>>>>>> >>>>
>> >>>>>> "db"). >>
>>>>>>>>>>> >>>>> >>>>
>>>>>> yaz-ztest >> >>>> >>>>>> 109
>> >> >>>>> "Database unavailable"
>>>>>>>>.
>>>>>>>>> >>>>> >>>> >>>
>> >>> >>>>>>>>>>> get >> URL
>> >>>>> >>>> >> >>>
>>>>>>>>>>> Z39.50 >>>>>>>
>>>>. >>>>>>>>>
>>>>>>>>>>> >>> >>>>>
>>>>>: search-delay> present-delay> fetch-delay > seed.
>>>>>>>>> >>>> >> >>>
>>>>>> >> >>>>> >>>>>> (sleep)
>> >>>> >>>>>>> >> yaz-ztest >>
>>>>> >>>>> >>>>>> >>>>> >
>>>>> >>>>>>> >>>>>
>>>>>>. >>>>> >>>>> >>>>
>>> >> >>>>> >>>> >>>>>
>>>> >>>> >> >>>>> >> >>
>>> >>>>> >>>> >>>>>>. >>
>>> >>>>> >>>>> >>>>>>>>
>> >>>> >> >>> >>>> >>>>>
>>>>>> >> >>>>>> >>>> >>>
>> >>>> >>>>>> yaz-ztest >> >>>>
>>>>>> >>> >>> >>> > >>>
>>>>> >>>.
>>>>>>> >>>>>>>>>>> seed >>
>>> >>>> >> >>>>> >>>>>
>>>>>>>. >>> >>> >>>> srand >>
>> >>> >>> >>>> >>>>>>>>
>>>>>> >> >>>>>>> >>>> >>>
>> >>>>> >>>>>> >>>> >>>>>
>>>.
>>> >>>> >>>>>>>>>
>>>>>>> >>> 0.1 > 0.5 >>>>> >>>
>>>>> > >> >>>>> 0.2 >>>>>
>>> >>>>. >>>> >>>>>> >>
>>>>>>>>>>> >>>>>>> Default >>
>>>>> >>> >>>>>>> >>>>>>>:
Default?search-delay=0.1:0.5&fetch-delay=0.2.
>>>>>>>> GFS > >>>>>>>>>>
>>>>> (GFS CONFIGURATION AND VIRTUAL HOSTS)
>>>>>>> >>>>>>>>>> >>>>>
(Virtual hosts) >> >>>> >>>>>>>>> YAZ
>>>>> >>>>>> >> >> >>>>>
>>>>>> >>>>>>>> >>>. >>
>>>>>> >> >>>> >>>>> TCP/IP
(>>>>> + >>>>> >>>>>>) >/>>
>>>>>> >>>>> >>>>>>
>>>>>>.
>> >>>>>> >>>>>>>> >>>>
>>>>>>>> >>> >> >> >>
>>>>>>>>> >>>> >>> >>>>
>>>. >> >>>>>>>>> YAZ >>>>
>>> >>>>> CQL >> RPN >> >>>>>
>>>> >>>>>>>> >>>>>
>>>>>> >>>>>>>>> >>>> Z39.50
>> >>>>> >>>>> SRW/SRU >>>>>
>>>>. >>>>>>> SRW/SRU Explain >>>> >>
>>>>>> >>> >>> >>>>>>>>
>>>> >>>.
>>>> >>>>>> HTTP> >>>>>>
>>>>> >> >>>>>> Host >>>>
>>>>>>. >>>> >>>>>> Z39.50>
>>>>>> >>>>> >>>>>> Initialize
Request >> OtherInfo >> >>>>> OID
1.2.840.10003.10.1000.81.1 >>>> >>>>>>>.
>>>>
>>> >>>>>>>>>> Z39.50 >>>>>
>>>>> >>>>>>> VHOST >>
>>>>>>>>. >>>> >>>>>>
>>>>>> >>>>>> >>>> >>>>
>> >>>>>>> TCP/IP (>>>>> >
>>>>>) >>>> >>>>.
>>>> >>>>>>>>> YAZ >> XML >>>>
>>>>> >>>>>>>>>>>> >>>>>>
>>>>>>> >>>>>>. >>>>> >>
>>>>> -f >>> >>>>>>
>>>>>>>> XML >> >>>> >>>>>>.
>>> >>>>>>>> >> >>>> >>>>
yazgfs >>>>>>> >>>>>>. >>> >>>>
>>>> >>>>>> >> >>>>> listen >
>> >>>>> >> >> >> >>> >>>>
server >>>.
>>>> listen >>>>>> (>>>> >>>>>>
>>>>>>) >>>>> TCP/IP> >>>>
>>>>>> >>>>>> >> >>>> SSL >>
>>>>> >>>>>>. >>>>>> >>
>>>>>>:
CDATA (>>>>>>)
>>> CDATA >>>> >>>> listen >>>>
>>>>>> >> >> >> >>>>>
>>>>> tcp:@:210> tcp:server1:2100 > >>>>.
>>> id (>>>>>>>)
>>>>> >>>> >>> >>>>>>.
>>>> >>> >> >>>>>>> >>>>
>> >> >>>>> >>>> >>>.
>>>>
>> >>>>>> >>>>> >> >>>>
>>>>> >>>>>>> >>>>>> >>
>>> listen >>>>> >>>> >>>>>
>>>>>> CERT >>>> >>>>>>> SSL.
>>>> server >> >>>> >
>>>>>>>>>> >>>>> >> >>>
>>> >>>> >> >>>>> >>>>>>.
>>>>>> >> >>>>:
>>> id (>>>>>>>)
>>>>> >>>> >>> >>>>. >>
>>> >>>> >>>> >>> >>>>
>>>>>>> >>>>>>>> >>>
>>>> >>> >>>> >>>>> >>>
>>> >> >>> >>>.
>>> listenref (>>>>>>>)
>> >> >>> >>>>>> >> >>>>
>>> >>>> >>>> >>>>>>. >>
>>>>> >>>> >> >>>> >>>
>>>>>>. >>> >>> >>> >>>>
>>>>> >>>> >> >>>>
>>>>>>>> >>>> >>>>>> >>>.
>> >>> >>> >>>> >>>>>>>
>>>>> >> >>>>> >>>>>>
>>>>> >> >>>> >>>> >>> >>
>>>>>>>> >>>> >>>>>>
>>>>> >>>>.
>>>> config (>>>>>>>)
>>>>>>>> >>>> >> >>>>
>>>>>>. >>> >>>>>
>>>>>>>> >>>>>>>> >>
>>>>>>> >> >>>>> >> >>>>>
-c >>>.
>>>> directory (>>>>>>>)
>> >>>>>>>>> >>>> >> >>>>
>>> >>>> >>>>>> >>>>
>>>>>>. >> >>>> >>>>>>
>>>>>>>>> YAZ >> >>>> >>
>>>>>>> >> >>> >>> >>>>
>>> (>>>>>>>> >>>>>>
bend_start)> >>>>> >>> (>>>>>>>>
>>>>>> hand_stop) > >>>>>>>>
>>>>> >>> (bend_init)>
>>>>>>>>> >>>> >>>> >> >>
>>> >>>>>>>>> >>>>>
>>>>>>.
>>>> host (>>>>>>>)
>>>>>> >>>>> >> >>>> >>>
>>>> >>>> >>>>>>. >> >>>>
>>>> >>>> >> >>>>>> >>>>
>>> >>>> >>>>>> >> >>
>>>>> >>>>>>> >> >>>
>>>>>> >>>>> >>>.
>>>> cql2rpn (>>>>>>>)
>>> >>>>>>>>> >> >>>>
>>>>>> >> >>>> >>>>> CQL >>
RPN >>>> >>> >>>> >>>>>>
>>>. >> >>>> >>>>>> >>>>
>>>>>> >>>> >> >>>>>>>>
Type-1/RPN >> <<>>>>> >>>>>.
>>>> ccl2rpn (>>>>>>>)
>>> >>>>>>>>> >> >>>>
>>>>>> >> >>>> >>>>> CCL >>
RPN >>>> >>> >>>> >>>>>>
>>>. >> >>>> >>>>>> >>>>
>>>>>> >>>> >> >>>>>>>>
Type-1/RPN >> <<>>>>> >>>>>.
>>>> stylesheet (>>>>>>>)
>>>>> >>>>>>>>> (stylesheet) >>
>>>> >>>> >>>>> >>
>>>>>>>> HTTP SRU >>>>> >>
>>>>>> >>> >> >>>>
>>>>>>>> >>>>> >>>>>>>>.
>>> >>> >>>>>> >>>> >>>>
> >>>>>> >> >>>>>> >>>>>
>>>>> >>> >>>>>
>>>>>>>>>>>> >>>> >>
>>>> HTTP SRU >>>>>> >>>.
>>>> client_query_charset (>>>>>>>)
>> >>>> >>>>>> >>>>> >>
>>>>>> >>>>> >>>>>>>> >>
UTF-8 >>>> >>>> >>>>>>>>>
>>>>> >>>>> >>>>>>. >>>
>>> >>> >>>> >>>>>>>>>>>
>>>>>> Z39.50 >>>> >>>>>>
(>>> >>>>>> SRU/Solr >> >>> >>
UTF-8 >>>>>>> >>>>>>>).
>>>> docpath (>>>>>>>)
>>>>> >> >>>> >>>>>> >>>>
>> >>>>>> >> >>>>>>> >> HTTP
>>>> >>>>>>. >>>> URL>>>>
>> >>>>>> >>>>> (>>
>>>>>>> /) >> >> >>>>> docpath
>>>>>> >>>>> >>>>> >>>>
>>>>>> >> >>>>>> >>>>>>>
>>>>>>>. >>>> >>>>> >>>
>>>> >>> >>>> >>>>>> >>
>> >>>>>>>>> xsl >>>>> >>>>
docpath >>>>> >> xsl >>>>> >>> >
>>>> URL>>> >> >>> http://host/xsl
>>>> >> >>>>>> >>>> >>
>>>>>> >>>>>> >>.
>>>> explain (>>>>>>>)
>>>>>> SRW/SRU ZeeRex >> >>>> >>>
>>>> >>>> >>>>>>. >> >>>>
>>>>>>>>>>>> >>>>
>>>>>> >>> >>>>>>. >>
>>>>> >>>>>> >>>> >>
>>>>>>> Explain >>>> >> >>>
>>>>>>> >>>> >>>>>>>
>>>>>> > >>>> >> >>>
>>>>> >>> >>>>> >>>>>>>.
>>>> maximumrecordsize (>>>>>>>)
>>>>>> >>>>>>
>>>>>/>>>>>> >>>> >> >>
>>> >>>> >>>> >>>>>>. >>>
>>>>> >>>>>> >> >>>>>
>>>>>> >>>>>> >>>>>>>>
>>>>> (>>>>
>>>>>>>>>>>>>>> >>>>> >
>>>>) >>> >>>>>>. >>> >>>>
>>>>>> >>> >> >>>> >>>>> -k
>>>> >>>>>>.
>>>> retrievalinfo (>>>>>>>)
>>>>> >>>>>>> >> >>>>
>>>>>>>> >> >>>>>>>> >
>>>>>> >>>>>>>/>>>>>
>>>>> >>>> >>>>>>.
>> XML >>> >>>>> >> >>>>>>>>
>>>>>> >> >>>>>>> >> >> >>
>>>>> >>>>>>>>: >>>>> TCP/IP >>
>>>>> 9900 > >> >>>> >>>>>>
>>>> UNIX. >> >>>> TCP/IP >> public >
>>>> >>>> >> internal >>>>>>>>.
tcp:@:9900
unix:/var/tmp/socket
server1.mydomain
/var/www/s1
config.cfg
server2.mydomain
/var/www/s2
config.cfg
../etc/pqf.properties
server2.mydomain
9900
a
/var/www/s3
config.cfg
>> >>>> >>>>>> >>>>>>>>
>>> >>>> >>>>. >> >>>> >>>>
"server1" > "server2"> >>>>>>>>> >>>>
>> >> >>>>> >>>>>> >> >>>>>
>>>> >>>>>. "server1" >>>> >>> (>>
>>) >> >>>>> >>> >>>> >>>
>>> listenref >>>> >>>> >>>. "server2"
>>>> >> >>>>>> >>>>>>>> >>
>>>>> >>>. >> >>>>> >>>>>
>>> >>> >>> >> >>>>>> >>>>>
>>>> >> >>>> >> >>>>> host
>>>> >>> >>>.
>>>> "server2" >>>>>> >>>> >>>>>
CQL >> RPN >>>>>>>> >>> >
>>>>>>> explain >>>>> >>> >>>
(>> >>>>> >> >>>>> >>>>>
>>>> >>>> >>> >>>>> >>>>
>>>>> >>> >>>).
>>>> >>>> "server3" >>>> >> >>>>
>>>>>> "internal" >>>> >>>>>>
>>>.
>>>>>>> (FILES)
yaz-/ztest/yaz-ztest.c
yaz-/include/yaz/backend.h
>>>>>> >>>>>> (SEE ALSO)
yaz(7) yaz-log(7)
>>>>>>>>> (AUTHORS)
Index Data
YAZ 5.37.3 05/20/2026 YAZ-ZTEST(8)