This commit is contained in:
Alex Cheema
2024-12-11 22:35:30 +00:00
parent 741c31836e
commit 6249bee793

View File

@@ -106,6 +106,10 @@ jobs:
source .venv/bin/activate
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
echo "=== Before starting exo ==="
ps -eo pid,ppid,user,%cpu,%mem,nice,state,policy,cls,pri,psr,command | head -1
ps -eo pid,ppid,user,%cpu,%mem,nice,state,policy,cls,pri,psr,command | grep -i python
echo "Starting exo daemon..."
# Start exo
@@ -120,6 +124,16 @@ jobs:
tail -f output1.log &
TAIL1=$!
# Give process time to start
sleep 2
echo "=== After starting exo ==="
ps -eo pid,ppid,user,%cpu,%mem,nice,state,policy,cls,pri,psr,command | head -1
ps -eo pid,ppid,user,%cpu,%mem,nice,state,policy,cls,pri,psr,command | grep $PID1
echo "Process details from sysctl:"
sudo sysctl -a | grep -i "kern.*.$PID1" || true
trap 'kill $TAIL1' EXIT
trap 'kill $PID1' EXIT