📄 radlast.1.man
字号:
.\" Copyright (c) 2004 Francesco Paolo Lovergine <frankie@debian.org>.\" See copyright section for conditions of redistribution.\" $Id: radlast.1.man,v 1.4.2.1 2004/08/02 18:40:06 flovergine Exp $.\".TH RADLAST 1 "Aug 25, 2004" "1.1" "Yard Radius Manual".SH NAMEradlast \- lists last users access and stats .SH SYNOPSIS.BR radlast " [ ".BR "\-chbx" " ] [".B "\-a ".IR acct_dir " ] [".B "\-f ".IR file " ] [".B "\-F ".IR format_string " ] [".B "\-H ".IR format_string " ] [".B "\-m " .IR month " ] [".B "\-u ".IR user " ] [".B "\-y ".IR year " ]".SH DESCRIPTIONThis program gives a detailed list of last accesses for one or moreusers. It does not collect statistical information. It's a fastand compact dumper of the traditional `detail' files of Livingston'sRadius. It's output is in some way similar to that of the Unix command `last'but also high-customizable (see FORMATS section below)..SH OPTIONS.TP.BR "\-a " acct_dirSets the accounting files directory prefix, instead of the default one, which is .I PREFIX/logs.TP.B \-bUses a single-row brief output format. .TP.B \-cShows records in cronological order..TP.BR "\-f " fileUses this radlast logfile instead of the default stdout..TP.B \-hPrints out usage of the command..TP.BR "\-F \-H " format_stringDefine customized formats for output rows and the header. See FORMATS section below..TP.BR "\-m " monthReports statistics for month .I monthwhere month is in the range 1-12..TP.BR "\-y " yearReports statistics for year.I yearthat is a four digits number..TP.B \-xShows extedend information (include traffic and phone CLIs).P.SH FORMATS.B radlastdoes allow the user to have a customized output format with the `-F' command line option (see above). The program accepts and outputs anycharacter in a format string and parse it to find some %-prefixedone-letter tokens. Those `a la' printf tokens are substituted withcorresponding entry values.Normal C substitution are performed for \\\\,\\t,\\n,\\r and \\%.The list of legal % tokens follows, any oher combination is parsed and ignored..TSl l.Token Value_%l Username%p Port ID%a NAS ip address%k Port type%c Client ip address%d Date in ctime format%t Online time in secs%T Online time in HH:MM:SS format%i Input traffic in bytes%I Input traffic in KBytes%o Output traffic in bytes%O Output traffic in KBytes%m Total traffic in bytes%M Total traffic in KBytes%s Input speed in bps (or UNKNOWN)%S Output speed in bps (or UNKNOWN)%A NAS called id (or UNKNOWN)%# Client calling id (or UNKNOWN)%% literal '%'.TE.SH FILES.TP.I "PREFIX/logs/YEAR/radlast-XX"These are the files which constitutes the radlast database. They are in binary not-indexed format and functionally equivalent to the text files`detail-XX'. The main difference is that detail files are organized ona per client base. See below..TP.I "PREFIX/logs/NAS/YEAR/detail-XX"These text files stores accounting information for every access server(NAS) listed in the .I clientsfile. Each user session is identified by a unique session-id and theseaccounting files store start/stop records for every single authenticatedsession. Information stored in those records, but for a group of standardones, strictly depend on the NAS model and operating system. .SH BUGSThe .BR "-x " optionapparently is not working..SH "SEE ALSO".BR builddbm (8),.BR radiusd (8),.BR radlist (1),.BR radtest (1),.BR radwatch (1),.BR radius_attributes (5),.SH AUTHORFrancesco Paolo Lovergine <francesco@yardradius.org>..PA complete list of contributors is contained in CREDITS file. You should get that file among other ones within your distribution and possibly installed under.BR "PREFIX/docs " directory.SH COPYRIGHTCopyright (C) 1997 Cristian Gafton. All rights reserved..PCopyright (C) 1999-2004 Francesco Paolo Lovergine. All rights reserved..PSee the LICENSE file enclosed within this software for conditions of use and distribution. This is a pure .B "ISO BSD Open Source License" .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -