Teljes szöveg:
- TSM napi riport shell szkript @shell:riportok
- then echo $TSM_SZERVER_VER | cut -d" " -f $I; fi done } function fejlec { FEJLEC=`echo $1 | tr '[:low... JLEC})/2))`; do # KIMENET="_$(echo $KIMENET)_" # done echo "_-_:: $FEJLEC ::_-_" >> $TMP_FILE RAND_ID... 1,$2}' | tee -a $TMP_HTML_FILE | tee -a $TMP_FILE done TSM_SZERVEREK=${TSM_SZERVEREK_TMP# } TSM_SZERVERN... $TMP_HTML_FILE | sed 's/<img .*>//' >> $TMP_FILE; done echo "$HTML_MODUL_LABLEC" >> $TMP_HTML_FILE #___
- Oracle VM CPU pin map @shell:oravm
- 2))`; do KIMENET="_$(echo $KIMENET)_" done echo -e $KIMENET } function vastag_fejlec {... "${whi}" for I in `seq 1 $2`; do printf '#'; done echo for I in `seq 1 $((($2-${#FEJLEC}-7)... 2))`; do KIMENET="#$(echo $KIMENET)#" done echo -e $KIMENET printf "${whi}" for I in `seq 1 $2`; do printf '#'; done printf "${end}" } function show_parameters {
- Linuxos "cfgmgr" @shell:device_management
- test $cntr -lt $LN; do BK="$BK\e[D"; let cntr+=1; done echo -en "$STRG$BK" return $LN } # Overwrite... -lt $LN; do BK="$BK\e[D"; WH="$WH "; let cntr+=1; done echo -en "$WH$BK" } # Return hosts. sysfs must... echo "Host adapter $hostno ($hostname) found." done if [ -z "$hosts" ] ; then echo "No SCSI hos... echo "Host adapter $num ($driverinfo) found." done done } printtype () { local type=$1 case
- TSM Auto Deployment planner szkript @shell
- =0 for I in $(seq 1 $(tput cols)); do printf "#"; done; #printf "\n" for I in $(seq 1 $(tput cols)); do printf " "; done; #printf "\n" for I in $(seq 1 $(($(tput cols)/2-... C}/2-${#FEJLEC}%2))); do printf " "; J=$(($J+1)); done; printf "$FEJLEC"; for I in $(seq 1 $(($(tput col... s)/2-${#FEJLEC}/2))); do printf " "; J=$(($J+1)); done; if [[ $(($J + ${#FEJLEC})) -lt $(tput cols) ]];
- TSM drive usage riport @shell:riportok
- or I in {1..24}; do MATRIX[$I,$J]=" " done printf "%02d, 0\n" "$((10#$J-1))" >> $TMP_FI... printf "%02d, 0\n" "$((10#$J-1))" >> $TMP_FILE.2 done AKT_DATUM=$(dsmadmc -id=$TSMUSER -pa=$TSMPASS -se... HOUR="0$HOUR" VALUE=$((10#$VALUE-60)) done done # Az ures orakkal valo kiegeszitese az adatfajlnak dsmadmc -id="$TSMUSER" -pa="$TSMPASS" -se="$TS
- TSM kliens riport shell szkript @shell:riportok
- ho $TSM_SZERVER_VER | cut -d" " -f $I; fi done } function level_fejlec { STARTTIME=`date "+... 1,$2}' | tee -a $TMP_HTML_FILE | tee -a $TMP_FILE done # Program torzs if [ `echo $TSM_SZERVEREK | grep ... ZE2=$(ls -l $TMP_FILE | awk '{print $5}') done html_vonal "<br>Elmult 3 napban sorozatos... ZE2=$(ls -l $TMP_FILE | awk '{print $5}') done html_vonal "<br>Minden utemezes" >> $TMP_
- VMware image mentések riportja @shell:riportok
- sed 's/^\s*//') $(echo $SOR | awk '{print $1}')" done <<< "`grep -v '^#' $EXCEPTION_FILE`" datediff() ... BACKUP" | sed 's/ *$//' >> $OUTPUT_FILE done done echo -e '<br>\n' >> $OUTPUT_FILE done echo '<html><head><style> table { border-collapse: co
- Shell szkript felderítő szkript @shell
- "s/$VARIABLE/$HOME/" fi echo $SOR done </file> <file sh find_shell_scripts.sh> #!/bin/... t $1}' | awk -F'/' '{print $NF}'; done | sort | uniq | tr '\n' ',' | sed -e 's/^/crontab... t $1}' | awk -F'/' '{print $NF}'; done | sort | uniq | tr '\n' ',' | sed -e 's/^/atjobs:... .){3}[0-9]{1,3}/g){print "$&\n"}' done | sort | uniq | tr '\n' ',' | sed -e 's/^/ips:/'
- AIX tape device-ok átnevezése beszédesre konfig állomány alapján @shell:device_management
- ]_${NEW_PRE}${NEW_NUM})!" >> $TMP_FILE fi done <<< "`egrep -v '(^#|^$)' $NAMING_CONF_FILE`" awk ... rm -f $TAPE_DEV_FILE break fi done if [[ ! -e $TAPE_DEV_FILE || $DEV_LIST_CHANGED -e... le=2;$j/$m*100" | bc | sed 's/\..*$//')"\x25" done echo " kesz." else echo "A $TAPE_DEV_... " >> $MACRO_TEMPL_FILE fi done done # smc device-ok atnevezese echo echo "# Atn
- TSM node replikacios iranyt forgato szkript @shell:replikacio
- _NODES=true ;; *) ;; esac shift done if [[ $ROTATE ]]; then log $white "Minden $T... an aktiv sessionje, megvarjuk..." sleep 30 done # Varunk, mig nincs processe while [[ $... n aktiv processze, megvarjuk...." sleep 30 done # Node lockolasa log $white "Node locko... an aktiv sessionje, megvarjuk..." sleep 30 done # Varunk, mig nincs processe while [[ $
- Linux okosságok
- echo ${I} echo "1" > ${I}/device/rescan done #!/bin/sh for I in `ls -d /sys/class/scsi_ho... echo ${I} echo "- - -" > ${I}/scan done ==== Yum-mal telepített csomagok listázása log ... awk '{print $2}' | while read PID; do kill $PID; done find /tmp/nmon/$(hostname)_* -type f -maxdepth 1 ... v/null| awk '{ print $2 }'` do let SUM=$SUM+$SWAP done echo "PID=$PID - Swap used: $SUM - ($PROGNAME )"
- Hálózati okosságok @linux
- "${NFD}" lz; do echo "${lz}" done exec {wFD}>&- fi } main() { raw=... ) 2>&1 > /dev/null) ]]; do echo varunk; sleep 10; done nc-vel: nc -zv hoszt port Windows PowerShell... grep -oP '(?<=addr: ).*$') fi done if [[ $ETH =~ ^bond ]]; then ... 0s | %-10s | %-13s | %-15s\n",$1,$2,$3,$4,$5,$6}' done #FC echo "# Fiber Channel:" for PORT in $(ls -d /
- Hasznos TSM SQL lekérdezések
- for ((i=$1; i<=$2; i++)) do echo $i done else for ((i=$1; i>=$2; i--)) do echo $i done fi } DR_MAXNUM=$(dsmadmc -id=$TSMUSER -pa=$TSM... `seq 1 $DR_USAGE`; do DRNUM="$DRNUM#" done for I in `seq $DR_USAGE $(($DR_MAXNUM-1))`; do DRNUM="$DRNUM " done if [[ $DR_USAGE -ge $(($DR_MAXNUM*0,8)) ]]; t
- AIX tape device-ok lekérdezése sorozatszámmal, PRI/ALT párral (ha van) @shell:riportok
- pe: $TYPE FW: $FMR $PRIALT >> /tmp/get_serial.out done function seq { beg=$1 end=$2 seq='' whil... d ]]; do seq="$seq $beg" ((beg=$beg+1)) done echo $seq } while read TAPE do AKT_RMT... SEC_FCS" >> get_serial_`date +%Y%m%d`.out done done < /tmp/get_serial.out echo "A vegkimenetet megtalalod az aktualis mappaban a get_serial_"`date +%Y
- TSM Smart Replicator @shell:replikacio
- att: $ACTREPLNODES" | tee -a $LOGFILE done $DSMADMC "repl node $NODE maxsess=3" ... fut ra replikacio." | tee -a $LOGFILE fi done ENDTIME=$(date +"%s") ENDTIME=$(($ENDTIME... 0)) CYCLE=$(($CYCLE + 1)) unset LAST_NODE done echo "$(date "+%Y.%m.%d %H:%M") PROGRAM END" | te