wtmpconvert man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

wtmpconvert(8)							wtmpconvert(8)

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

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

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

       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.

       Success.	 An error occurred.

       To convert an old format accounting file to the new format: wtmpconvert

	      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

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

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

       Functions: getutent(3)

       Files: utmp(4), wtmp(4)


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net