r/sysadmin • • Mar 30 '15

Linux Stop using tail -f (mostly)

http://www.brianstorti.com/stop-using-tail/
89 Upvotes

23 comments sorted by

View all comments

0

u/[deleted] Mar 31 '15

[deleted]

2

u/[deleted] Mar 31 '15

Yep! That'll show that pesky logrotate process.

4

u/DeathLeopard Mar 31 '15

Nothing better than finding your logging volume full because some idiot habitually leaves disconnected screen sessions running tail -f on logs that should be getting rotated away and deleted. Not that I'd know anything about that.

1

u/[deleted] Mar 31 '15

Some processes rotate quickly, like BIND's own rotating feature. It was awful to try and tail those logs with -f and it turns out the coreutils people already thought of that.