dhcp_lease_time - Online in the Cloud

This is the command dhcp_lease_time that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


dhcp_lease_time - Query remaining time of a lease on a the local dnsmasq DHCP server.

SYNOPSIS


dhcp_lease_time <address>

DESCRIPTION


Send a DHCPINFORM message to a dnsmasq server running on the local host and print (to
stdout) the time remaining in any lease for the given address. The time is given as string
printed to stdout.

If an error occurs or no lease exists for the given address, nothing is sent to stdout a
message is sent to stderr and a non-zero error code is returned.

Requires dnsmasq 2.67 or later and may not work with other DHCP servers.

The address argument is a dotted-quad IP addresses and mandatory.

LIMITATIONS


Only works with IPv4 addresses and DHCP leases.

Use dhcp_lease_time online using onworks.net services



Latest Linux & Windows online programs