360 Secure SkillHub
360 安全技能中心

Ping Tool

该 Skill 提供 ping-tool 命令行工具,向指定主机发送 ICMP echo 请求并测量响应时间,用于网络连通性诊断;支持设置发包数量、间隔、包大小和超时。随附 scripts/ping.py,但具体实现细节未在材料中给出。

dinghaibin
dinghaibin
热度 30.30
最近更新 2026-05-11 17:46:54
分类:自动化依赖:代码执行应用场景:DevOps / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ping-tool
Metadata
name
ping-tool
description
Test network connectivity to remote hosts by sending ICMP echo requests. Use for network diagnostics and latency measurement.

Network Connectivity Tester

Send ICMP echo request packets to network hosts and measure response times. Essential tool for diagnosing network connectivity issues.

Usage

ping-tool [options] <hostname>

Options

  • -c N: Send N packets then stop
  • -i N: Wait N seconds between packets
  • -s N: Set packet size
  • -t N: Set timeout in seconds

Examples

# Ping 4 times
ping-tool -c 4 google.com

# Continuous ping
ping-tool 8.8.8.8

# With interval
ping-tool -i 2 -c 10 example.com