File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ replot
596596END
597597gnuplot -persist $resultsdir$subdir ${runnumber} /pga.plot
598598
599- # buffer cache plot
599+ # buffer cache, shared pool and pga
600600cat >> $resultsdir$subdir ${runnumber} /memory.plot << END
601601set title "$runnumberintitle Database memory (GiB) $titletext "
602602set logscale y
@@ -907,10 +907,21 @@ cat >> $resultsdir$subdir${runnumber}/ash.plot << END
907907 set yrange [0.5:*]
908908 set ylabel 'session counts $ashnotice '
909909 set title "$runnumberintitle ash session counts $titletext "
910- set xtics $xtics
910+ set x2data time
911+ set x2tics nomirror
912+ set timefmt "%Y.%m.%d:%H:%M:%S"
913+ set format x2 $x2format
914+ set xtics $xtics nomirror
911915 set terminal png size imgwidth,480
912916 set output "$awrdirectory$subdir$runnumber /${runnumber} _ash.png"
913917END
918+ # set x2range in ash.plot
919+ rwloadsim -q x2range.rwl $runnumber ` cat $resultsdir$subdir ${runnumber} /xrange.csv` $resultsdir$subdir$runnumber /ash.plot
920+ if test $x2label = no
921+ then
922+ echo set nox2tics >> $resultsdir$subdir$runnumber /ash.plot
923+ fi
924+
914925cat $resultsdir$subdir ${runnumber} /ashplotline.txt >> $resultsdir$subdir ${runnumber} /ash.plot
915926
916927if test ! -z " $ashyrange "
Original file line number Diff line number Diff line change 22# Licensed under the Universal Permissive License v 1.0
33# as shown at https://oss.oracle.com/licenses/upl/
44
5+ # bengsig 29-oct-2024 - Show when $hostname differs from hostname
56# lpierce 17-oct-2024 - added awr_replication_cmd
67# bengsig 10-oct-2023 - sessionpool max use/lifetime
78# bengsig 31-jul-2023 - rategradientstep
@@ -710,7 +711,13 @@ if show_changed_values then
710711 printline "orders_hashcount="||orders_hashcount;
711712 printline "query_order_max_limit="||query_order_max_limit;
712713 printline "cursor_cache_size="||cursor_cache_size;
713- printline "hostname="||hostname;
714+ string(1024) system_hostname;
715+ system "hostname", system_hostname;
716+ if system_hostname = hostname then
717+ printline "hostname="||hostname;
718+ else
719+ printline "hostname=" hostname || " (different from system hostname=" system_hostname ")";
720+ end if;
714721 if fix_cursorleak is not null then
715722 if fix_cursorleak > 1.0 then fix_cursorleak := 1.0; end if;
716723 if fix_cursorleak < 0 then fix_cursorleak := 0; end if;
You can’t perform that action at this time.
0 commit comments