# arpd

收集免费ARP信息

## 补充说明

**arpd命令** 是用来收集免费arp信息的一个守护进程，它将收集到的信息保存在磁盘上或者在需要时，提供给内核用户用于避免多余广播。

### 语法

```
arpd(选项)(参数)
```

### 选项

```
-l：将arp数据库输出到标准输出设备显示并退出；
-f：指定读取和加载arpd数据库的文本文件，文件的格式与“-l”输出信息类似；
-b：指定arpd数据库文件，默认的位置为“/var/lib/arpd.db”；
-a：指定目标被认为死掉前查询的次数；
-k：禁止通过内核发送广播查询；
-n：设定缓冲失效时间。
```

### 参数

网络接口：指定网络接口。

### 实例

启动arpd进程：

```
arpd -b /var/tmp/arpd.db
```

运行一段时间后，查看结果：

```
arpd -l -b /var/tmp/arpd.db
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/linux/ming-ling/arpd.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
