I like replying to myself.... This is just my misunderstanding of how sshNET works. Normally, pgrep will not detect itself. But, the execute (or run command) method results in a "bash -c" process being spawned on the host. That appears to keep pgrep from eliminating its own process in its results.
↧