shutdown -s -t N
shutdown -a