Tuesday, August 12, 2014

Shutdown


  • A UNIX machine should (almost) never be just turned off.
  • It is also important for the Systems Administrator to understand what the correct mechanism is to shut a UNIX machine down
  • There are a number of steps to carry out to ensure that the operating system and many of its support functions remain in a consistent state.


Step before shutdown

  • List of all logged-in user by “who” command. You might sent broadcast message to let user know the system being shutdown
  • Flush file system buffer to physical disk by “sync”
  • Use Shut Down command

Commands to shut down
  • /usr/sbin/shutdown
  • /sbin/init
  • /usr/sbin/halt
  • /usr/sbin/reboot


No comments:

Post a Comment