Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: "HuBrIs" <huber1969@hotmail.com>
Subject: vdump of root ..et al
Date: 2000/02/11	[thread overview]
Message-ID: <wgWo4.3552$yt2.94307@nnrp3-w.snfc21.pbi.net> (raw)


I'm running Digital Unix 4.0f on 2 Alpha 4000s and 1 GS140.
I was wondering where I stand as far as the following tasks:
what do you do?...

1) rebooting: I hard-reboot just about every Sunday, just to clean out the
cobwebs.

2) vdump root: once a month I boot single user mode and vdump / /var and
/usr to tape.
                      I always wondered if my method was leaving critical
files open:

                      console>>> b -fl s
                      >ksh
                      > set -o emacs
                      > bcheckrc
                      > vdump -0 -f  /dev/nrmt0h /; \
                      > vdump -0 -f  /dev/nrmt0h /var; \
                      > vdump -0 -f  /dev/rmt0h /usr;

3) resetting binary errlog:    About once a month I:
                       >cd /var/adm
                       > mv binary.errlog old_binary.errlog
                       > touch binary.errlog

                      I know there's a better procedure, I'm afraid of
stopping the log daemon.
                      Does anyone know how to force a trivial message to go
to this daemon to test the log file?

4) bonus question: I need to get "yesterday's" date for ksh scripts.... any
ideas?
    I thought of having a cron job that would just write today's dat to a
log file at  one second before midnight,
    then you can read from that....


thanks and happy computing

PFH





             reply	other threads:[~2000-02-11  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-11  5:00 HuBrIs [this message]
2000-02-12  5:00 ` vdump of root ..et al Jesper Frank Nemholt
2000-02-14  5:00   ` John Sheldrake
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