ctdb-scripts: Dump stack traces of smbd processes after shutdown
[samba.git] / ctdb / tests / eventscripts / stubs / pidof
index b6ad6d83a8dafc91d3a44f76ef890fc5d978d35d..8b57923d0bad0d58d986deeecfe77d0752a21e84 100755 (executable)
@@ -1,9 +1,15 @@
 #!/bin/sh
 
 case "$1" in
-    nfsd)
+nfsd)
        echo "$FAKE_NFSD_THREAD_PIDS"
        ;;
+rpc.statd|rpc.rquotad|rpc.mountd)
+       echo "$FAKE_RPC_THREAD_PIDS"
+       ;;
+smbd)
+       echo "$FAKE_SMBD_THREAD_PIDS"
+       ;;
     *)
        echo "pidof: \"$1\" not implemented"
        exit 1