stopsocks.1
资源名称:socks5.zip [点击查看]
上传用户:sddyfurun
上传日期:2007-01-04
资源大小:525k
文件大小:2k
源码类别:
代理服务器
开发平台:
Unix_Linux
- .TH stopsocks 1 "1 Oct 1998"
- .SH NAME
- stopsocks - A script to manage standalone socks5 daemons
- .SH SYNOPSIS
- stopsocks [-p fIportfP][fIsignalfP] [[fIpidfP]]
- .SH DESCRIPTION
- The stopsocks script restarts and terminates standalone socks5 daemons. stopsocks is most useful for stopping preforked daemons. Use the command
- .PP
- .RS 5
- stopsocks -INT
- .RE
- .PP
- to stop all running daemons. This will attempt to gracefully stop socks5. If this is not successful, use the command
- .PP
- .RS 5
- stopsocks -KILL
- .RE
- .PP
- When you omit arguments, stopsocks attempts to send an HUP signal to the currently running socks5 daemon. The socks5 daemon stores its PID in /tmp/socks5.pid-{PORT}. You can change the filename that socks5 uses to store its PID with the --with-srvpidfile=fIfilenamefP configure option or with the SOCKS5_PIDFILE environment variable.
- .TP
- fIportfP
- .PP
- Identifies the port number of the socks5 daemon. When you include the -p flag as the first argument, stopsocks uses the next argument as the port number.
- .TP
- fIsignalfP
- .PP
- Specifies the signal to send to the process. Valid values are 1 and 9:
- .RS 5
- .HP 4
- HUP - instructs stopsocks to re-read the configuration file.
- .HP 4
- INT - interrupts the socks5 daemon. Allows socks5 to gracefully stop.
- .HP 5
- KILL - kills the socks5 daemon. The kill signal cannot be blocked.
- .RE
- .PP
- You may optionally include PID with the signal argument. When you omit fIpidfP, stopsocks sends fIsignalfP to the currently running socks5 daemon.
- .TP 5
- fIpidfP
- Specifies the process that receives fIsignalfP
- .PP
- .SH SEE ALSO
- socks5(1)
- .PP
- .SH AUTHOR
- NWSL SOCKS5 Development Team
- .br
- Send comments to socks5-comments@socks.nec.com