Teljes szöveg:
- Hasznos TSM SQL lekérdezések
- le read SOR; do DATUM_IDO=$(echo $SOR | awk '{print $1}') DR_USAGE=$(echo $SOR | awk '{print $2}') DRNUM="" for I in `seq 1 $DR_USAGE`; do ... : /\n/g' | sed 's/ (SESS.*$//' | awk '{if ($12>0) print}' ===Elmúlt egy hét adatmozgásai=== SELECT dat
- TSM napi riport shell szkript @shell:riportok
- 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
- Hálózati okosságok @linux
- : ssh root@server ps uax \| grep ba[c] \| \'{ print \$2 }\' \> /tmp/back.tmp or you could double quo... n) ssh root@server ps uax \| grep ba[c] \| "'{ print \$2 }'" \> /tmp/back.tmp === Jelszavas sudo para... -an | awk '/^tcp/ {A[$(NF)]++} END {for (I in A) {printf "%5d %s\n", A[I], I}}' === Hálózati áteresztő... t#Address#Speed#State#VLANs#Slaves" | awk -F'#' '{printf "%-25s | %-17s | %10s | %-10s | %-13s | %-15s\n"
- Linux okosságok
- o of=$FNEV bs=$BS count=$COUNT 2>&1 | awk '/real/{print $2}' | awk -F'.' '{print $1}') echo "$(($FS / $SEC)) MB/s" </file> ==== BOOT probléma ==== GRUB menübe... ; then exit 1; fi ps -ef | grep '[n]mon ' | awk '{print $2}' | while read PID; do kill $PID; done find /t... mon/$(hostname)_* -type f -maxdepth 1 -mtime +30 -print0 | xargs -0 tar zcvf $(hostname)_blabla.tar.gz #
- Színes TSM szerver konzol @shell:riportok
- 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
- TDP4VE @doksik_leirasok
- esztelése === govc tree /DC/host | awk '/esxi/{print $NF}' | while read ESXI; do timeout 1 bash -c "tr
- Szkriptelés @linux
- ]*)$/,&/' | awk -F'[,]' '{a[$2]++}END{for(k in a) print $1,k,$3,"("a[k]"x)"}' ==== User input default ér... n\n";FS=OFS="\n"}/Storage Slots/' perl -00 -ne 'print if /Storage Slots/' ==== Bekezdésre exclude-olás... l-lel ==== perl -lne '/reguláris kifejezés/ && print $&' ==== Processz környezeti változóinak listázá... ameter:?err_msg} | If parameter set, use it, else print err_msg and abort the script with an exit status
- TSM "Inkrementális" archiváló szkript @shell
- dsmc q ar $DIR/ -subdir=y | awk "/${DIR:1}/"'{print $5}' | sort > "${FILELIST}.archived" [[ !
- TSM drive usage riport @shell:riportok
- ##### 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
- TSM kliens riport shell szkript @shell:riportok
- 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
- Linux interfészek listázása @shell:device_management
- t#Address#Speed#State#VLANs#Slaves" | awk -F'#' '{printf "%-25s | %-17s | %10s | %-10s | %-13s | %-15s\n"... Ethernet:" for ETH in $(ip addr | awk -F': ' '/</{print $2}' | egrep -v '(@|lo|^$)' | grep "$SEARCH" | so... ol $ETH 2>/dev/null | awk -F': ' '/Link detected/{print $2}' | sed -e 's/yes/Link UP/' -e 's/no/Link DOWN... =$(ethtool $ETH 2>/dev/null | awk -F': ' '/Speed/{print $2}' | sed 's/^[0-9]*/& /') MAC=$(ip addr
- VMware image mentések riportja @shell:riportok
- $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
- Technikai poolokat, vezérlő szkripteket kialakító szkript @shell
- -pa=$TSMPASS -se=$TSMSERVER -dataonly=y "q libr" printf ": "; read LIBRARY echo "Melyik library-be irany... pe forgalmat a $LIBRARY-bol, ha az nem elerheto?" printf ": "; read DR_LIBRARY echo "Mi legyen a device c... from devclasses where library_name='$DR_LIBRARY'" printf ": "; read DR_DEVCLASS echo "Milyen suffix-u sto... hoz generaljam le a technikai poolokat? (Pl: _T)" printf ": "; read SUFFIX echo "Mi legyen a technikai po
- ovm_functions.sh szkript @shell:oravm
- 9 10; do local temp=${spinstr#?} printf " [%c]" "$spinstr" local spinstr=$temp${spinstr%"$temp"} sleep $delay printf "\b\b\b\b" done printf " \b\b" } </file>
- Oracle VM CPU pin map @shell:oravm
- ACT_TTY=$(ps -ef | awk "/$$/{if ("'$2'"=$$"') print $6}' | head -n1 | awk -F'/' '{print $2}') else ACT_TTY=$(tty|grep -oP '(?<=/dev/pts/).*') fi SSH_USER=$(w | awk '/pts\/'${ACT_TTY}'\s/{print $1}') red=$'\e[1;31m' grn=$'\e[1;32m' yel=$'\e[1... ]'` KIMENET="-=[ ${yel}$FEJLEC${whi} ]=-" printf "${whi}" for I in `seq 1 $2`; do printf '#';