3 ms·
atop parsing its logfiles. # Cuts off partway through: zcat atop.log.gz | atop -r /dev/stdin | less # Works fine: zcat atop.log.gz > atop && atop -r at
by waterhouse 6y ago
atop parsing its logfiles.
# Cuts off partway through:
zcat atop.log.gz | atop -r /dev/stdin | less
# Works fine:
zcat atop.log.gz > atop && atop -r atop | less
That said, I agree with your experience that /dev/stdin usually works for programs that read a file straight in.