Re: mksysb log file
From: Nick H (UK) (spamtrap_at_mridangam.com)
Date: 10/09/03
- Next message: Rickie: "Newbie .profile concept?"
- Previous message: Nick H (UK): "Re: System Startup Script Question"
- In reply to: yls177: "Re: mksysb log file"
- Next in thread: yls177: "Re: mksysb log file"
- Reply: yls177: "Re: mksysb log file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 09 Oct 2003 10:41:13 +0100
yls177 wrote:
> steve@wakefieldrfc.freeserve.co.uk (Steve Nottingham) wrote in message news:<42862645.0310080232.2b797aab@posting.google.com>...
>
>>>it is possible to get a log file of whether it is successful and if
>>>failed, which part failed. can someone instruct how? thanks
>>
>>mksysb (like most other commands) by default sends its output to the
>>session that ran the command, in this output it also tells you if it
>>worked or not, or you could do "echo $?" after the command has
>>completed. If you run it from cron or some other schedular, to trap
>>to a log file:
>>mksysb -i /dev/rmt0 /tmp/mksysb.log 2>&1
>>
>>Steve
>
>
> can i do a mysksb -i /dev/rmt0 > /tmp/mysysb.log
maksysb backs up the rootvg which would include /tmp. Better to write
to a file which is not in a file system that you are backing up.
-- Nick H (UK)
- Next message: Rickie: "Newbie .profile concept?"
- Previous message: Nick H (UK): "Re: System Startup Script Question"
- In reply to: yls177: "Re: mksysb log file"
- Next in thread: yls177: "Re: mksysb log file"
- Reply: yls177: "Re: mksysb log file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|