Retrieve the port(s) that a process is listening on. Executes
lsof behind the scenes.
Returns a single value as a Number or an Array of multiple values.
A String containing a COMMAND or a PID as a Number.