MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/30skg1/stop_using_tail_f_mostly/cpvi1vs/?context=3
r/linux • u/[deleted] • Mar 30 '15
219 comments sorted by
View all comments
350
The problem is that less +F polls every second while tail -f uses inotify, which is both more efficient and responds faster to change.
less +F
tail -f
6 u/WatchDogx Mar 30 '15 The distros I have seen of tail, specify a polling time, which would seem to contradict that. 6 u/[deleted] Mar 30 '15 Which distros would those be? 16 u/t90fan Mar 30 '15 The tail in coreutils under ubuntu currently supports using inotify, for example. It falls back to to polling if the maximum number of inotify watches is exceeded and prints a warning.
6
The distros I have seen of tail, specify a polling time, which would seem to contradict that.
6 u/[deleted] Mar 30 '15 Which distros would those be? 16 u/t90fan Mar 30 '15 The tail in coreutils under ubuntu currently supports using inotify, for example. It falls back to to polling if the maximum number of inotify watches is exceeded and prints a warning.
Which distros would those be?
16 u/t90fan Mar 30 '15 The tail in coreutils under ubuntu currently supports using inotify, for example. It falls back to to polling if the maximum number of inotify watches is exceeded and prints a warning.
16
The tail in coreutils under ubuntu currently supports using inotify, for example. It falls back to to polling if the maximum number of inotify watches is exceeded and prints a warning.
350
u/drrlvn Mar 30 '15
The problem is that
less +Fpolls every second whiletail -fuses inotify, which is both more efficient and responds faster to change.