*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> wtmpconvert (8)              
Title
Content
Arch
Section
 

wtmpconvert(8)

Contents


NAME    [Toc]    [Back]

       wtmpconvert  - Modify connect time accounting records from
       DIGITAL UNIX releases 4.0x and prior to new format

SYNOPSIS    [Toc]    [Back]

       /usr/lbin/wtmpconvert [-vnrp?h] input_file [output_file]

OPTIONS    [Toc]    [Back]

       Restore new format to old format.  Verbose. Display  lines
       while converting.  Do not preserve contents of input file.
       Formatted print only. Do not convert. (May  be  used  with
       the -r option).  Display usage message.

DESCRIPTION    [Toc]    [Back]

       The  wtmpconvert command reads records from a connect time
       accounting file, such as /var/adm/wtmp, and  converts  the
       record  format  to  the  updated struct utmp format. If no
       output file is specified or if the  output  file  path  is
       identical  to  the  input  file  path, wtmpconvert makes a
       backup copy of the original input file using the following
       algorithm:  If  filename.orig exists.  Where n is a unique
       number.

       The wtmpconvert command attempts to detect an  input  file
       that  is  in  the wrong format (for example, input file is
       already a new format file). A warning message is issued in
       this case, but conversion continues.

EXIT STATUS    [Toc]    [Back]

       Success.  An error occurred.

EXAMPLES    [Toc]    [Back]

       To  convert  an old format accounting file to the new format:
 wtmpconvert /var/adm/wtmp.prev

              Upon completion of this command, /var/adm/wtmp.prev
              will  have  been  converted  to the new format. The
              original   /var/adm/wtmp.prev   is    renamed    to
              /var/adm/wtmp.prev.orig.  To convert a wtmp file in
              new  format  to  the  old  format:  wtmpconvert  -r
              /var/adm/wtmp /var/adm/wtmp.old

FILES    [Toc]    [Back]

       Accounting  header  files  that  define the format for the
       login database file.   The  active  login/logoff  database
       files.

SEE ALSO    [Toc]    [Back]

      
      
       Commands:   acct(8),   acctcon(8),  acctmerg(8),  date(1),
       runacct(8)

       Functions: getutent(3)

       Files: utmp(4), wtmp(4)



                                                   wtmpconvert(8)
[ Back ]
 Similar pages
Name OS Title
llconvert Tru64 Modify lastlog records from DIGITAL UNIX releases 4.0x and prior to new format
wtmpfix Tru64 Modify connect time accounting records to change formats and to make corrections in the records
acctwtmp Tru64 Modify connect time accounting records to change formats and to make corrections in the records
fwtmp Tru64 Modify connect time accounting records to change formats and to make corrections in the records
fwtmp HP-UX manipulate connect accounting records
wtmpfix HP-UX manipulate connect accounting records
fwtmp IRIX manipulate connect accounting records
ac FreeBSD connect time accounting
acctcon1 HP-UX connect-time accounting
acctcon IRIX connect-time accounting
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service