Application: uMemWatch


Brief Synopsis:

A MOOS app for monitoring the memory usage of other apps.

Authors:

  • Michael Benjamin

Groups:

Dependencies:

Distribution:

  • moos-ivp.org

Documentation:

Contact Email:

  • mikerb@mit.edu, issues@moos-ivp.org

Function:

The uMemWatch application is used for measuring the current memory used by a set of MOOS apps. To measure an app, the app must publish the MYAPP_PID variable with its own PID. This app will use that PID and the command line utility "ps" to measure the current memory usage. This app can be configured to selectively watch items on a watch list, or watch all apps but selectively ignore apps on an ignore list. The primary output is through both AppCasting, and the publication to MYAPP_MEM each time a new measurement is made.


Lines of Code:

  • 462 (with libraries: 23,387)

Files of Code:

  • 5 (with libraries: 221)

Work Years:

  • 0.09 (with libraries: 5.27)