how to check The event viewer in Redhat Enterprise Linux 6.6 for a specific time

Hi ,

we have a redhat  enterprise server version 6.6 , this server goes down(power off)  at specific time. we want to review the events happened only at that day when server goes down  .. like how we check in windows

what is the commands needed to check and how to specify the day needed

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tail /var/log/messages
You have to search
ls -l /var/log/messages*
It will have   the date the file was last updated, so you need to look within the file dated after the event you are looking for.

Last | more
Look to see whether there was a logged in session when the system powered off.

Is this a physical or virtual system?
If it is virtual, make sure the issue is not a result of host automatic backup that shuts down the VM before the backup, but forgets to turn the VM back on.

What is the interval that this happens?
mu3tasemAuthor Commented:
it is physical system .

We are not sure about the interval as it happened early morning .. once we noted that application and DB are off we powered the server manually and accordingly the app/DB..

we want to know if the power off was by a human mistake or power issue as this the only server had this issue
Start with
last | more
Look for reboot.

What server make/model sone have hardware logs that you could access I.e. Dell, hp, IBM have their respective openmanage, insight, director that you could look at the hardware log and it would indicated when the os booted, as well as make sure the outage was unrelated to power loss.

The discovery in the morning ...

chkconfig --list |grep -i power
To make sure powers is not being started.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.