Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Laptop Random Shutdowns

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Fat_Tuesday



Joined: Mon Oct 09, 2006 1:14 pm
Posts: 77

PostPosted: Tue Jan 03, 2012 7:27 pm    Post subject: Laptop Random Shutdowns Reply with quote

Hi all,

This is happening in ubuntu 11.10 and Vista. My lappy randomly shuts itself down and the only thing I can think of is that it's overheating (in Vista I was gaming using Steam, in ubuntu I was playing Warsow). I can get some canned air to clean the cobwebs and clag out but was wondering if there's a system log in ubuntu that I could check that would be of any use?
Back to top
View user's profile Send private message
Bruno
LXF regular


Joined: Tue Sep 18, 2007 7:07 pm
Posts: 139
Location: Cambridgeshire, UK

PostPosted: Wed Jan 04, 2012 6:32 pm    Post subject: Reply with quote

Hi There,

I think most or all of the logs on a linux system are located in /var/log/. Have a look at this page for more info. I think for start-up and shut-down info, you need /var/log/messages. Does the laptop just switch off instantly or does it run through the shut-down procedure first?

BTW, comments on the accuracy of my reply from any more-seasoned geeks would be welcome as I'm still learning.
Back to top
View user's profile Send private message
MartyBartfast
LXF regular


Joined: Mon Aug 22, 2005 8:25 am
Posts: 780
Location: Hants, UK

PostPosted: Wed Jan 04, 2012 8:52 pm    Post subject: Reply with quote

Not sure what it will put in the logs, but /var/log/messages is the place to look.

You might be able to check the CPU temp by opening up a console in Ubuntu and doing

Code:

acpi -t


FWIW If your fans are blocked the air can might not be a lot of use, it certainly wouldn't have been any use when the same thing happened to my daughters Dell as it was so stuffed with crud, the only way to clean it out was to open it up.
_________________
I have been touched by his noodly appendage.
Back to top
View user's profile Send private message
nelz
Moderator


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 7995
Location: Warrington, UK

PostPosted: Thu Jan 05, 2012 12:12 am    Post subject: Reply with quote

Doesn't Ubuntu use /var/log/syslog?

Anyway, the syslog may not have any temperature-related entries.I'd set up a cron task to send the output from sensors (part of lm_sensors) to a file every five minutes and look for any trends there.
_________________
Unix is user-friendly. It's just very selective about who it's friends are.
Back to top
View user's profile Send private message
Fat_Tuesday



Joined: Mon Oct 09, 2006 1:14 pm
Posts: 77

PostPosted: Sat Jan 07, 2012 11:48 am    Post subject: Reply with quote

Thanks for the replies! Removing a ton of crap has cooled my lappy down loads and I'm now learning about cron jobs to keep an eye on whatever's left. Thanks again!
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast