360 Secure SkillHub
360 安全技能中心

Netstat Tool

该 Skill 提供 netstat-tool 命令,通过命令行选项展示 TCP/UDP 连接、监听套接字、路由表和网络接口统计信息,用于网络诊断与排查。材料显示其依赖 python3 与 bash 运行环境,并调用系统 netstat 命令。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add netstat-tool
Metadata
name
netstat-tool
description
Display network connections, routing tables, and interface statistics. Use for network diagnostics and monitoring.

Netstat - Network Statistics Viewer

Show active network connections, listening ports, routing tables, and network interface statistics. Essential for network troubleshooting.

Usage

netstat-tool [options]

Options

  • -t: TCP connections only
  • -u: UDP connections only
  • -l: Show listening sockets only
  • -n: Show numeric addresses
  • -p: Show process using connection

Examples

netstat-tool -tlnp
netstat-tool -rn
netstat-tool -i