LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2014, 10:06 PM   #1
ineloquucius
LQ Newbie
 
Registered: Jan 2010
Posts: 27

Rep: Reputation: 0
What keeps my (Trusty?) Lubuntu awake at night (sometimes)?


My Lubuntu trusty isn't especially trusty when it comes to sleep. Where can I find a log of events that are keeping it awake?
 
Old 11-19-2014, 02:46 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
maybe dmesg.

why not just switch it off?
 
Old 11-19-2014, 06:42 AM   #3
ineloquucius
LQ Newbie
 
Registered: Jan 2010
Posts: 27

Original Poster
Rep: Reputation: 0
You jest, sir...

Thought of dmesg, but it's festooned with other messages, so it's hard out there for a noob.

Is there not some place where xfce4 power mgr (or whatever watches these sleep disturbing events) keeps its own?
 
Old 11-19-2014, 08:46 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,682

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
I assume the PC is running and you hear the hard drive spin up. Typically, there are one or more system cronjobs that run at night.

/var/log/syslog
 
Old 11-21-2014, 02:15 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ineloquucius View Post
Thought of dmesg, but it's festooned with other messages, so it's hard out there for a noob.
let me take the opportunity to say something about this.
because i stumble upon this sort of reply quite often - the argumentation here seems to be:
that i, or others who have been using linux longer than the self-confessed noob, have some kind of magic ability that makes it easy for them to read log messages. well, let me tell you, it isn't. it is still very much a pain in the brain. maybe less so than 3 years ago (when I was the noob), but it still is.
and, like in so many social situations (nothing to do with computers!), i have the choice to
a) read the logs for you, thus creating more and more situations for myself where I have to do the dirty stuff (again)
- or -
b) tell you to go through it yourself and learn to actually read it, thus gathering experience and the ability to help yourself.
 
Old 11-21-2014, 05:35 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Wake from some choice would be in Bios and maybe other places. Find all possible choices and then diag them.

People seem to leave on wake from lan on. A lot of crooks look just for that.
 
Old 11-21-2014, 11:18 PM   #7
ineloquucius
LQ Newbie
 
Registered: Jan 2010
Posts: 27

Original Poster
Rep: Reputation: 0
It's not that the systems wakes up, it's just that it never goes to sleep in the first place. The sleep function must naturally be--while still awake--looking for certain events to keep or reset the inactivity timer to 0 secs. I'm trying to figure out what events are doing that long after I've walked away from the server.

Not worried about crooks in this case, but I can appreciate the comment on that score.
 
Old 11-22-2014, 08:40 AM   #8
ineloquucius
LQ Newbie
 
Registered: Jan 2010
Posts: 27

Original Poster
Rep: Reputation: 0
Update:

If I restart the xfce4-power-manager or simply change a setting and save, it will sleep pretty much on schedule. Then, after some experimenting, I figured out that if I wake the system without using any keystrokes (WOL or pwr-button, e.g.) it will never sleep again unless I enter a keystroke. Somehow it would appear that without a keystroke (or possibly mouse--didn't have one handy) the timer never starts again.

Thoughts?
 
Old 11-23-2014, 07:49 AM   #9
ineloquucius
LQ Newbie
 
Registered: Jan 2010
Posts: 27

Original Poster
Rep: Reputation: 0
Bueller...?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Lubuntu 14.04 LTS Trusty Tahr: Video Review and Screnshot Tour LXer Syndicated Linux News 0 05-03-2014 04:31 PM
[SOLVED] Lubuntu 12.10 crashing every night possibly by BackInTime program xmrkite Linux - Software 21 01-03-2014 03:39 PM
how to awake my laptop ? mq15 Linux - Laptop and Netbook 3 04-27-2009 01:35 AM
is samba awake? Jan Tanjo Linux - Networking 14 01-16-2005 07:58 PM
How do you stay awake? bkeating General 20 01-25-2003 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration