meta data for this page
  •  

Különbségek

A kiválasztott változat és az aktuális verzió közötti különbségek a következők.

Összehasonlító nézet linkje

Előző változat mindkét oldalonElőző változat
Következő változat
Előző változat
shell:riportok:q_pr [2017/05/18 15:25] – ↷ Page moved from shell:q_pr to shell:riportok:q_pr adminshell:riportok:q_pr [2024/11/13 15:58] (aktuális) admin
Sor 22: Sor 22:
 dsmadmc -pa=$PA -id=$ID -dataonly=y -se=$TSMSERVER -commadel -displ=list "$SQL" | awk -F',' '{printf "%-11s   %-20s   %-19s   %2dd %2dh %2dm   %11s %17s\n", $1, $2, $3, $4, $5, $6, $7, $8 ,$9}' dsmadmc -pa=$PA -id=$ID -dataonly=y -se=$TSMSERVER -commadel -displ=list "$SQL" | awk -F',' '{printf "%-11s   %-20s   %-19s   %2dd %2dh %2dm   %11s %17s\n", $1, $2, $3, $4, $5, $6, $7, $8 ,$9}'
 </file> </file>
 +
 +Belső TSM-es script:
 +
 +<WRAP prewrap>
 +<file>DEFINE SCRIPT Q_PR "SELECT process_num, substr(process,1,20) as PROCESS, substr(substr(substr(status,1,instr(status,'.')),1,CASE WHEN posstr(substr(status,1,instr(status,'.')),',')>0 THEN instr(substr(status,1,instr(status,'.')),',') ELSE instr(status,'.') END -1),1,40) as DETAIL, TRANSLATE('a bc:de:fg', DIGITS(current_timestamp - start_time), '_______abcdefgh_____',' ') as RUNTIME, cast(float(bytes_processed/1024/1024/1024) AS DEC(12,2)) AS GB, cast((cast(bytes_processed as dec(18,0))/cast(timestampdiff(2,char(current_timestamp-start_time)) as decimal(18,0))) / 1024 / 1024 AS DEC (18,2)) AS ""MB/s"" FROM processes order by process_num"</file></WRAP>