Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* vdump simple question
@ 2002-03-01  4:37 Matthew Tan
  2002-03-01 10:19 ` Emmanuel Choquet
  2002-03-01 16:31 ` user1
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Tan @ 2002-03-01  4:37 UTC (permalink / raw)


Hello,

I am running Digital Unix 4.0d. 

I am trying to log my vdump messages into a log e.g. when I execute
this command:


/sbin/vdump -0 -C -u -f /dev/nrmth0h / >> dumplog

path     : /
dev/fset : root_domain#root
type     : advfs
advfs id : 0x34b489e2.000d6f61.1
vdump: Date of last level 0 dump: the start of the epoch
vdump: Dumping directories
vdump: Dumping 64200668 bytes, 201 directories, 1987 files
vdump: Dumping regular files

vdump: Status at Fri Mar  1 12:04:05 2002
vdump: Dumped  68136924 of 64200668 bytes; 106.1% completed
vdump: Dumped  201 of 201 directories; 100.0% completed
vdump: Dumped  1987 of 1987 files; 100.0% completed
vdump: Dump completed at Fri Mar  1 12:04:05 2002

But the dumplog file is empty. I am puzzled. Why is this so?

Thanks in advance!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vdump simple question
  2002-03-01  4:37 vdump simple question Matthew Tan
@ 2002-03-01 10:19 ` Emmanuel Choquet
  2002-03-01 16:31 ` user1
  1 sibling, 0 replies; 3+ messages in thread
From: Emmanuel Choquet @ 2002-03-01 10:19 UTC (permalink / raw)


happy236@yahoo.com (Matthew Tan) wrote in message news:<77a91b88.0202282037.5e3f78f6@posting.google.com>...
# ksh
# /sbin/vdump -0 -C -u -f /dev/nrmth0h / 2>> dumplog

log mess(-ages) go to stderr not stdout

Cheers,

> Hello,
> 
> I am running Digital Unix 4.0d. 
> 
> I am trying to log my vdump messages into a log e.g. when I execute
> this command:
> 
> 
> /sbin/vdump -0 -C -u -f /dev/nrmth0h / >> dumplog
> 
> path     : /
> dev/fset : root_domain#root
> type     : advfs
> advfs id : 0x34b489e2.000d6f61.1
> vdump: Date of last level 0 dump: the start of the epoch
> vdump: Dumping directories
> vdump: Dumping 64200668 bytes, 201 directories, 1987 files
> vdump: Dumping regular files
> 
> vdump: Status at Fri Mar  1 12:04:05 2002
> vdump: Dumped  68136924 of 64200668 bytes; 106.1% completed
> vdump: Dumped  201 of 201 directories; 100.0% completed
> vdump: Dumped  1987 of 1987 files; 100.0% completed
> vdump: Dump completed at Fri Mar  1 12:04:05 2002
> 
> But the dumplog file is empty. I am puzzled. Why is this so?
> 
> Thanks in advance!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vdump simple question
  2002-03-01  4:37 vdump simple question Matthew Tan
  2002-03-01 10:19 ` Emmanuel Choquet
@ 2002-03-01 16:31 ` user1
  1 sibling, 0 replies; 3+ messages in thread
From: user1 @ 2002-03-01 16:31 UTC (permalink / raw)


happy236@yahoo.com (Matthew Tan) writes:
: I am running Digital Unix 4.0d. 
  
: I am trying to log my vdump messages into a log e.g. when I execute
: this command:
  
: /sbin/vdump -0 -C -u -f /dev/nrmth0h /  >> dumplog

: But the dumplog file is empty. I am puzzled. Why is this so?
  
    Add 2>&1 at the end of that command as in:

        /sbin/vdump -0 -C -u -f /dev/nrmth0h /  >> dumplog 2>&1

    -- mahendra



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-01 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-01  4:37 vdump simple question Matthew Tan
2002-03-01 10:19 ` Emmanuel Choquet
2002-03-01 16:31 ` user1

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