16 |
[\fB-#\fR] |
[\fB-#\fR] |
17 |
[user ...] |
[user ...] |
18 |
.SH DESCRIPTION |
.SH DESCRIPTION |
19 |
\fBRadlast\fR lists the session of specified users, NASes, NAS ports |
.De radlast |
|
and hosts, in reverse time order. By default, each line of output |
|
|
contains the login name, NAS short name and port number from where the |
|
|
session was conducted, host IP address or name, the start and stop |
|
|
times for the session, and the duration of the session. If the session |
|
|
is still continuing, \fBradlast\fR will so indicate. |
|
|
.PP |
|
|
When specified the \fB-l\fR option, the following fields are output: |
|
|
login name, NAS short name, port number, prototype, port type, Session |
|
|
ID, Caller ID, Framed IP address, start and stop time of the session, |
|
|
and the duration of the session. |
|
|
.SH OPTIONS |
|
|
.IP "-#, -c, --count #" |
|
|
Where \fB#\fR represents any decimal number. When given this option |
|
|
\fBradlast\fR will output at most this many lines of information. |
|
|
For compatibility with some versions of last(1), the |
|
|
initial \fB-\fR sign can be omitted. |
|
|
.IP "-f, --file NAME" |
|
|
Read the specified file instead of the default \fB\*(RL/radwtmp\fR. |
|
|
.IP "-h, --host IP" |
|
|
Report logins from given host. Host can be either a name |
|
|
or a "dotted quad" internet address. |
|
|
.IP "-?, --help |
|
|
Display short usage message and exit. |
|
|
.IP "-n, --nas NAS" |
|
|
Report the logins from given Network Access Server (NAS). |
|
|
.IP "-L, --license" |
|
|
Display GNU General Public License and exit. |
|
|
.IP "-l, --long-format" |
|
|
"Long" output format. Report all the information stored in |
|
|
\fBradwtmp\fR file. |
|
|
.IP "-p, --port PORT" |
|
|
Report the logins on a given port. The port may be specified fully or |
|
|
abbreviated, e.g. ``radlast -p 3'' or ``radlast -p S03''. |
|
|
.IP "-s, --show-seconds" |
|
|
Report the duration of the login session in seconds instead of the |
|
|
default days, hours and minutes. |
|
|
.IP -t |
|
|
See \fB-p\fR. This flag is provided for compatibility with last(1). |
|
|
.IP "-w, --wide" |
|
|
Widen the duration field to show seconds as well as the default days, |
|
|
hours and minutes. |
|
|
|
|
|
.PP |
|
|
If multiple arguments are given, the logical OR operation between them |
|
|
is assumed, i.e. the information that applies to any of the arguments |
|
|
is printed. This does not apply to \fB-#\fR option. This option is |
|
|
always combined with the rest of command line by logical AND. |
|
|
.PP |
|
|
The pseudo-user ~reboot logs in on every reboot of network access |
|
|
server. |
|
|
.PP |
|
|
If \fBradlast\fR is interrupted, it indicates to what date the search |
|
|
was progressed. |
|
|
|
|
|
.SH BUGS |
|
|
The information in this manpage may be obsolete or incomplete. Please |
|
|
refer to texinfo documentation for full information about GNU Radius |
|
|
tools. |
|
|
|
|
20 |
.SH AUTHORS |
.SH AUTHORS |
21 |
\*(AU |
\*(AU |
|
|
|
|
.SH SEE ALSO |
|
|
radiusd(8rad), radwho(1rad), radzap(8rad), radgrep(1rad) |
|