File: netconsole-setup.8.md

package info (click to toggle)
netconsole 0.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 96 kB
  • sloc: sh: 134; makefile: 33
file content (69 lines) | stat: -rw-r--r-- 1,803 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
date: 2018-10-30
footer: netconsole-setup
header: "netconsole-setup's Manual"
layout: page
license: 'Licensed under the ISC license'
section: 8
title: NETCONSOLE-SETUP
---

# NAME

netconsole-setup - Dynamically configure Linux netconsole

# SYNOPSIS

**netconsole-setup** [[**+**][**target-port**]@]**target-host** ...

# DESCRIPTION

Netconsole is a Linux kernel module that sends all kernel log messages over
the network to another computer. It was designed to be as instantaneous as
possible, to enable the logging of even the most critical kernel bugs. It
works from IRQ contexts as well, and does not enable interrupts while sending
packets. Due to these unique needs, only IP networks, UDP packets and Ethernet
devices are supported.

**netconsole-setup** eases the configuration of the netconsole by just taking
the target hostname or IP address. It determines all the needed configuration
values from the running network device (like network interface, target IP and
MAC address). Multiple target hosts can be specified. Each host can be prefixed
with a target port and a plus sign to enable extended console support.

# OPTIONS

**+**
:    if present, enable extended console support for this host

**target-port**
:    port for logging agent (kernel default is port 6666)

**target-host**
:    hostname or IP address for logging agent

# EXAMPLES

```
netconsole-setup loghost
```

sends all kernel log messages to host *loghost*.

```
netconsole-setup +4444@loghost
```

sends all kernel log messages to host *loghost* on port *4444* using the
extended console support.

```
netconsole-setup loghost1 4444@loghost2
```

sends all kernel log messages to host *loghost1* on the default port and to
host *loghost2* on port *4444*.

# AUTHOR

Benjamin Drung <benjamin.drung@cloud.ionos.com>