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