have not looked into Robs below, but I was able to get the following working (on my system)


with ifsobjs (path, type) as (
select path_name, object_type
from table(qsys2.IFS_OBJECT_STATISTICS(
start_path_name => '/www',
subtree_directories => 'YES')) a
where path_name like '%httpd.conf'
)
select path, line, line_number, type
from ifsobjs i, lateral (
select * from table (
qsys2.ifs_read(
path_name => path,
end_of_line => 'ANY',
maximum_line_length => default,
ignore_errors => 'NO')
) ) r
where upper(line) like '%LISTEN %'
order by path ;


--
Bryan


Rob Berendt wrote on 5/19/2023 10:26 AM:
If you want the active and enabled ones there's:
https://www.ibm.com/docs/en/i/7.5?topic=services-http-server-info-view

On Fri, May 19, 2023 at 3:24 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:

Hi,

Is there any way I can get the list of our http server instances and
information from the configuration files (the port numbers, for example)?

Thanks
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.