是否有任何linux命令或java代码可以查找Mainfrane机器的MAC地址? 。我尝试从 OMVS 区域执行“ifconfig”命令,但它不起作用。任何帮助将非常感激。提前致谢。
最佳答案
不能说我知道,我的大型机技能有限。
但是通过一些 IBM 搜索我发现了这个:
Use the DISPLAY TCPIP,,OSAINFO command to retrieve information for active IPAQENET and IPAQENET6 interfaces.
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.halu101/dosainfo.htm
看第 236 页:
Diagnostic TCP/IP commands Commands used to display TCP/IP and network
information include NETSTAT, PING, and TRACERTE. The following
commands can be issued from an ISPF/TSO session. By omitting the TSO
prefix, the same commands can be entered at a UNIX System Services
prompt. However, the command must be in lower case. The UNIX command
options for Netstat are shown in parentheses.
TSO NETSTAT ROUTE
Displays routing information (-r).
TSO NETSTAT HOME
Displays the home IP addresses for the IP stack (-h).
TSO NETSTAT DEV
Displays the device status for the defined network interfaces (-d).
TSO NETSTAT STATS
Displays performance statistics (-S).
TSO NETSTAT VIPADCFG
Displays dynamic VIPA configuration data (-F).
TSO NETSTAT SOCKETS
Displays sockets based on client name (-s).
TCP/IP connections (-c)
Displays information for all TCP/IP connections (-c).
在 https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.znetwork/znetwork_book.pdf
关于java - 大型机 ZOS 机器的 MAC 地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42659202/