Skip to content

Commit 363266a

Browse files
committed
Merge branch 'bkemain' into 'oramain'
Bkemain See merge request rwp/rwloadsim!32
2 parents 44d01b6 + 934c8bf commit 363266a

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

bin/oltpplot

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ replot
596596
END
597597
gnuplot -persist $resultsdir$subdir${runnumber}/pga.plot
598598

599-
# buffer cache plot
599+
# buffer cache, shared pool and pga
600600
cat >> $resultsdir$subdir${runnumber}/memory.plot <<END
601601
set title "$runnumberintitle Database memory (GiB) $titletext"
602602
set 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"
913917
END
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+
914925
cat $resultsdir$subdir${runnumber}/ashplotline.txt >> $resultsdir$subdir${runnumber}/ash.plot
915926

916927
if test ! -z "$ashyrange"

oltp/parameters.rwl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
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;

0 commit comments

Comments
 (0)