x-nets

Cache and view network tables in TSV or CSV formats.

4.6k|161|Updated Oct 1, 2022
One-click install
npx skills add https://github.com/x-cmd/x-cmd --skill x-nets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-nets
Source: https://github.com/x-cmd/x-cmd/tree/main/mod/nets
Command: npx skills add https://github.com/x-cmd/x-cmd --skill x-nets

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill offers an enhanced netstat functionality, simplifying the view and management of network connections, routing tables, and interface statistics.

Core Features & Use Cases

  • Data Caching: Efficiently manage network data with caching for quick access.
  • Table View: View network tables (like internet, route, etc.) with ease.
  • Multiple Formats: Output data in TSV, CSV formats for further processing.
  • Interactive Mode: Navigate through tables interactively.
  • Cross-platform: Compatibility across Linux, macOS, and Windows.

Quick Start

Update and cache network data with x nets update. List available tables using x nets ls. View a specific table with x nets view <table>.

Frequently Asked Questions about x-nets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cache network statistics for quick access during system administration?

You can cache network statistics using the update command, which stores routing tables and connection data locally. This allows quick access to network data without repeatedly querying the system.

How do I view network routing tables and connection statistics in CSV or TSV format?

View network routing tables in CSV or TSV format by specifying the desired format option when listing or viewing tables. This structured output is ideal for further data processing and analysis.

Does this network monitoring tool work across Linux, macOS, and Windows?

Yes, this network monitoring tool is cross-platform compatible with Linux, macOS, and Windows. It automatically utilizes netstat, ss, or route commands depending on the operating system.

What is the best way to interactively navigate and manage network connections?

The best way to interactively navigate network connections is through the interactive mode. This mode allows you to browse through internet, route, and interface tables dynamically.

Do I need shell access to run network diagnostics and check interface statistics?

Yes, shell access is required to run network diagnostics and check interface statistics. The tool relies on underlying system commands like netstat, ss, and route to gather data.