hostinfo

hostinfo prints information about the host such as the host's address and interfaces. This requires inetaddr_list_interfaces, which is static in inetaddr. If you want to play with this, you'll need to make it global and then recompile.