cat /var/run/reboot-required
Category: VPS Management
cat /var/run/reboot-required
Check if Ubuntu requires a reboot to apply a kernel or library update
Ubuntu creates this file when an update requires a reboot (usually a kernel or glibc update). If this file exists, schedule a reboot soon.