← 返回命令列表

Linux command

scamper 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Traceroute

scamper -c "trace" -i [target]

Ping

scamper -c "ping" -i [target]

Multiple targets from file

scamper -c "trace" -f [targets.txt]

Output to file

scamper -c "trace" -o [output.warts] -i [target]

Set probing rate

scamper -c "trace" -p [100] -i [target]

DNS lookup

scamper -c "host" -i [example.com]

Dealias (alias resolution)

scamper -c "dealias" -i [ip1],[ip2]

说明

scamper is a network measurement tool designed for large-scale Internet research. It supports multiple probing techniques including traceroute, ping, DNS lookups, alias resolution, and load-balanced path detection, running them efficiently against many targets with configurable parallelism and rate limiting. Results are stored in the warts binary format, which captures rich metadata including precise timing, ICMP responses, and measurement parameters. Companion tools (sc_warts2json, sc_warts2csv, etc.) convert warts data into common formats for analysis. Rate limiting controls prevent overwhelming target networks while maintaining measurement throughput.

参数

-c _COMMAND_
Measurement command.
-i _TARGET_
Target address.
-f _FILE_
Target file.
-o _FILE_
Output file.
-p _RATE_
Packets per second.
-M _MONITORNAME_
Monitor name.
-l _LISTID_
List ID.

FAQ

What is the scamper command used for?

scamper is a network measurement tool designed for large-scale Internet research. It supports multiple probing techniques including traceroute, ping, DNS lookups, alias resolution, and load-balanced path detection, running them efficiently against many targets with configurable parallelism and rate limiting. Results are stored in the warts binary format, which captures rich metadata including precise timing, ICMP responses, and measurement parameters. Companion tools (sc_warts2json, sc_warts2csv, etc.) convert warts data into common formats for analysis. Rate limiting controls prevent overwhelming target networks while maintaining measurement throughput.

How do I run a basic scamper example?

Run `scamper -c "trace" -i [target]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c _COMMAND_ do in scamper?

Measurement command.