This repository has been archived on 2026-08-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ROCm-Research-Archive/_TestScripts/Scripts and Tests/pyspy5.sh
T
2026-08-20 00:45:43 +02:00

9 lines
190 B
Bash

#!/bin/bash
PID=$(pgrep -f 'python.*main.py')
echo "PID: $PID"
if [ -n "$PID" ]; then
/home/fabian/ComfyUI/venv/bin/py-spy dump --pid $PID 2>&1 | head -25
else
echo "NOT RUNNING"
fi