It depends HOW the commands are executed remotely.
As you likely know -- there are MANY ways commands can be issued remotely and "monitoring" each will depend on the HOW.
And the methods are as follows as far as I can remember:
ssh
rexec
remsh
rsh
sockets (inetd/services model)
telnet
job control via - Maestro, Autosys, CTRL-M, etc.
Cheers.
Hakuna Matata.