Teljes szöveg:
- TSM napi riport shell szkript
- tus' SQL_UTOLSO24H_ADATMOZGASAI="select nn.domain_name,summary.activity, sum(cast(summary.bytes/1024/102... y='ARCHIVE' or activity='RETRIEVE') and ((nn.node_name=summary.entity)) group by domain_name,summary.activity order by activity,domain_name asc" SQL_UTOLSO24H_AKTIVITASAI="SELECT activity, cast(fl
- TSM és OS adatgyűjtő TSM szerver felméréshez
- ort TSMPASS=report TSMSERVER=tsm # dsm.sys servername XXX INAKTIV_NODE_NAPSZAM=32 #************** konfi... ************************************# HOST=$(hostname) DSMADMCOPTS="-se=$TSMSERVER" # -dataonly=y" # A... t substr(end_time,1,10) as DATE, substr(nn.domain_name,1,15) as DOMAIN,substr(summary.activity,1,15) as ... y='ARCHIVE' or activity='RETRIEVE') and ((nn.node_name=summary.entity)) group by substr(end_time,1,10),d
- TSM kliens riport shell szkript
- by <rendező mező> Pl: fonok@cegem.hu; (e.node_name='FONOK_SZERVERE' or e.schedule_name like 'NAPI_INCR_%') ORDER BY e.schedule_name Ha egy email címhez több sor is van, azokat külön szekció... TSM-hez SQL_Q_FAILED_EVENTS="select substr(e.node_name,1,20) as \"NODE NAME\", e.schedule_name, cast ( S
- Egy node adott objektumának kikeresése, van-e, melyik szalagon van
- PSW="jelszavam" printf 'Keresett objektum nev (ll_name): '; read -r LL_NAME if [[ $LL_NAME ]]; then LL_NAME="and ll_name='$LL_NAME'"; fi printf 'Keresett objektum utvonal (hl_name): '; read -r H
- TSM kliens log gyűjtő
- asztva, ahová a tömörített fájlt küldje * $HOSTNAME: A levél fejlécébe írt hosztnév A levél elküldés... amok. <file sh tsm_log_collect.sh> #!/bin/sh HOSTNAME=`hostname` ADMINMAIL="tsmadmin@szolgaltatom.hu" LOGFAJLOK="/var/adm/dsmsched.log /var/adm/dsmerror.log ... /null | awk '{ sum+=$5} END {print sum}'` if [[ `uname` = 'Linux' ]]; then e='-e'; else e=''; fi # Az ec
- TSM drive usage riport
- ER -dataonly=y -commadel "select distinct library_name from drives where online='YES'") bold=$(tput bol... unt(*) from drives where online='YES' and library_name='${LIBRARY}'") # Minden library-re kulon lefuttat... unt(*) from drives where online='YES' and library_name='${LIBRARY}')) as dec(4,0)) from ( \ select conca... m summary where ACTIVITY='TAPE MOUNT' and library_name='${LIBRARY}' and start_time<timestamp('${DATE_TO}
- VMware image mentések riportja
- h in_risk_vmware_machines.sh> #!/bin/bash cd $(dirname $(readlink -f $0)) MAILTO=$1 . in_risk_vm_machine... E printf "%-30s %-60s %-40s %-5s %-15s\n" "VM_NAME","RESOURCE_POOL","UUID","PW_ST","LAST_BACKUP" >>$... -type m | sed 's/^.*\///g' | sort | while read VM_NAME; do POWER_STATE=$(./govc vm.info "$VM_NAME" | awk -F':' '/Power state/{print $2}' | sed 's/ *po
- Szebb 'q session' kimenet
- DEFAULT='\033[0m' SQL="SELECT SESSION_ID, CLIENT_NAME, substr(char(start_time),1,19) AS START_TIME,subs... BYTES_SENT>1024*1024)" echo "SESSION_ID CLIENT_NAME START_TIME ELAPTIME STA