[BACK]Return to last.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / last

Diff for /src/usr.bin/last/last.1 between version 1.21 and 1.22

version 1.21, 2004/06/16 22:30:07 version 1.22, 2006/10/27 07:16:25
Line 39 
Line 39 
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm last  .Nm last
 .Op Fl csT  .Op Fl csT
 .Op Fl Ns Ar number  .Op Fl d Ar date
 .Op Fl f Ar file  .Op Fl f Ar file
 .Op Fl h Ar host  .Op Fl h Ar host
 .Op Fl n Ar number  .Op Fl n Ar number
 .Op Fl t Ar tty  .Op Fl t Ar tty
 .Op Fl d Ar [[[CC]YY]MMDD]hhmm[.SS]  
 .Op Ar user ...  .Op Ar user ...
 .Sh DESCRIPTION  .Sh DESCRIPTION
 The  The
 .Nm  .Nm
 utility will either (1) list the sessions of specified  utility will either list the sessions of specified
 .Ar users ,  .Ar users ,
 .Ar ttys ,  .Ar ttys ,
 and  and
 .Ar hosts ,  .Ar hosts ,
 in reverse time order,  in reverse time order,
 or (2) list the users logged in at a specified snapshot date & time  or list the users logged in at a specified snapshot date and time
 in reverse time order.  in reverse time order.
 Each line of output contains  Each line of output contains
 the user name, the tty from which the session was conducted, any  the user name, the tty from which the session was conducted, any
Line 68 
Line 67 
 .Pp  .Pp
 The options are as follows:  The options are as follows:
 .Bl -tag -width "-n number"  .Bl -tag -width "-n number"
 .It Fl Ns Ar number  
 Same as the  
 .Fl n  
 option (deprecated).  
 .It Fl c  .It Fl c
 Calculates the total time displayed and prints it after the output.  Calculates the total time displayed and prints it after the output.
 .It Fl f Ar file  
 .Nm  
 reads the file  
 .Ar file  
 instead of the default,  
 .Pa /var/log/wtmp .  
 .It Fl n Ar number  
 Limits the report to  
 .Ar number  
 lines.  
 .It Fl s  
 Display time values in seconds since the epoch, instead of formatted dates.  
 .It Fl t Ar tty  
 Specify the  
 .Ar tty .  
 tty names may be given fully or abbreviated, for example,  
 .Ic last -t 03  
 is  
 equivalent to  
 .Ic last -t tty03 .  
 .It Fl h Ar host  
 .Ar host  
 names may be names or internet numbers.  
 .It Fl T  
 Display better time information, including seconds.  
 .It Fl d Ar date  .It Fl d Ar date
 Specify the snapshot date & time.  Specify the snapshot date and time.
 All users logged in at the snapshot date & time will  All users logged in at the snapshot date and time will
 be reported.  be reported.
 This may be used with the  This may be used with the
 .Fl f  .Fl f
Line 153 
Line 123 
 If the  If the
 .Dq SS  .Dq SS
 letter pair is not specified, the value defaults to 0.  letter pair is not specified, the value defaults to 0.
   .It Fl f Ar file
   .Nm
   reads the file
   .Ar file
   instead of the default,
   .Pa /var/log/wtmp .
   .It Fl h Ar host
   .Ar host
   names may be names or internet numbers.
   .It Fl n Ar number
   Limits the report to
   .Ar number
   lines.
   The format
   .Fl Ns Ar number
   is also supported,
   but is deprecated.
   .It Fl s
   Display time values in seconds since the epoch, instead of formatted dates.
   .It Fl T
   Display better time information, including seconds.
   .It Fl t Ar tty
   Specify the
   .Ar tty .
   tty names may be given fully or abbreviated, for example,
   .Ic last -t 03
   is
   equivalent to
   .Ic last -t tty03 .
 .El  .El
 .Pp  .Pp
 If  If

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22