radlast(1)

NAME
radlast - report last logins from Radius database.

SYNOPSIS
radlast [-f file] [-h host] [-n nas] [-l] [-p port] [-s] [-t port] [-w] [-#] [user ...]

NOTE
The information in this manpage may be obsolete or incomplete. Please refer to texinfo documentation for full information about GNU Radius tools.

DESCRIPTION
Radlast lists the session of specified users, NASes, NAS ports 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, radlast will so indicate.

When specified the -l 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.

OPTIONS

-#  Where # represents any decimal number. When given this option radlast will output at most this many lines of information. For compatibility with some versions of last(1), the initial - sign can be omitted.

-f  Read the specified file instead of the default /usr/adm/radwtmp.

-h  Report the logins from given host. Host can be either a name or a "dotted quad" internet address.

-n  Report the logins from given Network Access Server (NAS).

-l  "Long" output format. Report all the information stored in radwtmp file.

-p  Report the logins on a given port. The port may be specified fully or abbreviated, e.g. ``radlast -p 3'' or ``radlast -p S03''.

-s  Report the duration of the login session in seconds instead of the default days, hours and minutes.

-t  See -p. This flag is provided for compatibility with last(1).

-w  Widen the duration field to show seconds as well as the default days, hours and minutes.

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 -# option. This option is always combined with the rest of command line by logical AND.

The pseudo-user ~reboot logs in on every reboot of network access server.

If radlast is interrupted, it indicates to what date the search was progressed.

AUTHORS
Sergey Poznyakoff, gray@farlep.net

SEE ALSO
radiusd(8rad), radwho(1rad), radzap(8rad), radgrep(1rad)