File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed 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