dhcpd: How to tell how many leases are available?

Posted by Jakobud on Server Fault See other posts from Server Fault or by Jakobud
Published on 2010-06-11T20:55:07Z Indexed on 2010/06/11 21:03 UTC
Read the original article Hit count: 257

Filed under:

I'm a little bit new to dhcpd. I'm trying to figure out how many leases we have available on our network.

The /var/lib/dhcpd/dhcpd.leases file appears to show almost a history of leases and some of the current leases. Not sure if that really helps me or not...

I figured there might be a command or something I'm unaware of that can tell me how many leases are left.

© Server Fault or respective owner

Related posts about dhcpd