samba-tool: Add samba-tool processes subcommand
authorAndrew Bartlett <abartlet@samba.org>
Mon, 29 Oct 2012 04:36:36 +0000 (15:36 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 Oct 2012 21:13:56 +0000 (08:13 +1100)
commit42c379f0dfdeb36598bb2636aa2b6e3ca4410930
tree0a07ca9ea71162c281d7a397763a081a2f62283e
parenta732f2a621665923322422c5a3d788c9d1aa8df9
samba-tool: Add samba-tool processes subcommand

This will allow administrators to inspect the process list in a
similar way to what running on a platform with setproctitle might
permit.

--pid= returns the registered server names for a PID (eg kdc, cldap_server)
--name= returns the pids registered with a particular name.

Andrew Bartlett
source4/scripting/python/samba/netcmd/main.py
source4/scripting/python/samba/netcmd/processes.py [new file with mode: 0644]
source4/scripting/python/samba/tests/samba_tool/processes.py [new file with mode: 0644]
source4/selftest/tests.py