|
for those without the new DNS_LOOKUP i've used this one:
SELECT Remote_Address,Local_Address
,Local_Port,Local_Port_Name
,N.Job_Name,Job_Type
FROM Qsys2.Netstat_Job_Info
WHERE Local_Port IN (23, 992)
AND Remote_Address NOT IN ('::','0.0.0.0')
AND Authorization_Name NOT IN ('', 'QTCP')
ORDER BY Local_Port ,Remote_Address;
Rob Berendt wrote on 8/29/2023 6:54 AM:
SELECT dns_lookup_ip(IP_ADDRESS *=>* N.REMOTE_ADDRESS) as client_name,
remote_address, local_address, local_port, local_port_name
FROM QSYS2.NETSTAT_INFO n
where local_port in(*23*, *992*)
and remote_address not in('0.0.0.0', '::')
order by local_port, remote_address
;
--
-- .
Bryan
--
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 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.