When the linux system is rebooting, how could I get to know on who triggered the reboot.  It is sufficient for me to know whether it is triggered by user using the Shutdown or Reboot command or it is triggered by some daemon. 
Differentiating user triggered system reboot from daemon triggered system reboot
linux;shutdown;reboot