interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / kfd / 20261113-rebase-c4e5e963 / tools / gate.sh

9 lines · 476 bytes Raw Blame History
1#!/bin/sh
2# gate.sh NAME CMD...: run CMD under the CPU pool lock with nice, log to build/kfd-gates/NAME.log
3name=$1; shift
4mkdir -p build/kfd-gates
5start=$(date -u +%Y-%m-%dT%H:%M:%SZ)
6flock /home/drakestapleton/handoffs/hive/queen/pool-16-18.lock taskset -c 16-18 nice -n 10 "$@" > build/kfd-gates/$name.log 2>&1
7rc=$?
8printf '%s\t%s\t%s\t%s\t%s\n' "$name" "$rc" "$start" "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$*" >> build/kfd-gates/exits.tsv
9printf '%s exit %s\n' "$name" "$rc"