ADSM-L

Re: AW: DSMSERV UNLOADDB

2004-10-07 16:37:54
Subject: Re: AW: DSMSERV UNLOADDB
From: Nicholas Cassimatis <nickpc AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 7 Oct 2004 16:40:29 -0400




What about:

nohup command >logfile 2>%1
tail -f logfile

Nick Cassimatis
nickpc AT us.ibm DOT com

He who laughs last has a good backup.



                                                                       
             Richard Sims                                              
             <rbs AT BU DOT EDU>                                              
             Sent by: "ADSM:                                            To
             Dist Stor                 ADSM-L AT VM.MARIST DOT EDU            
             Manager"                                                   cc
             <[email protected]                                         
             .EDU>                                                 Subject
                                       Re: AW: DSMSERV UNLOADDB        
                                                                       
             10/07/2004 11:56                                          
             AM                                                        
                                                                       
                                                                       
             Please respond to                                         
             "ADSM: Dist Stor                                          
                 Manager"                                              
                                                                       
                                                                       




On Oct 7, 2004, at 11:34 AM, Sternecker, Peter wrote:

> if your TSM-Server runs on Unix
>
> shell command | tee path_to_logfile
>
> this sends output to the terminal and the logfile.

That will pipe Stdout, but not Stderr, where scary stuff
goes.  You may instead want to do

     shell command 2>&1 | tee path_to_logfile

or more conveniently use Cshell:

     command |& tee path_to_logfile

This keeps important msgs from being lost.

    Richard Sims

GIF image

GIF image

GIF image

<Prev in Thread] Current Thread [Next in Thread>