是否有任何linux命令或java代码可以找到Mainfrane机器的MAC地址? 。我试图执行' ifconfig'来自OMVS区域的命令,它不起作用。任何帮助将非常感激。提前谢谢。
答案 0 :(得分:1)
不能说我知道,我的大型机技能有限。
但是通过一些IBM搜索我发现了这个:
使用DISPLAY TCPIP ,, OSAINFO命令检索活动IPAQENET和IPAQENET6接口的信息。
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 中的