📄 yaz-ztest-ssl.8
字号:
.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at:.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng <steve@ggi-project.org>..TH "YAZ-ZTEST" "8" "04 September 2003" "" "".SH NAMEyaz-ztest \- Z39.50 Test Server.SH SYNOPSIS\fByaz-ztest\fR [ \fB-a \fIfile\fB\fR] [ \fB-v \fIlevel\fB\fR] [ \fB-l \fIfile\fB\fR] [ \fB-u \fIuid\fB\fR] [ \fB-c \fIconfig\fB\fR] [ \fB-t \fIminutes\fB\fR] [ \fB-k \fIkilobytes\fB\fR] [ \fB-d \fIdaemon\fB\fR] [ \fB-w \fIdir\fB\fR] [ \fB-ziST1\fR] [ \fBlistener-spec\fR\fI ...\fR] \fByaz-ztest-ssl\fR [ \fBoption\fR\fI ...\fR] [ \fBaddr\fR\fI ...\fR] .SH "DESCRIPTION".PP\fByaz-ztest\fR is a Z39.50 test server. The server acts as a real Z39.50 server but does not use a database.It returns a random hit count and returns a subset of a few built-inrecords..PP\fByaz-ztest-ssl\fR is identical to\fByaz-ztest\fR except that it supports SSL transport..PPThe \fIlistener-spec\fR consists of a transportmode followed by a colon, followed by a listener address. Thetransport mode is either tcp, unix,or ssl (\fByaz-ztest-ssl\fR only)..PPFor TCP and SSL, an address has the form:.nf hostname | IP-number [ : portnumber ] .fi.PPFor UNIX local socket the address is the filename of the local socket..SH "OPTIONS".TP\fB-a \fIfile\fB\fRSpecify a file for dumping PDUs (for diagnostic purposes).The special name - (dash) sends output tostderr..TP\fB-S\fRDon't fork or make threads on connection requests. This is good fordebugging, but not recommended for real operation: Although theserver is asynchronous and non-blocking, it can be nice to keepa software malfunction (okay then, a crash) from affecting allcurrent users..TP\fB-1\fRLike -S but after one session the serverexits. This mode is for debugging \fBonly\fR..TP\fB-T\fROperate the server in threaded mode. The server creates a threadfor each connection rather than a fork a process. Only availableon UNIX systems that offers POSIX threads..TP\fB-s\fRUse the SR protocol (obsolete)..TP\fB-z\fRUse the Z39.50 protocol (default). This option and -scomplement each other.You can use both multiple times on the same commandline, between listener-specifications (see below). This way, youcan set up the server to listen for connections in both protocolsconcurrently, on different local ports..TP\fB-l \fIfile\fB\fRThe logfile..TP\fB-c \fIconfig\fB\fRA user option that serves as a specifier for somesort of configuration, usually a filename.The argument to this option is transferred to memberconfignameof thestatserv_options_block..TP\fB-v \fIlevel\fB\fRThe log level. Use a comma-separated list of members of the set{fatal,debug,warn,log,malloc,all,none}..TP\fB-u \fIuid\fB\fRSet user ID. Sets the real UID of the server process to that of thegiven user. It's useful if you aren't comfortable with having theserver run as root, but you need to start it as such to bind aprivileged port..TP\fB-w \fIdir\fB\fRThe server changes to this directory during before listening on incoming connections. This option is usefulwhen the server is operating from the \fBinetd\fRdaemon (see -i)..TP\fB-i\fRUse this to make the the server run from the\fBinetd\fR server (UNIX only)..TP\fB-install\fRUse this to install the server as an NT service(Windows 2000/NT only). Control the server by going to the Services in the Control Panel..TP\fB-remove\fRUse this to remove the server from the NT services(Windows 2000/NT only). .TP\fB-t \fIminutes\fB\fRIdle session timeout, in minutes..TP\fB-k \fIsize\fB\fRMaximum record size/message size, in kilobytes..TP\fB-d \fIdaemon\fB\fRSet name of daemon to be used in hosts access file.See\fBhosts_access\fR(5)and \fBtcpd\fR(8)..SH "FILES".PP\fIyaz-<version>/ztest/yaz-ztest.c\fR.PP\fIyaz-<version>/include/yaz/backend.h\fR.SH "SEE ALSO".PP\fByaz\fR(7).PPSection "Generic server" in the YAZ manual.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -