linux如何安装netstat(linux安装netstat教程)

Linux如何安装netstat?Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等,下面看下linux安装netstat教程。

1、首先配置好本机的yum源: yum repolist all

2、利用netstat命令,却提示:-bash: netstat: command not found

3、执行yum provides */netstat命令就可以看到提供命令的工具包net-tools-2.0-0.17.20131004git.el7.x86_64

4、安装工具包:yum install net-tools

5、利用本地服务测试:netstat

以上就是linux安装netstat的详细步骤了。

未经允许不得转载:国外服务器评测 » linux如何安装netstat(linux安装netstat教程)