Query: wtmpconvert
OS: osf1
Section: 8
Links: osf1 man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
wtmpconvert(8) System Manager's Manual wtmpconvert(8)NAMEwtmpconvert - Modify connect time accounting records from DIGITAL UNIX releases 4.0x and prior to new formatSYNOPSIS/usr/lbin/wtmpconvert [-vnrp?h] input_file [output_file]OPTIONSRestore 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.DESCRIPTIONThe 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 STATUSSuccess. An error occurred.EXAMPLESTo 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.oldFILESAccounting header files that define the format for the login database file. The active login/logoff database files.SEE ALSOCommands: acct(8), acctcon(8), acctmerg(8), date(1), runacct(8) Functions: getutent(3) Files: utmp(4), wtmp(4) wtmpconvert(8)
Related Man Pages |
---|
writetmp(8) - debian |
utmp(5) - netbsd |
acctcon(8) - osf1 |
fwtmp(8) - osf1 |
wtmpfix(8) - osf1 |
Similar Topics in the Unix Linux Community |
---|
logs |
crontab in AIX |
doubt regarding process usage |
runlevel issue |
Activity Tracing - Using sendmail. |