I want to know if there is a command or program that shows the reason of the last wakeup from suspend.
In windows exists a builtin command which shows the last wakeup reason, for example the keyboard or mouse, or via WOL.
The thing is that it happened already 2 times to find my computer awake in the morning when I clearly put it to sleep at night.
/var/log/pm-suspend.log:
Tue Oct 22 23:50:24 EEST 2013: performing suspend
Wed Oct 23 08:24:11 EEST 2013: Awake.
Wed Oct 23 08:24:11 EEST 2013: Running hooks for resume
PS: Default 13.10 installation, WOL enabled, but I don't think this is a problem since I used WOL before (with Archlinux and SuSe) and it only woke when I told it to do so.