Update sysinfo.sh

Added comments and more useful code.