![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc. |
More UNIX and Linux Forum Topics 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 06:30 AM |
| splitting a record and adding a record to a file | rsolap | Shell Programming and Scripting | 1 | 08-13-2007 01:58 PM |
| error messages in /var/adm/messages | nitinp82 | UNIX for Advanced & Expert Users | 1 | 04-17-2007 10:17 AM |
| Startup/Shutdown scripts | vincente | AIX | 1 | 05-23-2006 01:30 PM |
| eth0 at startup/shutdown errors | zorro81 | UNIX for Dummies Questions & Answers | 1 | 03-08-2002 01:24 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate 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. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|