
Hallo, Am Son, 31 Dez 2006, Martin Schröder schrieb:
2006/12/30, David Haller <lists@dhaller.de>:
Im Grunde muss man aber wohl immer ein wenig raten.
Bei meiner 10.1 reicht ls -l /var/log/boot.log
Bei der 10.2 gibt's das auch passend, aber das dürfte ein SUSEismus sein, oder?
Und wenn wtmp noch nicht rotiert ist, ein last|tail
Das hält *generell* nur *sehr* begrenzt. # grep wtmp /etc/logfiles /var/log/wtmp +400k 664 root.tty # ls /var/log/wtmp* | wc -l 62 # ls -lart /var/log/wtmp* | head -n 1 -rw-rw-r-- 1 root tty 10569 Oct 7 2003 /var/log/wtmp-031008.gz Tja, ich hab da mal ein bisserl (ca. die ersten 4 Jahre) weggeräumt... Und 'last | tail' liefert bei mir gerade mal den 16.12.2006... Und 400k für wtmp ist ok. Das sind sogar bei der 10.2 noch 400k (siehe /etc/logrotate.d/wtmp). -dnh PS: jup, obiges ist auf der wohl spätestens am 15.8.99 installierten (ex-) SuSE 6.2 (so Kram ist noch "originool" ;)) --
Do not meddle in the affairs of wizards, for they are subtle and quick to anger. Do not meddle in the affairs of sysadmins, for they are quick to anger and have no need for subtlety. -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org