[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] condor_history with named pipes w/o seek?



Hi all,

maybe a niche question, but is there a way to read with condor_history from named pipes sequentially?

Background is, that we have a number of gzip compressed history files, that I would like to read on the fly without decompressing before - just to extract a few stats. I tried to decompress it to a named pipe and read from it with something like [1] - however, condor_history quit immediately (with 0). Probably condor_history is doing a seek - which probably does not really harmonize with the pipe's stream, or?

Cheers,
  Thomas



[1]
mkfifo /tmp/pipe.condor/condorhistcat
zcat -d --stdout /path/to/history*.gz > /tmp/pipe.condor/condorhistcat

condor_history -file /tmp/pipe.condor/condorhistcat -af clusterid owner

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature