My production servers have atop version 1.23, and I have a data file written by it from which I need to extract the full command line of a process.  Unfortunately:this version of atop won't display data beyond the 80th column of the displayhorizontal scrolling was only introduced in 1.27newer versions refuse to read data files written by older versionsthe file itself is compressed, so a simple strings search won't workIs there any way I can recover the full command line from my data file?
Can I extract the full command line from an atop 1.23 data file?
atop
Edit. After checking the man page, looks like you can get the full command line with:atop -r /var/log/atop.log -P PRGSome general approach to extra data from compressed files:I can extract data from the atop log files with:xxd -p < /var/log/atop.log |  fold -w4 |  awk -v cmd='xxd -r -p | zlib-flate -uncompress | strings' '    /789c/{if (x) close(cmd); x=1}; x {print | cmd}' |  grep your-commandThe idea being to detect the zlib header (starting with 789c) and pass that to zlib-flate -uncompress. Not guaranteed bulletproof and not the most efficient way to do it, but does the trick for me.Alternatives to zlip-flate -uncompress (part of qpdf) include openssl zlib -d and pigz -zd.