Process Memory Commands
The ProcessMemoryCommand default setting should work fine on Mac OS, Linux and Windows environments. If you are seeing errors, you may need to customize it for your environment. The default command for each environment is as follows. The command is expected to return the process memory “RSS” size, expressed in kilobytes. If this is set to “0”, this command will not be issued and output in the logs.
ProcessMemoryCommand ps - p $$ - o rss=
Mac OS X
ProcessMemoryCommand ps $$ - o rss=
ProcessMemoryCommand tasklist /FI 'PID eq $$' /FO TABLE /NH