0

是否有任何linux命令或java代码可以找到Mainfrane机器的MAC地址?. 我试图从 OMVS 区域执行“ifconfig”命令,但它不起作用。任何帮助将非常感激。提前致谢。

4

1 回答 1

2

不能真的说我知道,我的大型机技能有限。

但是通过一些 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

于 2017-03-07T22:21:19.173 回答