Not a developer? Go to MovableType.com

Documentation

ProcessMemoryCommand

This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

Allows an admininstrator to specify a command that can be run that will show the memory utilization of a process. For example, in Mac OS X the following command can be used (the $$ will be automatically substituted with the relevant process ID or “pid”):

ProcessMemoryCommand ps $$ -o rss=

This commend will output a simple integer representing the CPU utilization for the given process.

Example 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.

Linux

ProcessMemoryCommand   ps -p $$ -o rss=

Mac OS X

ProcessMemoryCommand   ps $$ -o rss=

Windows

ProcessMemoryCommand    tasklist /FI 'PID eq $$' /FO TABLE /NH
Back