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

Re: Herausfinden ob ein Rechner neu gebootet wurde



Michelle Konzack wrote:

> Ein Programm wird gestartet und sammelt Daten und schreibt zwei Zahlen
> in eine LOGDATEI welche ich mit einer einmaligne Kennung versehen will,
> z.B. die Boot-Zeit des Systems.

$ last | grep ^reboot | head -1   

hth, Wolf
-- 
Cockpit crews of the future will consist of only one pilot and a dog. The 
pilot's job is to feed the dog. The dog's job is to keep the pilot from 
touching anything. (Concerned Onlooker, seen on /.)



Reply to: