tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Liang, Warren" <warren.liang () marconi ! com>
To: tru64-unix-managers
Subject: Trim wtmp and utmp files
Date: Thu, 20 Dec 2001 23:25:45 +0000	[thread overview]
Message-ID: <102653644221788.tru64-unix-managers.marc@archive.invalid> (raw)

Hello:

Files /var/adm/wtmp and utmp are getting bigger. I trimmed both of them by
using the following commands:
# cp /var/adm/wtmp /var/adm/wtmp_Nov2001
# cp /dev/null  /var/adm/wtmp

Then, commands 'who -b' and 'who -r' do not display anything anymore. Since
command who accesses wtmp and utmp files, I assume the trimming process must
have something to do with the 'who -b'. If it is the reason, what is the
correct method to maintain both files in a suitable size and also make 'who
-b; who -r' display the proper information?

Thanks in advance.

O/S: DEC Tur64 V5.0  

Warren

                 reply	other threads:[~2001-12-20 23:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox