![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to read record by record from a file in unix | raoscb | UNIX for Dummies Questions & Answers | 1 | 05-16-2008 03:30 AM |
| splitting a record and adding a record to a file | rsolap | Shell Programming and Scripting | 1 | 08-13-2007 10:58 AM |
| error messages in /var/adm/messages | nitinp82 | UNIX for Advanced & Expert Users | 1 | 04-17-2007 07:17 AM |
| Startup/Shutdown scripts | vincente | AIX | 1 | 05-23-2006 10:30 AM |
| eth0 at startup/shutdown errors | zorro81 | UNIX for Dummies Questions & Answers | 1 | 03-08-2002 09:24 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
How to record shutdown/startup messages
The wtmp file records all logins and logouts. Its format is exactly like utmp except that a null user name indicates a logout on the associated terminal. Furthermore, the terminal name "~" with user name "shutdown" or "reboot" indicates a system shutdown or reboot and the pair of terminal names "|"/"}" logs the old/new system time when date(1) changes it. wtmp is maintained by login(1), and init(1) and some versions of getty(1). Neither of these programs creates the file, so if it is removed record-keeping is turned off.
Hi all, I got the above paragraph from the below path: http://www.csie.ntu.edu.tw/~pangfeng...an/wtmp.5.html But when i shutdown and restarted the system it did not log inthe file /var/log/wtmp. Only "reboot" events are logged. "shutdown" and "startup" events are not logged i tried on both SuSE 10 and SuSE 9. Please let me know if there are any ways to : 1. To log "startup" and "shutdown" operations of OS. 2. To log "startup" and "shutdown" of any applications in OS. 3. Is it possible to disable this logging ?? Thanks in advance. |
| Forum Sponsor | ||
|
|