00001
00002
00003
00004
00005
00006
00007 #ifndef __RMONITOR_H
00008 #define __RMONITOR_H
00009
00010 #include "rmsummary.h"
00011
00012 #define RESOURCE_MONITOR_ENV_VAR "CCTOOLS_RESOURCE_MONITOR"
00013
00014
00028 char *resource_monitor_rewrite_command(char *cmdline, char *monitor_path, char *template_filename, char *limits_filename,
00029 const char *extra_monitor_options,
00030 int summary, int time_series, int opened_files);
00031
00039 char *resource_monitor_copy_to_wd(char *path_from_cmdline);
00040
00042 struct rmsummary *resident_monitor_parse_resources_file(char *filename);
00043
00048 char *resource_monitor_locate(char *path_from_cmdline);
00049
00050
00051 #endif