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

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



ah, very nice :)

named and anonymous pipes work smoothly as inputs with the flag [1]

Cheers and thanks,
  Thomas


[1]
> mkfifo /tmp/pipe.condor/condorhistcat
> zcat -d --stdout ./history.*.gz > /tmp/pipe.condor/condorhistcat
> condor_history -forwards -file /tmp/pipe.condor/condorhistcat -af user clusterid
#####
> zcat -d --stdout ./history.*.gz | condor_history -forwards -file /dev/stdin -af user clusterid





On 14/10/2021 15.35, Greg Thain wrote:
On 10/14/21 5:01 AM, Thomas Hartmann wrote:
Hi all,

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


Yes, pass the -forward flag to condor_history, e.g.

some_command | condor_history -forwards -file /dev/stdin


-greg

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/

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