Real implementation of ips() on OSX, now for Linux.