• Aristeu Rozanski's avatar
    pgrep: introduce support for namespaces · de7b3b92
    Aristeu Rozanski authored
    A PID should be specified with --ns:
    	$ pgrep --ns 12345
    which will only match the processes which belong to to the same 6
    namespaces. It is also possible to specify which namespaces to test:
    	$ pgrep --ns 12345 --nslist mnt,net,ipc
    which will match processes that belong to the same mount, network and
    IPC namespaces as PID 12345.
    Signed-off-by: default avatarAristeu Rozanski <arozansk@redhat.com>
nsutils.h 129 Bytes