use platform instead of socket to get hostname
make most-resources a scheduling option