SSH Tectia Client 4.4.2 Copyright (c) 2000-2006 SSH Communications Security Corp - http://www.ssh.com/ This copy of SSH Tectia client is a commercial version licensed to CD-ROM customer, N/A. You are authorized to use this System for approved business purposes only. Use for any other purpose is prohibited. All transactional records, reports, e-mail, software, and other data generated by or residing upon this System are the property of the Company and may be used by the Company for any purpose. Authorized and unauthorized activities may be monitored. sshd2[3126]: WARNING: Could not chdir to home directory /export/home/pr72496: No such file or directory Last login: Sat Nov 10 2007 20:04:38 +0800 from 172.23.34.161 Your password will expire in 9 days. bs : stty erase dusk : du -sk *| sort -n -k 1,1 llg : ls -l|grep nsg : netstat -an |grep psg : ps -ef|grep psgg : ps -ef|grep |grep pkg : pkginfo |grep -i srg : showrev -p |grep ucbps : /usr/ucb/ps -auxwww|grep tart : tar tvf < file name > jart : jar tvf < file name> ssunsmm01:rsh:>swsa Enter Reference Number (Max 50 Chars) : 9120915 Comments (Max 80 chars) : Bin file chnages Your request will be logged into : SSUNACS7 /powerpaklog/scripts_log_storage/ssunsmm01.apac.nsroot.net.pr72496.11November2007.Txai9w Type in pr72496's password: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pr72496 Logged in from (apacsgctin0147.apac.nsroot.ne workstation DATE: 11/11/2007 TIME: 06:50:05 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Host name : ssunsmm01 Your reference number : 9120915 Comments (Max 80 Chars) : Bin file chnages ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ $ $ $ $ pwd / $ cd ksh: /export/home/pr72496: not found $ cd /etc/hostcfg $ ls 1452.stats Masking 1452cache_stat R2-BCV 1452session_stats RDF-A 1923cahce_stat RDF-S COB hdscci $ cd RDF-A $ s ksh: s: not found $ ls 1452_1739_aixrdfg_17 1923_1587_rdfg_17 1452_1739_hprdfg_16 2337_2340_aixrdfg_17 1452_1739_strrdfg_20 2337_2340_hprdfg_16 1452_1739_sunrdfg_15 2337_2340_sunrdfg_15 1923_1587_rdfg_15 xxx 1923_1587_rdfg_16 $ la -l ksh: la: not found $ ls -la total 28 drwxr-xr-x 2 pr72496 storageonly 512 Nov 10 20:54 . drwxrwxr-x 8 root storageonly 512 Nov 10 20:05 .. -rw-r--r-- 1 pr72496 storageonly 161 Nov 10 21:08 .query.sh -rw-r--r-- 1 pr72496 storageonly 250 Nov 10 20:45 1452_1739_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 590 Nov 10 20:44 1452_1739_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:45 1452_1739_strrdfg_20 -rw-r--r-- 1 pr72496 storageonly 940 Nov 10 20:12 1452_1739_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 320 Nov 10 20:45 1923_1587_rdfg_15 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:46 1923_1587_rdfg_16 -rw-r--r-- 1 pr72496 storageonly 110 Nov 10 20:46 1923_1587_rdfg_17 -rw-r--r-- 1 pr72496 storageonly 600 Nov 10 20:47 2337_2340_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 360 Nov 10 20:47 2337_2340_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 260 Nov 10 20:46 2337_2340_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 948 Nov 10 20:44 xxx $ ls -lrta total 28 drwxrwxr-x 8 root storageonly 512 Nov 10 20:05 .. -rw-r--r-- 1 pr72496 storageonly 940 Nov 10 20:12 1452_1739_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 948 Nov 10 20:44 xxx -rw-r--r-- 1 pr72496 storageonly 590 Nov 10 20:44 1452_1739_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 250 Nov 10 20:45 1452_1739_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:45 1452_1739_strrdfg_20 -rw-r--r-- 1 pr72496 storageonly 320 Nov 10 20:45 1923_1587_rdfg_15 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:46 1923_1587_rdfg_16 -rw-r--r-- 1 pr72496 storageonly 110 Nov 10 20:46 1923_1587_rdfg_17 -rw-r--r-- 1 pr72496 storageonly 260 Nov 10 20:46 2337_2340_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 360 Nov 10 20:47 2337_2340_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 600 Nov 10 20:47 2337_2340_aixrdfg_17 drwxr-xr-x 2 pr72496 storageonly 512 Nov 10 20:54 . -rw-r--r-- 1 pr72496 storageonly 161 Nov 10 21:08 .query.sh $ cat .query.sh for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`; pbrun symrdf -sid $prd -f $i -rdfg $rdfg verify -`echo $1`; done $ sh -x ./.query.sh consistent + awk {print $9} + ls -lrt + cut -d_ -f1 + echo 1452_1739_sunrdfg_15 prd=1452 + cut -d_ -f4 + echo 1452_1739_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_sunrdfg_15 -rdfg 15 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo xxx prd=xxx + cut -d_ -f4 + echo xxx rdfg=xxx + echo consistent + pbrun symrdf -sid xxx -f xxx -rdfg xxx verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 1452_1739_hprdfg_16 prd=1452 + cut -d_ -f4 + echo 1452_1739_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_hprdfg_16 -rdfg 16 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 1452_1739_aixrdfg_17 prd=1452 + cut -d_ -f4 + echo 1452_1739_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_aixrdfg_17 -rdfg 17 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 1452_1739_strrdfg_20 prd=1452 + cut -d_ -f4 + echo 1452_1739_strrdfg_20 rdfg=20 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_strrdfg_20 -rdfg 20 verify -consistent ./.query.sh: pbrun: not found + cut -d_+ echo 1923_1587_rdfg_15 -f1 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_15 -rdfg 15 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 1923_1587_rdfg_16 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_16 -rdfg 16 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 1923_1587_rdfg_17 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_17 -rdfg 17 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 2337_2340_sunrdfg_15 prd=2337 + cut -d_ -f4 + echo 2337_2340_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_sunrdfg_15 -rdfg 15 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 2337_2340_hprdfg_16 prd=2337 + cut -d_ -f4 + echo 2337_2340_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_hprdfg_16 -rdfg 16 verify -consistent ./.query.sh: pbrun: not found + cut -d_ -f1 + echo 2337_2340_aixrdfg_17 prd=2337 + cut -d_ -f4 + echo 2337_2340_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_aixrdfg_17 -rdfg 17 verify -consistent ./.query.sh: pbrun: not found $ PATH=$PATH:/usr/local/bin;export PATH $ kk ksh: ^[kk: not found $ bash -o vi bash-3.00$ TH=$PATH:/usr/local/bin;export PATH bash-3.00$ PATH=$PATH:/usr/local/bin;export PATH bash-3.00$ ls -la total 28 drwxr-xr-x 2 pr72496 storageonly 512 Nov 10 20:54 . drwxrwxr-x 8 root storageonly 512 Nov 10 20:05 .. -rw-r--r-- 1 pr72496 storageonly 161 Nov 10 21:08 .query.sh -rw-r--r-- 1 pr72496 storageonly 250 Nov 10 20:45 1452_1739_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 590 Nov 10 20:44 1452_1739_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:45 1452_1739_strrdfg_20 -rw-r--r-- 1 pr72496 storageonly 940 Nov 10 20:12 1452_1739_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 320 Nov 10 20:45 1923_1587_rdfg_15 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:46 1923_1587_rdfg_16 -rw-r--r-- 1 pr72496 storageonly 110 Nov 10 20:46 1923_1587_rdfg_17 -rw-r--r-- 1 pr72496 storageonly 600 Nov 10 20:47 2337_2340_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 360 Nov 10 20:47 2337_2340_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 260 Nov 10 20:46 2337_2340_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 948 Nov 10 20:44 xxx bash-3.00$ sh -x ./.query.sh consistent + awk {print $9} + ls -lrt + cut -d_ -f1 + echo 1452_1739_sunrdfg_15 prd=1452 + cut -d_ -f4 + echo 1452_1739_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_sunrdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo xxx prd=xxx + cut -d_ -f4 + echo xxx rdfg=xxx + echo consistent + pbrun symrdf -sid xxx -f xxx -rdfg xxx verify -consistent 'xxx': Invalid RDF group value. + cut -d_ -f1 + echo 1452_1739_hprdfg_16 prd=1452 + cut -d_ -f4 + echo 1452_1739_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_hprdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1452_1739_aixrdfg_17 prd=1452 + cut -d_ -f4 + echo 1452_1739_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_aixrdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1452_1739_strrdfg_20 prd=1452 + cut -d_ -f4 + echo 1452_1739_strrdfg_20 rdfg=20 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_strrdfg_20 -rdfg 20 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_15 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_16 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_17 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_sunrdfg_15 prd=2337 + cut -d_ -f4 + echo 2337_2340_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_sunrdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_hprdfg_16 prd=2337 + cut -d_ -f4 + echo 2337_2340_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_hprdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_aixrdfg_17 prd=2337 + cut -d_ -f4 + echo 2337_2340_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_aixrdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. bash-3.00$ pwd /etc/hostcfg/RDF-A bash-3.00$ cd .. bash-3.00$ ls 1452.stats 1452session_stats COB R2-BCV RDF-S 1452cache_stat 1923cahce_stat Masking RDF-A hdscci bash-3.00$ pwd /etc/hostcfg bash-3.00$ bash-3.00$ bash-3.00$ bash-3.00$ pwd /etc/hostcfg bash-3.00$ ls 1452.stats 1452session_stats COB R2-BCV RDF-S 1452cache_stat 1923cahce_stat Masking RDF-A hdscci bash-3.00$ cd RDF-A bash-3.00$ ls 1452_1739_aixrdfg_17 1452_1739_sunrdfg_15 1923_1587_rdfg_17 2337_2340_sunrdfg_15 1452_1739_hprdfg_16 1923_1587_rdfg_15 2337_2340_aixrdfg_17 xxx 1452_1739_strrdfg_20 1923_1587_rdfg_16 2337_2340_hprdfg_16 bash-3.00$ bash-3.00$ bash-3.00$ bash-3.00$ bash-3.00$ bash-3.00$ ls -la total 28 drwxr-xr-x 2 pr72496 storageonly 512 Nov 10 20:54 . drwxrwxr-x 8 root storageonly 512 Nov 10 20:05 .. -rw-r--r-- 1 pr72496 storageonly 161 Nov 10 21:08 .query.sh -rw-r--r-- 1 pr72496 storageonly 250 Nov 10 20:45 1452_1739_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 590 Nov 10 20:44 1452_1739_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:45 1452_1739_strrdfg_20 -rw-r--r-- 1 pr72496 storageonly 940 Nov 10 20:12 1452_1739_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 320 Nov 10 20:45 1923_1587_rdfg_15 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:46 1923_1587_rdfg_16 -rw-r--r-- 1 pr72496 storageonly 110 Nov 10 20:46 1923_1587_rdfg_17 -rw-r--r-- 1 pr72496 storageonly 600 Nov 10 20:47 2337_2340_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 360 Nov 10 20:47 2337_2340_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 260 Nov 10 20:46 2337_2340_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 948 Nov 10 20:44 xxx bash-3.00$ .query.sh bash-3.00$ sh -x .query.sh consistent + awk {print $9} + ls -lrt + cut -d_ -f1 + echo 1452_1739_sunrdfg_15 prd=1452 + cut -d_ -f4 + echo 1452_1739_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_sunrdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo xxx prd=xxx + cut -d_ -f4 + echo xxx rdfg=xxx + echo consistent + pbrun symrdf -sid xxx -f xxx -rdfg xxx verify -consistent 'xxx': Invalid RDF group value. + cut -d_ -f1 + echo 1452_1739_hprdfg_16 prd=1452 + cut -d_ -f4 + echo 1452_1739_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_hprdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1452_1739_aixrdfg_17 prd=1452 + cut -d_ -f4 + echo 1452_1739_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_aixrdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1452_1739_strrdfg_20 prd=1452 + cut -d_ -f4 + echo 1452_1739_strrdfg_20 rdfg=20 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_strrdfg_20 -rdfg 20 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_15 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_16 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_17 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_sunrdfg_15 prd=2337 + cut -d_ -f4 + echo 2337_2340_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_sunrdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_hprdfg_16 prd=2337 + cut -d_ -f4 + echo 2337_2340_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_hprdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_aixrdfg_17 prd=2337 + cut -d_ -f4 + echo 2337_2340_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_aixrdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. bash-3.00$ bash-3.00$ bash-3.00$ date Sun Nov 11 07:17:00 SGT 2007 bash-3.00$ date Sun Nov 11 07:22:25 SGT 2007 bash-3.00$ ps -ef |grep script pr72496 3596 3248 0 07:22:31 pts/2 0:00 grep script bash-3.00$ script -a /etc/hostcfg/cmbsm01.log bash-3.00$ hostname ssunsmm01 bash-3.00$ pwd /etc/hostcfg/RDF-A bash-3.00$ date Sun Nov 11 07:28:44 SGT 2007 bash-3.00$ date Sun Nov 11 07:28:45 SGT 2007 bash-3.00$ bash-3.00$ bash-3.00$ bash-3.00$ ls 1452_1739_aixrdfg_17 1452_1739_sunrdfg_15 1923_1587_rdfg_17 2337_2340_sunrdfg_15 1452_1739_hprdfg_16 1923_1587_rdfg_15 2337_2340_aixrdfg_17 xxx 1452_1739_strrdfg_20 1923_1587_rdfg_16 2337_2340_hprdfg_16 bash-3.00$ bash-3.00$ bash-3.00$ pwd /etc/hostcfg/RDF-A bash-3.00$ bash-3.00$ bash-3.00$ ls -la total 28 drwxr-xr-x 2 pr72496 storageonly 512 Nov 10 20:54 . drwxrwxr-x 8 root storageonly 512 Nov 11 07:22 .. -rw-r--r-- 1 pr72496 storageonly 161 Nov 10 21:08 .query.sh -rw-r--r-- 1 pr72496 storageonly 250 Nov 10 20:45 1452_1739_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 590 Nov 10 20:44 1452_1739_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:45 1452_1739_strrdfg_20 -rw-r--r-- 1 pr72496 storageonly 940 Nov 10 20:12 1452_1739_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 320 Nov 10 20:45 1923_1587_rdfg_15 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:46 1923_1587_rdfg_16 -rw-r--r-- 1 pr72496 storageonly 110 Nov 10 20:46 1923_1587_rdfg_17 -rw-r--r-- 1 pr72496 storageonly 600 Nov 10 20:47 2337_2340_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 360 Nov 10 20:47 2337_2340_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 260 Nov 10 20:46 2337_2340_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 948 Nov 10 20:44 xxx bash-3.00$ .query.sh bash-3.00$ cat .query.sh for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`; pbrun symrdf -sid $prd -f $i -rdfg $rdfg verify -`echo $1`; done bash-3.00$ for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`;pbrun symrdf -sid $prd -f $i -rdfg $rdfg verify -`echo $1`; done '-': Illegal option. 'xxx': Invalid RDF group value. '-': Illegal option. '-': Illegal option. '-': Illegal option. '-': Illegal option. '-': Illegal option. pbrun3.5.4-01@ssunsmm01.apac.nsroot.net: Command caught signal 2 (INT) '-': Illegal option. pbrun3.5.4-01@ssunsmm01.apac.nsroot.net: Command caught signal 2 (INT) '-': Illegal option. bash-3.00$ clear bash-3.00$ ls 1452_1739_aixrdfg_17 1452_1739_sunrdfg_15 1923_1587_rdfg_17 2337_2340_sunrdfg_15 1452_1739_hprdfg_16 1923_1587_rdfg_15 2337_2340_aixrdfg_17 xxx 1452_1739_strrdfg_20 1923_1587_rdfg_16 2337_2340_hprdfg_16 bash-3.00$ for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`;pbrun symrdf -sid $prd -f $i -rdfg $rdfg verify -`echo $1`; done bash-3.00$ ./.query.sh consistent bash: ./.query.sh: Permission denied bash-3.00$ sh -x ./.query.sh consistent + awk {print $9} + ls -lrt + cut -d_ -f1 + echo 1452_1739_sunrdfg_15 prd=1452 + cut -d_ -f4 + echo 1452_1739_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_sunrdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo xxx prd=xxx + cut -d_ -f4 + echo xxx rdfg=xxx + echo consistent + pbrun symrdf -sid xxx -f xxx -rdfg xxx verify -consistent 'xxx': Invalid RDF group value. + cut -d_ -f1 + echo 1452_1739_hprdfg_16 prd=1452 + cut -d_ -f4 + echo 1452_1739_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_hprdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1452_1739_aixrdfg_17 prd=1452 + cut -d_ -f4 + echo 1452_1739_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_aixrdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1452_1739_strrdfg_20 prd=1452 + cut -d_ -f4 + echo 1452_1739_strrdfg_20 rdfg=20 + echo consistent + pbrun symrdf -sid 1452 -f 1452_1739_strrdfg_20 -rdfg 20 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_15 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_16 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 1923_1587_rdfg_17 prd=1923 + cut -d_ -f4 + echo 1923_1587_rdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 1923 -f 1923_1587_rdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_sunrdfg_15 prd=2337 + cut -d_ -f4 + echo 2337_2340_sunrdfg_15 rdfg=15 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_sunrdfg_15 -rdfg 15 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_hprdfg_16 prd=2337 + cut -d_ -f4 + echo 2337_2340_hprdfg_16 rdfg=16 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_hprdfg_16 -rdfg 16 verify -consistent All device(s) in the list are in 'Consistent' state. + cut -d_ -f1 + echo 2337_2340_aixrdfg_17 prd=2337 + cut -d_ -f4 + echo 2337_2340_aixrdfg_17 rdfg=17 + echo consistent + pbrun symrdf -sid 2337 -f 2337_2340_aixrdfg_17 -rdfg 17 verify -consistent All device(s) in the list are in 'Consistent' state. bash-3.00$ for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`;pbrun symrdf -sid $prd -f $i -rdfg $rdfg disable -nop`; done bash-3.00$ date Sun Nov 11 07:41:06 SGT 2007 bash-3.00$ date Sun Nov 11 07:41:07 SGT 2007 bash-3.00$ for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`;pbrun symrdf -sid $prd -f $i -rdfg $rdfg `; done bash-3.00$ ls 1452_1739_aixrdfg_17 1452_1739_sunrdfg_15 1923_1587_rdfg_17 2337_2340_sunrdfg_15 1452_1739_hprdfg_16 1923_1587_rdfg_15 2337_2340_aixrdfg_17 xxx 1452_1739_strrdfg_20 1923_1587_rdfg_16 2337_2340_hprdfg_16 bash-3.00$ rm xxx bash-3.00$ for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`;pbrun symrdf -sid $prd -f $i -rdfg $rdfg disable -nop`; done > bash-3.00$ for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`;pbrun symrdf -sid $prd -f $i -rdfg $rdfg disable -nop; done An RDF 'Disable' operation execution is in progress for device file '1452_1739_sunrdfg_15'. Please wait... The RDF 'Disable' operation successfully executed for device file '1452_1739_sunrdfg_15'. An RDF 'Disable' operation execution is in progress for device file '1452_1739_hprdfg_16'. Please wait... The RDF 'Disable' operation successfully executed for device file '1452_1739_hprdfg_16'. An RDF 'Disable' operation execution is in progress for device file '1452_1739_aixrdfg_17'. Please wait... The RDF 'Disable' operation successfully executed for device file '1452_1739_aixrdfg_17'. An RDF 'Disable' operation execution is in progress for device file '1452_1739_strrdfg_20'. Please wait... The RDF 'Disable' operation successfully executed for device file '1452_1739_strrdfg_20'. An RDF 'Disable' operation execution is in progress for device file '1923_1587_rdfg_15'. Please wait... The RDF 'Disable' operation successfully executed for device file '1923_1587_rdfg_15'. An RDF 'Disable' operation execution is in progress for device file '1923_1587_rdfg_16'. Please wait... The RDF 'Disable' operation successfully executed for device file '1923_1587_rdfg_16'. An RDF 'Disable' operation execution is in progress for device file '1923_1587_rdfg_17'. Please wait... The RDF 'Disable' operation successfully executed for device file '1923_1587_rdfg_17'. An RDF 'Disable' operation execution is in progress for device file '2337_2340_sunrdfg_15'. Please wait... The RDF 'Disable' operation successfully executed for device file '2337_2340_sunrdfg_15'. An RDF 'Disable' operation execution is in progress for device file '2337_2340_hprdfg_16'. Please wait... The RDF 'Disable' operation successfully executed for device file '2337_2340_hprdfg_16'. An RDF 'Disable' operation execution is in progress for device file '2337_2340_aixrdfg_17'. Please wait... The RDF 'Disable' operation successfully executed for device file '2337_2340_aixrdfg_17'. bash-3.00$ for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`;pbrun symrdf -sid $prd -f $i -rdfg $rdfg suspend -nop; done An RDF 'Suspend' operation execution is in progress for device file '1452_1739_sunrdfg_15'. Please wait... Suspend RDF link(s) for device(s) in (1452,15)..................Started. Suspend RDF link(s) for device(s) in (1452,15)..................Done. The RDF 'Suspend' operation successfully executed for device file '1452_1739_sunrdfg_15'. An RDF 'Suspend' operation execution is in progress for device file '1452_1739_hprdfg_16'. Please wait... Suspend RDF link(s) for device(s) in (1452,16)..................Started. Suspend RDF link(s) for device(s) in (1452,16)..................Done. The RDF 'Suspend' operation successfully executed for device file '1452_1739_hprdfg_16'. An RDF 'Suspend' operation execution is in progress for device file '1452_1739_aixrdfg_17'. Please wait... Suspend RDF link(s) for device(s) in (1452,17)..................Started. Suspend RDF link(s) for device(s) in (1452,17)..................Done. The RDF 'Suspend' operation successfully executed for device file '1452_1739_aixrdfg_17'. An RDF 'Suspend' operation execution is in progress for device file '1452_1739_strrdfg_20'. Please wait... Suspend RDF link(s) for device(s) in (1452,20)..................Started. Suspend RDF link(s) for device(s) in (1452,20)..................Done. The RDF 'Suspend' operation successfully executed for device file '1452_1739_strrdfg_20'. An RDF 'Suspend' operation execution is in progress for device file '1923_1587_rdfg_15'. Please wait... Suspend RDF link(s) for device(s) in (1923,15)..................Started. Suspend RDF link(s) for device(s) in (1923,15)..................Done. The RDF 'Suspend' operation successfully executed for device file '1923_1587_rdfg_15'. An RDF 'Suspend' operation execution is in progress for device file '1923_1587_rdfg_16'. Please wait... Suspend RDF link(s) for device(s) in (1923,16)..................Started. Suspend RDF link(s) for device(s) in (1923,16)..................Done. The RDF 'Suspend' operation successfully executed for device file '1923_1587_rdfg_16'. An RDF 'Suspend' operation execution is in progress for device file '1923_1587_rdfg_17'. Please wait... Suspend RDF link(s) for device(s) in (1923,17)..................Started. Suspend RDF link(s) for device(s) in (1923,17)..................Done. The RDF 'Suspend' operation successfully executed for device file '1923_1587_rdfg_17'. An RDF 'Suspend' operation execution is in progress for device file '2337_2340_sunrdfg_15'. Please wait... Suspend RDF link(s) for device(s) in (2337,15)..................Started. Suspend RDF link(s) for device(s) in (2337,15)..................Done. The RDF 'Suspend' operation successfully executed for device file '2337_2340_sunrdfg_15'. An RDF 'Suspend' operation execution is in progress for device file '2337_2340_hprdfg_16'. Please wait... Suspend RDF link(s) for device(s) in (2337,16)..................Started. Suspend RDF link(s) for device(s) in (2337,16)..................Done. The RDF 'Suspend' operation successfully executed for device file '2337_2340_hprdfg_16'. An RDF 'Suspend' operation execution is in progress for device file '2337_2340_aixrdfg_17'. Please wait... Suspend RDF link(s) for device(s) in (2337,17)..................Started. Suspend RDF link(s) for device(s) in (2337,17)..................Done. The RDF 'Suspend' operation successfully executed for device file '2337_2340_aixrdfg_17'. bash-3.00$ pwd /etc/hostcfg/RDF-A bash-3.00$ ls 1452_1739_aixrdfg_17 1452_1739_sunrdfg_15 1923_1587_rdfg_17 2337_2340_sunrdfg_15 1452_1739_hprdfg_16 1923_1587_rdfg_15 2337_2340_aixrdfg_17 1452_1739_strrdfg_20 1923_1587_rdfg_16 2337_2340_hprdfg_16 bash-3.00$ cd .. bash-3.00$ ls 1452.stats 1923cahce_stat R2-BCV cmbsm01.log 1452cache_stat COB RDF-A hdscci 1452session_stats Masking RDF-S bash-3.00$ pwd /etc/hostcfg bash-3.00$ hostname ssunsmm01 bash-3.00$ ls 1452.stats 1923cahce_stat R2-BCV cmbsm01.log 1452cache_stat COB RDF-A hdscci 1452session_stats Masking RDF-S bash-3.00$ cd date bash: cd: date: No such file or directory bash-3.00$ date Sun Nov 11 07:56:10 SGT 2007 bash-3.00$ bash-3.00$ date Sun Nov 11 07:56:12 SGT 2007 bash-3.00$ cd RDF-A bash-3.00$ ls 1452_1739_aixrdfg_17 1452_1739_sunrdfg_15 1923_1587_rdfg_17 2337_2340_sunrdfg_15 1452_1739_hprdfg_16 1923_1587_rdfg_15 2337_2340_aixrdfg_17 1452_1739_strrdfg_20 1923_1587_rdfg_16 2337_2340_hprdfg_16 bash-3.00$ ls -la total 26 drwxr-xr-x 2 pr72496 storageonly 512 Nov 11 07:41 . drwxrwxr-x 8 root storageonly 512 Nov 11 07:22 .. -rw-r--r-- 1 pr72496 storageonly 161 Nov 10 21:08 .query.sh -rw-r--r-- 1 pr72496 storageonly 250 Nov 10 20:45 1452_1739_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 590 Nov 10 20:44 1452_1739_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:45 1452_1739_strrdfg_20 -rw-r--r-- 1 pr72496 storageonly 940 Nov 10 20:12 1452_1739_sunrdfg_15 -rw-r--r-- 1 pr72496 storageonly 320 Nov 10 20:45 1923_1587_rdfg_15 -rw-r--r-- 1 pr72496 storageonly 180 Nov 10 20:46 1923_1587_rdfg_16 -rw-r--r-- 1 pr72496 storageonly 110 Nov 10 20:46 1923_1587_rdfg_17 -rw-r--r-- 1 pr72496 storageonly 600 Nov 10 20:47 2337_2340_aixrdfg_17 -rw-r--r-- 1 pr72496 storageonly 360 Nov 10 20:47 2337_2340_hprdfg_16 -rw-r--r-- 1 pr72496 storageonly 260 Nov 10 20:46 2337_2340_sunrdfg_15 bash-3.00$ .query.sh suspended bash-3.00$ cat .query.sh for i in `ls -lrt|awk '{print $9}'`; do prd=`echo $i|cut -d_ -f1`; rdfg=`echo $i|cut -d_ -f4`; pbrun symrdf -sid $prd -f $i -rdfg $rdfg verify -`echo $1`; done bash-3.00$ ./.query.sh suspended bash: ./.query.sh: Permission denied bash-3.00$ . ./.query.sh suspended All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. All device(s) in the list are in 'Suspended' state. bash-3.00$