cctools
rmonitor.h
1 /*
2 Copyright (C) 2013- The University of Notre Dame This software is
3 distributed under the GNU General Public License. See the file
4 COPYING for details.
5 */
6 
7 #ifndef __RMONITOR_H
8 #define __RMONITOR_H
9 
10 #include "rmsummary.h"
11 #include "rmonitor_types.h"
12 
13 #define RESOURCE_MONITOR_ENV_VAR "CCTOOLS_RESOURCE_MONITOR"
14 
15 
28 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, const char *measure_dir);
29 
37 char *resource_monitor_copy_to_wd(const char *path_from_cmdline);
38 
40 struct rmsummary *resident_monitor_parse_resources_file(const char *filename);
41 
46 char *resource_monitor_locate(const char *path_from_cmdline);
47 
48 #endif
Definition: rmsummary.h:26