Teljes szöveg:
- TSM napi riport shell szkript
- document.writeln('.texter {display:block} @media print {.texter {display:block;}}') document.writeln('//... echo "${TSM_SZERVER}: $OK" | awk -F'|' '{printf "> @%-35s %-12s\n",$1,$2}' | tee -a $TMP_HTML_FI... -tabdel -displ=tabl q db f=d | head -n1 | awk '{ print $2 }' | sed 's/,//g'` WARN='<img align="m... -tabdel -displ=tabl q db f=d | head -n1 | awk '{ print $1 }' | sed 's/,//g'`; LASTDBB
- TSM drive usage riport
- ##### declare -A MATRIX TODAY=$(date "+%Y-%m-%d") printf "Milyen datumtol inditsam a lekerdezest? (Alaper... _TO; DATE_TO="${DATE_TO:-$TODAY} 00:00:00.000000" printf "Hany napra vissza? (Alapertelmezett: 1) "; read... 1..24}; do MATRIX[$I,$J]=" " done printf "%02d, 0\n" "$((10#$J-1))" >> $TMP_FILE printf "%02d, 0\n" "$((10#$J-1))" >> $TMP_FILE.2 done AKT
- AIX tape device-ok lekérdezése sorozatszámmal, PRI/ALT párral (ha van)
- $DEVT|while read line do DEVI=`echo $line|awk '{print $1}'` LOCATION=`echo $line|awk '{print substr($3,1,5)}'` FCS=`lsdev -Cc adapter | grep $LOCATION | awk '{print $1}'` PRIALT=`echo $line|awk '{print substr($3,10,3)}'` lscfg -vl $DEVI > /tmp/get_serial.tmp SERI
- TSM kliens riport shell szkript
- document.writeln('.texter {display:block} @media print {.texter {display:block;}}') document.writeln('//... echo "${TSM_SZERVER}: $OK" | awk -F'|' '{printf "> @%-35s %-12s\n",$1,$2}' | tee -a $TMP_HTML_FI... az aktualis konfig fajlbol awk -F';' '/^[^#]/{print $1}' "$KONFIG_FILE" | sort -u | while read MAILTO... es listát is awk -F';' "/^[^#]*$MAILTO/"'{print $2}' $KONFIG_FILE | sort -u | while read SQL_FELT
- Színes TSM szerver konzol
- t/ba/bin/dsm.sys | awk 'BEGIN{IGNORECASE=1}/TCPS/{print $2}') TCPS=$(cat /opt/tivoli/tsm/client/ba/bin/ds... ' | grep -oP 'TCPS[a-z]*[ \t][^ ]*' | awk -F' ' '{print $2}') TCPS=$(sed -n '/[sS][eE].*'$SZERVERNEV'$/{:... sys | grep -oiP 'TCPS[a-z]*[\s\t]*[^\s]*' | awk '{print $2}') TCPP=$(awk 'BEGIN{IGNORECASE=1;RS=ORS="\n\n... t/ba/bin/dsm.sys | awk 'BEGIN{IGNORECASE=1}/TCPP/{print $2}') TCPP=$(cat /opt/tivoli/tsm/client/ba/bin/ds
- VMware image mentések riportja
- $EXCEPTIONS | sed 's/^\s*//') $(echo $SOR | awk '{print $1}')" done <<< "`grep -v '^#' $EXCEPTION_FILE`" ... ps://}</i></u></b></caption>" >> $OUTPUT_FILE printf "%-30s %-60s %-40s %-5s %-15s\n" "VM_NAME","RESO... ovc vm.info "$VM_NAME" | awk -F':' '/Power state/{print $2}' | sed 's/ *powered//') UUID=$(./govc vm.info "$VM_NAME" | awk -F':' '/UUID/{print $2}' | sed 's/ *//') LAST_BACKUP=$(dsmadm
- Egy node adott objektumának kikeresése, van-e, melyik szalagon van
- q_obj.sh> #!/bin/bash ID="userem" PSW="jelszavam" printf 'Keresett objektum nev (ll_name): '; read -r LL_... AME ]]; then LL_NAME="and ll_name='$LL_NAME'"; fi printf 'Keresett objektum utvonal (hl_name): '; read -r... hl_name='$HL_NAME'"; fi while [[ -z $NODE ]]; do printf 'Node neve: '; read -r NODE; done printf 'TSM szerver: '; read -r TSMSERVER echo '' echo '*** BACKUP TA
- TSM kliens log gyűjtő
- -la $LOGFAJLOK 2>/dev/null | awk '{ sum+=$5} END {print sum}'` if [[ `uname` = 'Linux' ]]; then e='-e'; e... d]sm' DSMPROCESSZEK=`ps -ef | grep '[d]sm'` echo printf "${DEFAULT}- A 'mailx' ellenorzese a level kulde... kell, hogy legyen if [[ `df | grep '/tmp' | awk '{printf "%.0f",$3 * 512 }'` -lt $((LOGMERET / 10)) ]];
- Szebb 'q process' kimenet
- SERVER -commadel -displ=list "$SQL" | awk -F',' '{printf "%-11s %-20s %-19s %2dd %2dh %2dm %11s %
- Szebb 'q session' kimenet
- ER "$SQL WHERE SESSION_TYPE='Node'" | awk -F',' '{printf "%10s %-20s %19s %2dd %2dh %2dm %-6s (%3s