====== TWSd (IBM Tivoli) ====== ===== Conman Showschedules ===== \\ ==== Syntaxe ==== $ conman {showscheds | ss} [jstreamselect] [;keys] [;offline] [;showid] $ conman {showscheds | ss} [jstreamselect] [;deps[;keys | info | logon]] [;offline] [;showid] ^Arguments ^Description ^ |**jstreamselect** |See Selecting job streams in commands. | |**keys** |Displays a single column list of the objects selected by the command. | |**deps** |Liste les jobs avec leurs dépendances. Jobs are listed in the basic showjobs format. Job streams are listed in the basic showschedules format. Use "keys", "info", or "logon" to modify the "deps" display. | |**info** |Displays information in the info format. | |**logon** |Displays information in the logon format. | |**offline** |Sends the output of the command to the conman output device. | |**showid** |Displays for each job stream the job stream identifier. | \\ ==== Exemples ==== * Affichage des chaînes "**OJI**" $ conman ss @#@OJI@ Workstation Job Stream SchedTime State Pr Start Elapse # OK Lim SRV1 #ZP93P3OJIM3EJ00A 1350 07/12 SUCC 10 07/12 00:01 3 1 {07/11/22} SRV1 #ZP93P3OJIM3HJ00A 1300 07/12 SUCC 10 07/12 00:01 3 1 {07/11/22} SRV1 #ZP3LP0OJITSMJ01A 2200 07/12 SUCC 10 07/12 00:01 3 1 SRV1 #ZP3LP0OJITX0J01A 0015 07/13 SUCC 10 00:18 00:04 3 1 SRV1 #ZP3LP0OJITX9J01A 0015 07/13 SUCC 10 00:15 00:03 3 1 SRV1 #ZP93P3OJIM3AJ01A 0600 07/13 SUCC 10 06:00 00:01 3 1 ... * Affichage des chaînes "**OJI**", sous forme reformatée : $ conman ss @#@OJI@ 2>/dev/null | awk '{print $1$2 "\(" $3 " " $4 "\) " $5}' WorkstationJob(Stream SchedTime) State SRV1#ZP93P3OJIM3EJ00A(1350 07/12) SUCC SRV1#ZP93P3OJIM3HJ00A(1300 07/12) SUCC SRV1#ZP3LP0OJITSMJ01A(2200 07/12) SUCC SRV1#ZP3LP0OJITX0J01A(0015 07/13) SUCC SRV1#ZP3LP0OJITX9J01A(0015 07/13) SUCC ... * Affichage des chaînes "**OJI**" non terminés $ conman ss @#@OJI@ 2>/dev/null | grep -v SUCC | awk '{print $1$2 "(" $3 " " $4 ") " $5}' WorkstationJob(Stream SchedTime) State SRV1#ZP93P3OJIM3EJ00A(1350 07/11) HOLD SRV1#ZP93P3OJIM3HJ00A(1300 07/11) HOLD SRV2#ZP94P3OJIM3EJ00A(1350 07/11) HOLD SRV2#ZP94P3OJIM3HJ00A(1300 07/11) HOLD SRV3#ZP3DP0OHICB9H06A(1800 07/09) STUCK SRV3#ZP3DP0OHIH04H06A(0600 07/09) STUCK SRV3#ZP3DP0OHIKJXH07A(1500 07/10) STUCK SRV3#ZP3DP0OHIKJYH07A(1500 07/10) STUCK SRV3#ZP3DP0OHIRJXH07A(1500 07/10) STUCK SRV3#ZP3DP0OHIRJYH07A(1500 07/10) STUCK * Afficher toutes les chaînes en STUCK $ conman ss SUZ9TP#ZPWZ00@ | grep "STUCK" | awk '{print $1$2 "\(" $3 " " $4 "\) " $5}' # ou $ conman ss "SUZ9TP#ZPWZ00@+state=stuck" | awk '{print $1$2 "\(" $3 " " $4 "\) " $5}' SRV3#ZPWZ00SZM020J01A(0300 01/13) STUCK SRV3#ZPWZ00PQM020J00A(0800 01/14) STUCK SRV3#ZPWZ00RLM020J00A(1800 01/13) STUCK * Afficher toutes les chaînes des jours précédents en HOLD $ conman sj "SUZ9TP#ZPWZ00@+state=hold" | grep '\*\*\*' | grep -v "03/12" | awk '{print $1$2 "\(" $3 " " $4 "\) " $6}' # ou $ conman sj "SUZ9TP#ZPWZ00@" | grep '\*\*\*' | grep -v "03/12" | grep "HOLD" | awk '{print $1$2 "\(" $3 " " $4 "\) " $6}' SRV3#ZPWZ00PHML01J01A(0231 03/11) HOLD SRV3#ZPWZ00MZML06J01A(1801 03/11) HOLD SRV3#ZPWZ00RIM100J01A(1800 03/11) HOLD