lease

  1. M

    DHCP leases and connected clients

    Sometimes I check how many leases DHCP has issued using this command. cat /var/lib/misc/dnsmasq.leases | wc -l That doesn't really tell me if those clients are connected or not. So, to check how many connected clients I have, I try this: arp -a | awk '$4!="<incomplete>"' | wc -l The thing is...
Back
Top