LinuxQuestions.org
Help answer threads with 0 replies.
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 07-10-2012, 08:02 AM   #1
chamsky123
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
Are the terminals rebooting ?


We have a branch with linux as OS on Point of Sale terminals. And we do not know if the terminals reboot by themselves or someone reboots them manually.

Is there a way that linux terminal would know if it rebooted by itself 'cause there is way that it would know if it was rebooted manually (by terminal command 'reboot'). I just don't know where to look to.


Can someone help me please ?


Thank you !
 
Old 07-10-2012, 02:29 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
You can look at the .bash_history file contained in the home directory of each user, the /var/log/messages file, and even the /var/log/secure file to start.

The messages file should be a good place to give you the info you are looking for.
 
Old 07-10-2012, 02:44 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,603

Rep: Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139Reputation: 8139
Quote:
Originally Posted by chamsky123 View Post
We have a branch with linux as OS on Point of Sale terminals. And we do not know if the terminals reboot by themselves or someone reboots them manually.

Is there a way that linux terminal would know if it rebooted by itself 'cause there is way that it would know if it was rebooted manually (by terminal command 'reboot'). I just don't know where to look to.
I'd apply Occam's razor to the problem first. If you're talking about ONE branch that's having this issue, why don't you just pick up the phone, call them, and say "Hey, is someone there rebooting these things at night?". If not, you can dig through the logs to see what's up. If so...problem solved.

Since their Point of sale terminals, from a technical side, I'd check the syslogs, as kustom42 said. They're probably under tables, dusty, and may be overheating at certain times of day (for example). Such over-temp warnings would show up in the logs. As far as checking .bash_history, be sure to check it for ALL the users, root included.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB problem on linux terminals vie NComputing X300 terminals Aleks` Linux - General 1 12-04-2008 05:39 PM
What is X terminals Mic Q SUSE / openSUSE 1 01-01-2005 07:11 AM
Terminals - spying on local terminals with ssh BeatRyder Linux - Software 5 10-21-2004 01:47 AM
No terminals! fackamato Slackware 0 03-11-2004 12:40 AM
different terminals infamous41md Linux - Newbie 3 06-04-2003 03:16 PM

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

All times are GMT -5. The time now is 12:23 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