Display a history of infx command executions usageinfx hist [ order class service params result ] optional order - change output order class - onnly show specific class service - only show executions of this service params - only show executions with these params result - only show executions with this result exampledemo1@bobii:/home/informix>infx hist class start service params result ok Wed Mar 21 05:55:09 2012 dbphoto name=snap took: 3.52 secs ok Wed Mar 21 05:55:04 2012 photo name=snap took: 4.44 secs ok Wed Mar 21 05:55:03 2012 sample-snap fork=no script=sample/snap took: 10.24 secs ok Wed Mar 21 01:00:24 2012 backup-logs backup-logs fork=no took: 7.12 secs ok Tue Mar 20 23:55:08 2012 dbphoto name=snap took: 3.53 secs ok Tue Mar 20 23:55:03 2012 photo name=snap took: 4.27 secs ok Tue Mar 20 23:55:02 2012 sample-snap fork=no script=sample/snap took: 10.09 secs ok Tue Mar 20 22:00:07 2012 pool func=clean path=all took: 0.39 secs ... snip ... Only show the errors. demo1@bobii:/home/informix>infx hist class=error class start service params result error Tue Mar 20 09:20:20 2012 backup-dbs type=hot failed - ret=-1 error Tue Mar 20 08:52:19 2012 restore type=warm nothing to warm restor... error Mon Mar 19 19:33:13 2012 backup-dbs type=verify not online (1), can't ... error Mon Mar 19 18:03:30 2012 restore type=full ontape -r -v -d FAILED... error Thu Mar 1 22:00:22 2012 backup-dbs backup-dbs fork=no ontape -s -L 0 -v -d F... error Wed Feb 29 22:00:22 2012 backup-dbs backup-dbs fork=no ontape -s -L 0 -v -d F... error Sat Feb 18 15:00:03 2012 space func=new chunk=pool.002 size=25 space=p1 /infx/inst/demo1/chks/... error Sat Feb 18 14:57:33 2012 space func=newchunk chunk=demo1.001 pool=yes size=1 failed - ret=-1 error Sat Feb 18 14:56:59 2012 pool func=clean path=/tmp/demo1_pool failed - ret=-1 error Sat Feb 18 14:54:18 2012 space func=del chunk=m-mtest.000 failed - ret=-1 error Sat Feb 18 14:51:32 2012 space func=del chunk=autotest failed - ret=-1 error Sat Feb 18 14:51:23 2012 space func=newchunk chunk=/tmp/demo1.001 failed - ret=-1 Only results with "failed" in them. demo1@bobii:/home/informix>infx hist result=fail class start service params result error Tue Mar 20 09:20:20 2012 backup-dbs type=hot failed - ret=-1 error Mon Mar 19 18:03:30 2012 restore type=full ontape -r -v -d FAILED... error Sat Feb 18 14:57:33 2012 space func=newchunk chunk=demo1.001 pool=yes size=1 failed - ret=-1 error Sat Feb 18 14:56:59 2012 pool func=clean path=/tmp/demo1_pool failed - ret=-1 error Sat Feb 18 14:54:18 2012 space func=del chunk=m-mtest.000 failed - ret=-1 error Sat Feb 18 14:51:32 2012 space func=del chunk=autotest failed - ret=-1 error Sat Feb 18 14:51:23 2012 space func=newchunk chunk=/tmp/demo1.001 failed - ret=-1 notes
|