Name
netconsole — Output console data across the network.
Synopsis
netconsole=[src-port]@[src-ip]/[dev],[target-port]@ target-ip
/[target-mac-address]
Send kernel console data across the network using UDP packets to another machine. Options are:
src-portSource port for the UDP packets. The default value is 6665.
src-ipSource IP address of the interface to use.
devNetwork interface to use.
eth0is an example. The network interface can also run normal network traffic, because the netconsole data is not intrusive and should cause no slowdown in other network operations.target-portPort that the logging agent will use. The default value is 6666.
target-ipIP address for the logging agent.
target-mac-addressEthernet MAC address for the logging agent.
To listen to this data, the remote machine can use the syslogd program, or run the netcat program as follows:
netcat -u -l -pport
For more background on how to use this option, see the file Documentation/networking/netconsole.txt.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access