Archives of the TeradataForum
Message Posted: Tue, 06 Jun 2006 @ 12:45:03 GMT
Subj: | | Re: How to know state by script ? |
|
From: | | BOYART Christian |
thank's for your answer Victor and anonymous,
it's right with cnsrun :
# cat cnsrun_qryconfig.sh
#! /bin/csh
cnsrun -utility qryconfig -commands "{ all } { quit;}" -ok -machine
"`/usr/ntos/bin/cnscim`" -debug 1 >>&! /tmp/config.out &
#
cnsrun -utility showlocks -commands " { quit;}" -ok -machine
"`/usr/ntos/bin/cnscim`" -debug 1 >>&! /tmp/locks.out &
Best regards
nice day to you
|