Chinaunix首页 | 论坛 | 博客
  • 博客访问: 460916
  • 博文数量: 145
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1139
  • 用 户 组: 普通用户
  • 注册时间: 2014-01-14 16:47
个人简介

路漫漫其修远兮,吾将上下而求索

文章分类

全部博文(145)

文章存档

2016年(10)

2015年(15)

2014年(120)

我的朋友

分类: 系统运维

2014-01-15 10:39:28

fping命令可以接受一个机器列表,以round-robin方式ping,效率很高,也支持将结果输出到一个文件中。Ubuntu用户可以直接使用apt-get安装,其他Linux发行版可以至文末点击官方网站下载安装。
参数

-a 显示alive的系统
-g IP地址范围
-d 解析主机名
-n 同-d
-f 读入目标机器列表文件
-u 显示无法到达的目标

相关命令

   

点击(此处)折叠或打开

  1. fping -a -g 192.168.1.2 192.168.1.10
  2. 192.168.1.8
  3. ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.2 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.2 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.2 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.4 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.4 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.4 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.5 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.5 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.5 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.6 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.6 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.6 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.7 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.7 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.7 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.9 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.9 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.9 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.10 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.10 ICMP Host Unreachable from 192.168.1.36 for ICMP Echo sent to 192.168.1.10

结果显示192.168.1.8在线
阅读(1451) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~