Re:Tips for analyzing logs
by marcosdumay on Tuesday December 13, 2022 @05:17PM
(#33976831)
Well, you waste an entire fork and exec, so I believe you are underestimating the time by a few orders of magnitude. Also, it's almost always grep following the cat, so it's not much to memorize.
But it's well worth wasting a process to have a nice pipeline where each command does a single thing so you can easily reason about them.
But it's well worth wasting a process to have a nice pipeline where each command does a single thing so you can easily reason about them.