Teljes szöveg:
- TSM Auto Deployment planner szkript @shell
- ' || N.CLIENT_TARGET_SUBLEVEL then '!!' else 'OK' end as \"OK\", substr(N.PLATFORM_NAME,1,15) as \"OS_... ' whi=$'\e[1;37m' inv=$'\e[7;37m' gry=$'\e[1;90m' end=$'\e[0m' clear # FEJLECT MEGRAJZOLASA FEJLEC="TSM... ls)); do printf "#"; done; #printf "\n" printf "${end}\n" # FEJLEC VEGE printf "Szabalyrendszer lekerde... es Domain es a Stgpool. Ez problema lehet...\n\n${end}" else DEPLOYDIR=${DEPLOYDIR%% *} printf "${gr
- TSM napi riport shell szkript @shell:riportok
- RONTEND_CAP/1024/1024 as decimal (8,2)) as "Front-End TB",substr(FRONTEND_CAP_DATE,1,19) as "Front-End Date",FRONTEND_CLIENT_COUNT as "Front-End client count",cast(TOTALSUROCC_TB as decimal (8,2)) as "SUR ... RONTEND_CAP/1024/1024 as decimal (8,2)) as "Front-End TB",substr(FRONTEND_CAP_DATE,1,19) as "Front-End
- TSM drive usage riport @shell:riportok
- rt_time),1,2)) as ORA, sum( cast(CASE WHEN substr(end_time,1,13)=substr(start_time,1,13) THEN timestampdiff(4,end_time-start_time) WHEN substr(end_time,1,13)>substr(start_time,1,13) THEN timestampdiff(4,timestamp(con... start_time),1,2) || ':59:59.000000'))-start_time) END as dec(5,2))) /60*100 as USAGE from summary where
- Oracle VM CPU pin map @shell:oravm
- ' whi=$'\e[1;37m' inv=$'\e[7;37m' gry=$'\e[1;90m' end=$'\e[0m' function fejlec { # $1: CIM, $2: h... r:]' '[:upper:]'` KIMENET="-=[ ${yel}$FEJLEC${end} ]=-" for I in `seq 1 $((($2-${#FEJLEC}-3)/2)... in `seq 1 $2`; do printf '#'; done printf "${end}" } function show_parameters { echo "Parancs... pcionális]" echo -e "Pl: $0 -c rgzd@aegon.hu${end}" } [[ ! $@ =~ -(c|-check) ]] && echo Kulcs elle
- Hasznos TSM SQL lekérdezések
- eonként === <WRAP prewrap> <file>select - sum((end_time-start_time) minutes) as "Minutes", - decimal(cast(sum((end_time-start_time) minutes) as decimal (6,2)) /1440... rt_time),1,2)) as ORA, sum( cast(CASE WHEN substr(end_time,1,13)=substr(start_time,1,13) THEN timestampdiff(4,end_time-start_time) WHEN substr(end_time,1,13)>subst
- Tömeges VM létrehozó szkript @shell:oravm
- ereket:" echo -e "OVS: ${grn}${OVS_NAME}${end}, Repo: ${grn}${REPO_NAME}${end}, Pool: ${grn}${POOL_NAME}${end}, VM neve: ${grn}${VM_NAME}${end}," echo -e "Memoria [GB]: ${grn}${MEMORY_GB}${end}, vCPU szam
- Fizikai diszkeket átnevező szkript @shell:oravm
- $(env printf '\u2501')> UUID: ${grn}${DISK_UUID}${end}, Nev: ${grn}${DISK_NAME}${end}, Shared: ${grn}${DISK_SHARED}${end}, VM(ek): ${grn}${VM_NAMES}${end}" | tee -a $LOGFILE printf "$(env printf '\u2503') Ha ez nem
- TSM és OS adatgyűjtő TSM szerver felméréshez @shell:riportok
- 7 nap aktivitasa tipusonken:t SQL1="SELECT substr(end_time,1,10), substr(activity,1,20), cast(float(sum... 4/1024/1024 as dec(8,0)) as GB FROM summary WHERE end_time>current_timestamp-168 hours and activity<>'EXPIRATION' and bytes>0 GROUP BY activity, substr(end_time,1,10)" # Az elmuĂlt 7 nap adatmozgasai SQL2="select substr(end_time,1,10) as DATE, substr(nn.domain_name,1,15) a
- Fizikai diszkek tömeges mappelése VM(ek)hez @shell:oravm
- ctrl_c INT function ctrl_c() { echo -e $end exit } [[ -e $1 ]] || { echo "Add meg a ... o "$(env printf '\u250F') A(z) ${yel}$VDISK_NAME${end} hozzarendelese a..." for VM_NAME in $VM_NAME... VM_ID\"" | grep -oP "VmDiskMapping.*(?==)" | awk 'END{print $NF}') echo -e "$(env printf '\u2523')$(env printf '\u2501')> ${grn}$VM_NAME${end} VM ${grn}$SLOT${end}. slotjahoz" printf
- Szkriptelés @linux
- le | sed 's/([^(]*)$/,&/' | awk -F'[,]' '{a[$2]++}END{for(k in a) print $1,k,$3,"("a[k]"x)"}' ==== Use... shortest part of $Pattern that matches the front end of $var.| |${var##Pattern} | Remove from $var the longest part of $Pattern that matches the front end of $var.| |${var%Pattern} | Remove from $var the shortest part of $Pattern that matches the back end of $var.| |${var%%%%Pattern} | Remove from $var t
- Tömeges VLAN interfész generáló szkript @shell:oravm
- a a(z) $OVS_NAME szerver $IFACE_NAME interfeszen:$end" | tee -a $LOGFILE VLAN_IFACE_ID=$(ovm_cl... %Y.%m.%d %H:%M') | ${IFACE}.${VLAN} IP beallitas:$end" | tee -a $LOGFILE ovm_cli embedd... echo "$grn$(date '+%Y.%m.%d %H:%M') | Sikerult!$end" | tee -a $LOGFILE else ... %Y.%m.%d %H:%M') | IP cim beallitas nem sikerült!$end" | tee -a $LOGFILE fi els
- TSM kliens riport shell szkript @shell:riportok
- ed - e.actual_start), '_______abcdefgh_____',' ') end as \"RUNTIME \", case when e.result=0 then ' 0-... e.result as char) || '-' || substr(e.status,1,11) end ) end as \"RESULT\" from events e where (current_timestamp - 24 hours)<e.scheduled_start and e.schedul
- Linux okosságok
- find / -printf '%u %k\n' | awk '{arr[$1]+=$2} END {for (i in arr) {print i,arr[i]}}' ==== SWAP h... void (*rtld_fini)(void), void (*stack_end)){ static int (*real___libc_start_main)() = N... ubp_av, init, fini, rtld_fini, stack_end); } </file> ==== Hasznos oldalak ==== * [[htt
- Linuxos "cfgmgr" @shell:device_management
- then result="$result $beg"; else end=${first#*-} result="$result `seq $beg $end`" fi test "$rest" = "$first" && rest="" f
- TSM trace rotator szkript @shell
- SMSERVER -dataonly=y <<COMMANDS trace flush trace end trace disable * COMMANDS exit 1 } # trap... SMSERVER -dataonly=y <<COMMANDS trace flush trace end trace disable * COMMANDS gzip -c9 $TRACEF