Teljes szöveg:
- TSM napi riport shell szkript @shell:riportok
- M_SZERVERNEVEK_TMP# } if [ `echo $TSM_SZERVEREK | grep -c '[a-zA-Z]'` -eq 0 ]; then echo "Nincs hasznal... _SZERVER%%@*}/.profile; db2pd -hadr -db tsmdb1" | grep HADR_STATE | awk -F\= '{print $1" "$2}'` ... _SZERVER%%@*}/.profile; db2pd -hadr -db tsmdb1" | grep STANDBY_RECV_BUF_PERCENT | awk -F\= '{print $2}'`... ${TSM_SZERVER} -dataonly=y "${SQL_Q_NOSCRATCH}" | grep -v '^$' | egrep -v '(ANR|ANS)' | awk '{printf "%-
- Színes TSM szerver konzol @shell:riportok
- CPS=$(cat /opt/tivoli/tsm/client/ba/bin/dsm.sys | grep -v '^\*' | awk 'BEGIN { RS=""; ORS="\n\n"}{$1=$1}1' | grep -i '^se[a-z]*[ \t]\{1,\}'$SZERVERNEV'[ \t]' | grep -oP 'TCPS[a-z]*[ \t][^ ]*' | awk -F' ' '{print $2}')... $/!ba;p}' /opt/tivoli/tsm/client/ba/bin/dsm.sys | grep -oiP 'TCPS[a-z]*[\s\t]*[^\s]*' | awk '{print $2}'
- TSM drive usage riport @shell:riportok
- -se=$TSMSERVER -dataonly=y -commadel "${SQL2}" | grep "$AKT_DATUM" | sed -e 's/^[^ ]* //' | grep ',[0-9]*$' | while read SOR; do HOUR=$(echo $SOR | awk -... ho $SOR | awk -F',' '{print $2}') OLD_VALUE=$(grep "^$HOUR," $TMP_FILE.2 | awk -F',' '{print $2}')
- TSM kliens riport shell szkript @shell:riportok
- done # Program torzs if [ `echo $TSM_SZERVEREK | grep -c '[a-zA-Z]'` -eq 0 ]; then echo "$(date... " > $TMP_HTML_FILE if [ `echo "$MAILTO" | grep "@.*\."` ]; then if [[ `which sendmail` &
- Linux interfészek listázása @shell:device_management
- k -F': ' '/</{print $2}' | egrep -v '(@|lo|^$)' | grep "$SEARCH" | sort -k1); do STATE=$(ethtool... }' | sed 's/^[0-9]*/& /') MAC=$(ip addr | grep -A1 "[^@]$ETH:" | grep -o '\([0-9abcdef]\{2\}:\)\{5\}[0-9abcdef]\{2\}' | awk '{print $1}' | grep -v 'ff:ff:ff:ff:ff:ff') VLANS=$(timeout $
- VMware image mentések riportja @shell:riportok
- *//') $(echo $SOR | awk '{print $1}')" done <<< "`grep -v '^#' $EXCEPTION_FILE`" datediff() { d1=$(... er by BACKUP_DATE desc FETCH FIRST 1 ROWS ONLY" | grep -v 'AN[RS]' | sed 's/^ //' | sed 's/\.000000$//')... .html while read INPUT ; do [[ "$(echo $INPUT | grep -c '(Off)')" -eq 1 ]] && continue; # ... ROWNUM=$(($ROWNUM+1)); fi if [[ $(echo $INPUT | grep -c '<caption>') -gt 0 ]]; then echo "$INP
- ovm_functions.sh szkript @shell:oravm
- tTimeout=5 admin@localhost -p 10000 list manager |grep -c Success) -eq 0 ]]; then echo "Nincs SS... tTimeout=5 admin@localhost -p 10000 list manager |grep -c Success) -eq 0 ]]; then echo "... RC=$? RET=${2:-[iI]d} ID=$(echo $OUTPUT | grep -oP "(?<=$RET:)[^ ]+(?= )") [[ -z $ID ]] && ID=$(echo $OUTPUT | grep -oP "(?<=$RET: )[^ ]+(?= )") [[ -z $ID ]] &&
- Oracle VM CPU pin map @shell:oravm
- | awk -F'/' '{print $2}') else ACT_TTY=$(tty|grep -oP '(?<=/dev/pts/).*') fi SSH_USER=$(w | awk '/p... tTimeout=5 admin@localhost -p 10000 list manager |grep -c Success) -eq 0 ]]; then echo "Nincs SS... tTimeout=5 admin@localhost -p 10000 list manager |grep -c Success) -eq 0 ]]; then echo "... t eval `ssh-agent -s` fi if [[ $(ssh-add -l | grep -c "$OVS_SSH_KEY") -eq 0 ]]; then printf "Ha je
- VM-ek listázása @shell:oravm
- /Name/{print $2}') MEMORY=$(cat ${TMP_FILE} | grep -v Max | awk -F'=' '/Memory/{print $2}') VCPU=$(cat ${TMP_FILE} | grep -v Max | awk -F'=' '/Processors/{print $2}') ... k '{print $NF}') VNIC_NUM=$(cat ${TMP_FILE} | grep -c "Vnic") NETWORKS="" for ((I=1; I<=$VNI... done VMDISKMAPPING_NUM=$(cat ${TMP_FILE} | grep -c "VmDiskMapping") DISK_SIZE_SUM=0 for (
- VM-ek diszkjeinek listázása @shell:oravm
- "list vmdiskMapping" | egrep -v '(EMPTY_CDROM)' | grep -v '^$' | grep ')' | while read SOR; do ID=$(echo $SOR | grep -oP "(?<=id:)[^ ]+(?= )") DISK_ID=$(echo $SOR | grep -oP "(?<=\()[^ ]+(?=\))") VM=$(ovm_cli "s
- TSM node replikacios iranyt forgato szkript @shell:replikacio
- echo "TSM replikacios parameter vezerlo szkript $(grep -o 'v[0-9]\+\.[0-9]\+' $0 | head -n1) - created b... as vege." help exit fi # Itt kezdodik a lenyeg grep -v '^$' $TMP_FILE | while read NODE; do if [[... $($DSMADMC2 validate replication $NODE verify=y | grep 'Connection Status' | grep 'Valid Connection' | wc -l) #log $white "Az uj replikacios szabalyok va
- SSH kulcs terítő szkript
- ;37m' gry=$'\e[1;90m' end=$'\e[0m' nor=$'\e[0m' grep -v '^#' $INPUT_FILE | while read HOST; do pri
- Oracle VM szkriptek
- in $( ls /OVS/Repositories/*/VirtualDisks/* );do grep $diskimage /OVS/Repositories/*/*/*/vm.cfg 2>/dev/null || echo $diskimage; done | grep -v file
- Fizikai diszkeket átnevező szkript @shell:oravm
- SLOT=$(ovm_cli "show vm id=\"$VM_ID\"" | grep -oP "VmDiskMapping.*(?==)" | awk 'END{print $NF}'... echo | tee -a $LOGFILE done <<< "`cat $1 | grep -v '^#' | sed 's/[[:space:]]\+/ /g' | tr -s '[:bl
- Fizikai diszkek tömeges mappelése VM(ek)hez @shell:oravm
- SLOT=$(ovm_cli "show vm id=\"$VM_ID\"" | grep -oP "VmDiskMapping.*(?==)" | awk 'END{print $NF}'... ') A $VM_NAME kesz." done done <<< "`cat $1 | grep -v '^#' | sed 's/[[:space:]]\+/ /g' | tr -s '[:bl