📄 radctl.texi
字号:
@c This is part of the Radius manual.@c Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.@c Written by Sergey Poznyakoff@c See file radius.texi for copying conditions.@comment *******************************************************************@node Radctl, Builddbm, Radauth, Utility Programs@section @command{radctl}@pindex radctl@command{Radctl} is a control interface to the @command{radiusd}daemon. It allows theuser running it to query @command{radiusd} about various aspects of itswork and to issue administrative commands to it. The syntax is@smallexampleradctl @var{command} [@var{args}]@end smallexample@noindentwhere @var{command} is a command telling @command{radctl} which actions totake, and @var{args} are optional arguments to the command. Only onecommand can be specified per invocation.The valid commands are as follows:@table @code@item start [@var{args}]If @command{radiusd} is not running already, it is started. Whenpresent, @var{args} are passed as the command line to theserver.@item stopStops running @command{radiusd}.@item restart [@var{args}]Stops the server and then starts it again. When present, @var{args}are passed as the command line to the server.@item reloadCauses the running @command{radiusd} server to reread its configuration files.@item dumpdbTells @command{radiusd} to dump its user hash table into the file@file{@var{radlog}/radius.parse}. This can be used for debugging configuration files.@c @item status@c @command{radiusd} reports its memory usage statistics. The information is@c logged at the @code{Info} log level.@item whichReports the running version of @command{radiusd}. This command showsthe line of @command{ps(1)} describing the running copy of@command{radiusd} program. The exact look depends on the version ofoperating system you are running. Please refer to ``man ps'' for moredetail on @command{ps} output.Here is an example of what @command{radctl which} prints on@code{GNU/Linux}:@smallexample19692 ? 01:53:11 radiusd@end smallexampleHere, first field is the @acronym{PID} of the process, second field(@samp{?}) indicates that the running program has detached from thecontrolling terminal, the third field gives total amount of@acronym{CPU} time used by the program, and, finally, the last fieldshows the full name under which the command was invoked.@end table
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -