3 ms·
> As soon as we need special commands to just get an impression of what's happening with the service, I agree this is bad design. I do not intend to defend `--
by godelski 2y ago
> As soon as we need special commands to just get an impression of what's happening with the service,
I agree this is bad design. I do not intend to defend `--grep` just was trying to help solve the issue. I 100% believe that this creates an unreasonable expectation of the user and that piping to grep should be expected.
Although, my results showed equal times piping to grep and dumping to file then grepping that file. IFF `--grep` is operating in parallel, then I think that's fine that it is faster and I'll take back my critique since it is doing additional functionality and isn't necessary. That situation would be "things work normally, but here's a flag for additional optimization."
Is the slowdown the file access? I do notice that it gets "choppy" if I just dump `journalctl --no-pager` but I was doing it over ssh so idk what the bottleneck was. IO is often a pain point (it pains me how often people untar with verbose...).
- egorfine 2y ago> things work normally With text log files. > but here's a flag for additional optimization Which wouldn't be even needed in the first place if that very tool that wants this flag just simply did not exist.