radlast






radlast ‐ report last logins from Radius database.

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

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.



‐#, ‐c, ‐‐count #
     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, ‐‐file NAME
     Read the specified file instead of the default
     /var/log/radwtmp.

‐h, ‐‐host IP
     Report logins from given host. Host can be either a
     name or a "dotted quad" internet address.

‐?, ‐‐help
     Display short usage message and exit.

‐n, ‐‐nas NAS
     Report the logins from given Network Access Server
     (NAS).

‐L, ‐‐license
     Display GNU General Public License and exit.

‐l, ‐‐long‐format
     "Long" output format. Report all the information stored
     in radwtmp file.

‐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’’.










                             ‐2‐


‐s, ‐‐show‐seconds
     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, ‐‐wide
     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.


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







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