Closed ldegio closed 10 years ago
This seems to work fine:
mkfifo pipe
[terminal 1] cat pipe | gzip > cap.gz
[terminal 2] sysdig -w pipe
This solution also has the nice feature of supporting unrar, pkzip, 7z, lzma, bzip2, and unix compress out of the box! =^D
Could being a bit clever and pivoting off of the fact we can do it in 2 extra lines be exploited and presented to the user in a nicer interface?
This should be fixed, now sysdig can be used with the -z
option to produce compressed trace files, and it will be able to read them on all the supported platforms as well.
This is not hard per se, but requires including gzip as a dependency, which will make the build system much more complicated.