Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dhcp_lease_time(1) [centos man page]

DHCP_LEASE_TIME(1)					      General Commands Manual						DHCP_LEASE_TIME(1)

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.66 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. SEE ALSO
dnsmasq(8) AUTHOR
This manual page was written by Simon Kelley <simon@thekelleys.org.uk>. DHCP_LEASE_TIME(1)

Check Out this Related Man Page

dhclient.leases(5)						File Formats Manual						dhclient.leases(5)

NAME
dhclient.leases - DHCP client lease database DESCRIPTION
The Internet Systems Consortium DHCP client keeps a persistent database of leases that it has acquired that are still valid. The database is a free-form ASCII file containing one valid declaration per lease. If more than one declaration appears for a given lease, the last one in the file is used. The file is written as a log, so this is not an unusual occurrence. The format of the lease declarations is described in dhclient.conf(5). FILES
/var/db/dhclient.leases SEE ALSO
dhclient(8), dhcp-options(5), dhclient.conf(5), dhcpd(8), dhcpd.conf(5), RFC2132, RFC2131. AUTHOR
dhclient(8) was written by Ted Lemon under a contract with Vixie Labs. Funding for this project was provided by Internet Systems Consor- tium. Information about Internet Systems Consortium can be found at http://www.isc.org. dhclient.leases(5)
Man Page