Skip to content

Strace a future linux process by name

while true; do pid=$(pgrep 'ipmi-sensors' | head -1); if [[ -n "$pid" ]]; then strace  -s 2000 -vvtf -p "$pid"; break; fi; done