npppctl8
Control npppd
Usage
npppctl [-n]
[-s
socket]
command
[argument ...]
Overview
The npppctl utility controls the npppd(8) daemon.
The options are as follows:
-
-n -
Show IP addresses instead of their hostnames.
-
-s socket -
Use socket instead of the default /var/run/npppd.sock to communicate with npppd(8).
The following commands are available:
clearall| filter ...-
Disconnect PPP sessions. If filter is specified, only matching PPP sessions are disconnected. If
allis specified, all PPP sessions are disconnected. Seesessionallfor the types of filter. monitorall| filter ...-
Monitor start and stop of PPP sessions. If filter is specified, only matching PPP sessions are monitored. If
allis specified, all PPP sessions are monitored. Seesessionallfor the types of filter. sessionall[filter ...]-
Show detailed information for PPP sessions. If filter is specified, only matching PPP sessions are shown; otherwise all PPP sessions are shown. The following filters are available:
addressip_address-
Show or clear PPP sessions whose IP address match ip_address.
interfaceinterface_name-
Show or clear PPP sessions that use the interface specified by interface_name.
ppp-idid-
Show or clear PPP sessions whose Ppp-Id match id.
protocolprotocol-
Show or clear PPP sessions that use the tunneling protocol specified by protocol.
realmrealm_name-
Show or clear PPP sessions whose realm match the specified realm_name.
usernameusername-
Show or clear PPP sessions whose username match username.
sessionbrief-
Show brief information for all PPP sessions.
sessionpackets-
Show I/O statistics for all PPP sessions.
Releases
29 releases since OpenBSD 5.3; the text changed 1 time.
-r until OpenBSD 5.5;
-t until OpenBSD 5.5.