path: linuxcnc_1:2.9.7-1/src/configure.ac fi AC_PATH_PROG(PIDOF, pidof, "none", $SPATH) if test $PIDOF = "none" then path: linuxcnc_1:2.9.7-1/src/configure.ac if test $PIDOF = "none" then AC_MSG_ERROR([pidof not found]) fi path: linuxcnc_1:2.9.7-1/configs/sim/axis/db_demo/db.py # Note: '#!/usr/bin/python3' is used instead of # '#!/usr/bin/env python3' # since it allows ps and pidof to show/find # using the script name path: linuxcnc_1:2.9.7-1/configs/sim/axis/db_demo/db.py #----------------------------------------------------------- # After all worker threads started, allow signals to start tasks. # typ: kill -USR[12] $(pidof -x db_nonran.py) def start_m_thread(*args):start_thread(tool_modify_task) def start_u_thread(*args):start_thread(tool_update_task) path: linuxcnc_1:2.9.7-1/docs/src/drivers/vfs11.adoc Debugging can be toggled by sending a USR1 signal to the vfs11_vfd process. Modbus debugging can be toggled by sending a USR2 signal to vfs11_vfd process (example: +kill -USR1 \`pidof vfs11_vfd`+). [NOTE] path: linuxcnc_1:2.9.7-1/tcl/tooledit.tcl # Note: pidof ignores defunct processes # catch required since child error returned if no other pids: catch { set tooledit_pids [eval exec pidof -x -o[pid] tooledit]} emsg # determine if axis is running with same filename path: linuxcnc_1:2.9.7-1/tcl/tooledit.tcl set tooledit_pids "" # count howmany tooledits (exclusive of this one) are running # Note: pidof ignores defunct processes # catch required since child error returned if no other pids: catch { set tooledit_pids [eval exec pidof -x -o[pid] tooledit]} emsg