[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Herausfinden ob ein Rechner neu gebootet wurde



Am 2007-08-17 14:54:17, schrieb Marco Estrada Martinez:
> Michelle Konzack schrieb:
> >Hallo,
> >
> >Gibt es eine möglichkeit, herauszufinden, ob ein Rechner neu gebootet
> >wurde?
> >  
> Hallo
> 
> $ last eingeben

Daran habe ich ganicht gedacht, wuste garnicht, das ich "acct"
installiert habe...  :-)  nur habe ich auch hier ein Problem:

----[ command 'last -R -n 15' ]---------------------------------
michelle pts/5        Sat Aug 18 12:47   still logged in
michelle pts/1        Fri Aug 17 22:15   still logged in
michelle pts/5        Fri Aug 17 21:52 - 21:53  (00:00)
michelle pts/0        Fri Aug 17 19:04   still logged in
michelle pts/3        Fri Aug 17 11:03   still logged in
michelle pts/2        Fri Aug 17 11:01   still logged in
michelle pts/2        Fri Aug 17 11:01 - 11:01  (00:00)
michelle pts/1        Fri Aug 17 11:00 - 22:15  (11:14)
michelle pts/0        Fri Aug 17 10:59 - 19:04  (08:05)
michelle tty1         Fri Aug 17 10:58   still logged in
reboot   system boot  Fri Aug 17 10:57         (1+01:56)
michelle pts/8        Thu Aug 16 18:48 - down   (16:07)
michelle pts/9        Thu Aug 16 14:47 - 14:47  (00:00)
michelle pts/8        Thu Aug 16 13:21 - 18:48  (05:26)
michelle pts/8        Thu Aug 16 12:53 - 13:10  (00:16)

wtmp begins Wed Aug  1 12:15:43 2007
----------------------------------------------------------------

"/var/log/wtmp" wird monatlich rotiert und wenn der neustart über
einen Monat lang her ist, weiste auch nicht mehr...

Ähm, ich habe gerade eine Datei /var/log/wtmp.report gefunden die
ich NOCH NIE hatte.  Die Datei wurde am "2007-08-01 06:52" erstellt,
also von cron.monthly.

Da kann ich immerhin noch den lezten Monat überpüfen, nur gehe ich
mal davon aus, das Fremdserver "acct" nicht unbedingt installiert haben...
Auf der RHEL Kiste ist es jedenfals nicht verfügbar.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: