Michelle Konzack schrieb:
Am 2005-04-02 12:39:39, schrieb Gerhard Brauer:

tail --follow=name /var/log/syslog

anstatt tail -f <...>


Wie meinen ?

  __( manpage 'tail' )__________________________________________________
 /
| TAIL(1)                        FSF                        TAIL(1)

|        -f, --follow[={name|descriptor}]
|               output appended data as the file grows; -f,  --fol�
|               low, and --follow=descriptor are equivalent
 \______________________________________________________________________

"-f" und "--follow=" sind equivalent.

Du kannst       tail -f /dev/fd/1
genauso wie     tail --follow=/dev/fd/1
oder            tail -f <file>
und             tail --follow=<file>
verwenden.

Probiere es bitte aus z.B. mit der syslog. Ohne explizites --follow={name} �berlebt dein tail kein logrotate.

Doe man page sagt lediglich das -f, --follow und
--follow=descriptor equivalent sind. --follow={name} ist eine
seperate Option. Und nur mit dieser Option wird nicht mit dem
jeweils letzten Filedescriptor gearbeitet.

Greetings
Michelle

Gru� Gerhard



--
Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)



Antwort per Email an