I'm wondering what is the correct way to count how many IPs are in use in my network according to the dhcpd process.
Is it just a matter of counting "binding state active" lines in dhcpd.leases file? Or it is something more complicated?
Thanks in advance.
Best Answer
You could use ReportDHCP which parses your dhcp.leases file and provides you with a report that should give you what you are looking for.