Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-15-2008, 05:13 AM   #1
Registered: Jul 2006
Location: Shanghai
Distribution: Fedora, OpenSUSE
Posts: 31

Rep: Reputation: 16
Question How to record computer poweroff/reboot simply in a file?


I need to add such info in my log to monitor the spot
operation effect on my software automatically.

Better to record poweroff/reboot/push_power_button/system_crash?
especially the former two options.

How to make it?

Thanks in advance,

Old 02-15-2008, 05:34 AM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
have a look in /var/logs to see if any of those have the kind of info you want.
The standard way to record the boot and halt messages is via a tty terminal.
Old 02-17-2008, 01:51 AM   #3
Registered: Jul 2006
Location: Shanghai
Distribution: Fedora, OpenSUSE
Posts: 31

Original Poster
Rep: Reputation: 16


Thanks for that. I meant to get some info on this aspect as so to do the job more efficiently.

Thanks again,



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
reboot/poweroff how? demmylls Linux - General 2 08-13-2009 10:52 AM
Panic; reboot/poweroff; Tralce Linux - Kernel 0 12-04-2006 03:54 PM
reboot vs poweroff??? bigdog0007 Linux - Newbie 4 09-16-2005 03:48 AM
enabling poweroff/reboot for user YBA^[x] Slackware 11 12-13-2004 03:04 AM
poweroff reboot launcher for xfce w/ KDM? r_jensen11 Linux - Software 2 01-17-2004 05:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 PM.

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