00001
00002
00003
00004
00005
00006
00007 #ifndef __RMONITOR_H
00008 #define __RMONITOR_H
00009
00010 #include "rmsummary.h"
00011 #include "rmonitor_types.h"
00012
00013 #define RESOURCE_MONITOR_ENV_VAR "CCTOOLS_RESOURCE_MONITOR"
00014
00015
00028 char *resource_monitor_write_command(const char *monitor_path, const char *template_filename, const struct rmsummary *limits, const char *extra_monitor_options, int debug_output, int time_series, int inotify_stats);
00029
00037 char *resource_monitor_copy_to_wd(const char *path_from_cmdline);
00038
00040 struct rmsummary *resident_monitor_parse_resources_file(const char *filename);
00041
00046 char *resource_monitor_locate(const char *path_from_cmdline);
00047
00048 #endif