Teljes szöveg:
- TSM napi riport shell szkript @shell:riportok
- -30s %11s\n",$1,$2,$3}' >> $TMP_FILE.toptime done cat $TMP_FILE.toptime | sed 's/:/./g' | sort -k3 -r -... de osszes filespace-enek objektumszam eltereset cat $TMP_FILE.repl | awk '{print $1}' | sort | uniq |... FILE}.damaged | wc -l) -eq 0 ]]; then cat ${TMP_FILE}.damaged | tee -a $TMP_HTML_FILE >> $T... FILE}.damaged | wc -l) -eq 0 ]]; then cat ${TMP_FILE}.damaged | tee -a $TMP_HTML_FILE >> $T
- VM-ek listázása @shell:oravm
- "show vm id=$VM_ID" 2>&1 > ${TMP_FILE} NAME=$(cat ${TMP_FILE} | awk -F'=' '/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}') OS=$(cat ${TMP_FILE} | awk -F'=' '/Operating System/{print
- Linuxos "cfgmgr" @shell:device_management
- en hostname="lpfc" else hostname=`cat $hostdir/proc_name` fi hosts="$hosts $hos... " if [ "$LN" -gt 0 ] ; then IVEND=$(cat ${SCSIPATH}/device/vendor) IPROD=$(cat ${SCSIPATH}/device/model) IPREV=$(cat ${SCSIPATH}/device/rev) SCSIDEV=$(printf ' Vend
- Hálózati okosságok @linux
- could use something like this: xenon-lornix:~> cat < /dev/tcp/127.0.0.1/22 SSH-2.0-OpenSSH_6.2p2 D... arancs futtatása SSH-n === ssh user@server "$( cat <<'EOT' echo "These commands will be run on: $(... -P 3 (client) SSH-val (UNIX/Linux): [node1]# cat /dev/zero | ssh node2 "cat > /dev/null" FTP-vel (Unix/Linux): [node1]# ftp node2 ftp> bin ftp>
- TSM kliens riport shell szkript @shell:riportok
- le=\"font-size: 14px; font-family: courier;\">\n$(cat ${TMP_HTML_FILE})</div></td></tr></body></html>" ... ine\nSubject: TSM kliens riport ($TSM_SZERVER)\n$(cat ${TMP_HTML_FILE})" > $TMP_HTML_FILE cat $TMP_HTML_FILE | sendmail -B 8BITMIME -t -F "TSM r... LTO\nSubject: TSM kliens riport ($TSM_SZERVER)\n$(cat $TMP_FILE)" > $TMP_FILE cp $TMP_HTML_
- TSM és OS adatgyűjtő TSM szerver felméréshez @shell:riportok
- -lin_tape.rules > ${OUTPUT_DIR}/${HOST}_udev.out cat /proc/meminfo > ${OUTPUT_DIR}/${HOST}_meminfo.out cat /proc/cpuinfo > ${OUTPUT_DIR}/${HOST}_cpuinfo.out cat /proc/version > ${OUTPUT_DIR}/${HOST}_version.out... vgs > ${OUTPUT_DIR}/${HOST}_vgs.out cat /proc/scsi/IBMtape > ${OUTPUT_DIR}/${HOST}_IBMtap
- VM-ek diszkjeinek listázása @shell:oravm
- ing id=$SOR" 2>&1 > ${TMP_FILE}.1 PHYS_DISK=$(cat ${TMP_FILE}.1 | grep 'Physical.Disk' | sed -r 's/(^.*\[)(.*)(\])/\2/') PHYS_DISK_ID=$(cat ${TMP_FILE}.1 | egrep 'Physical.Disk' | awk '{pri... PHYS_DISK_ID" "User-Friendly Name") SLOT_NR=$(cat ${TMP_FILE}.1 | awk -F'=' '/Slot/{print $2}') VM_NAME=$(cat ${TMP_FILE}.1 | egrep 'Vm' | sed -r 's/(^.*\[)(.*
- Linux interfészek listázása @shell:device_management
- -d /sys/class/fc_host/host*); do STATE=$(cat $PORT/port_state) SPEED=$(cat $PORT/speed) WWN=$(cat $PORT/port_name | sed 's/^0x//') echo "$PORT#$WWN#$SPEED#$STATE
- AIX tape device-ok lekérdezése sorozatszámmal, PRI/ALT párral (ha van) @shell:riportok
- lscfg -vl $DEVI > /tmp/get_serial.tmp SERIAL=`cat /tmp/get_serial.tmp |grep Serial|awk '{print substr($2,22,12)}'` TYPE=`cat /tmp/get_serial.tmp |grep Type|awk '{print substr($4,12,8)}'` FMR=`cat /tmp/get_serial.tmp |grep FW|awk '{print substr($
- Tömeges VLAN interfész generáló szkript @shell:oravm
- p -oP '(?<=id:)[^ ]+(?= )') RC=$? cat /tmp/ovm_create_vlan_interfaces.tmp | tee -a $LOG... rfaces.tmp RC2=$? cat /tmp/ovm_create_vlan_interfaces.tmp | tee -a $LOG... fi echo | tee >> $LOGFILE done <<< "`cat $1 | grep -v '^#' | sed 's/[[:space:]]\+/ /g' | t
- Shell szkript felderítő szkript @shell
- llow)' find /var/spool/cron/ -type f | xargs -I{} cat {} | grep -v '^#' | grep -v '^$' | egrep -v '(err... >> $CSVFILE if [[ -n $FILE_LISTA ]]; then cat $FILE_LISTA > $TMPFILE else find $STARTDI... u=x -o -perm -g=x -o -perm -o=x \) > $TMPFILE fi cat $TMPFILE | grep -v '^$' | while read FILE; do
- AIX tape device-ok átnevezése beszédesre konfig állomány alapján @shell:device_management
- NEW_WWN=$(echo $LINE2 | awk '{print $4}') cat $TAPE_DEV_FILE | grep rmt | while read LINE; do ... NEW_WWN=$(echo $LINE2 | awk '{print $4}') cat $TAPE_DEV_FILE | grep smc | while read LINE; do
- TSM node replikacios iranyt forgato szkript @shell:replikacio
- ite "A \"$1\" file-ban felsorolt node-ok:" cat $1 | tee $TMP_FILE cat $1 >> $LOG_FILE else log $red "A $1 fajl nem letezik." log $red "Fut
- VMware image mentések riportja @shell:riportok
- ition: inline\nSubject: TSM VM kockazat riport\n$(cat $OUTPUT_FILE.html)" > $OUTPUT_FILE.html cat $OUTPUT_FILE.html | sendmail -B 8BITMIME -t -F $EMAIL_FROM
- Színes TSM szerver konzol @shell:riportok
- awk 'BEGIN{IGNORECASE=1}/TCPS/{print $2}') TCPS=$(cat /opt/tivoli/tsm/client/ba/bin/dsm.sys | grep -v '... awk 'BEGIN{IGNORECASE=1}/TCPP/{print $2}') TCPP=$(cat /opt/tivoli/tsm/client/ba/bin/dsm.sys | grep -v '