Remote Manipulation of Processes in a Bash Script

Starting and stopping java services remotely via ssh is a simple process, however in the situation where you need to manipulate or understand active processes remotely, things are more difficult.