I have a debian server and last week it 'magicaly' restarted, and since then it keeps restarting at certain time, usually at 00:00am or 5:00am. So I'm trying to find out what process is causing this issue.
I checked the syslog, and /var/log/messages but find nothing about PID. My crontab is ok too, it's empty.
Im using the following system.
Linux -- 3.2.0-4-686-pae #1 SMP Debian 3.2.73-2+deb7u2 i686 GNU/Linux
Debian GNU/Linux 7.9 (wheezy)
The question is: How I can find if a process rebooted my system?
Any help will be appreciated ;)
/var/log/messagesshould allow you to make such distinction. .. – HBruijn May 04 '16 at 18:18qla2xxx [0000:05:00.1]-8038:4: Cable is unplugged...And then, at the 5:24am this occurs:Initializing cgroup subsys cpuset– Kennedy Silva May 04 '16 at 18:39last rebootcommand return this:reboot system boot 3.2.0-4-686-pae Thu May 5 06:49 - 08:50 (02:01)– Kennedy Silva May 05 '16 at 11:53reboot system boot 3.2.0-4-686-pae Thu May 5 06:49 - 08:50 (02:01).Only this, Rob.
– Kennedy Silva May 05 '16 at 12:28