Unix Technical Forum

archecker exit status

This is a discussion on archecker exit status within the Informix forums, part of the Database Server Software category; --> Hello, Going to start verifying backups with archecker ( onbar -v ). Going to do it in an aix ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 04:29 PM
floyd@fwellers.com
 
Posts: n/a
Default archecker exit status

Hello,
Going to start verifying backups with archecker ( onbar -v ).
Going to do it in an aix shell script. I know I can have the script checkthe last line of the ac_msg.log for the exit status, but I really would have no way of knowing whether that line in the msg.log is from this run,or some previous run, unless I have the script do some time checking.

I was just wondering, if I just have the script check the exit status of the onbar -v command, ( $? ), will that be accurate enough. In other words, if archecker fails any of it's scans, or anything that would prevent asuccess in the last line of the msg.log, would it also return with a non-zero value to the calling shell script.

That would be much easier for me if it works like that.
Does anyone know ?

Thanks,
Floyd



========================
email: floyd@fwellers.com
Home: 703-430-0805
Cell: 703-477-6045
========================

www.one.org
www.myspace.com/onepriority





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:27 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com