Skip to content

Commit

Permalink
Merge pull request #61 from TACC/master
Browse files Browse the repository at this point in the history
merge this
  • Loading branch information
stephenlienharrell authored Sep 19, 2024
2 parents bafc819 + 95c731b commit de70676
Show file tree
Hide file tree
Showing 6 changed files with 331 additions and 95 deletions.
6 changes: 5 additions & 1 deletion monitor/src/daemonize.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "daemonize.h"
//#include "daemonize.h"
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
Expand All @@ -8,6 +8,10 @@

#include <syslog.h>


int pid_fd;
char *pid_file_name;

void daemonize()
{
pid_t pid = 0;
Expand Down
4 changes: 2 additions & 2 deletions monitor/src/daemonize.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#include <stdlib.h>

int pid_fd;
char *pid_file_name;
extern int pid_fd;
extern char *pid_file_name;
void daemonize();

#endif
2 changes: 1 addition & 1 deletion monitor/src/monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static char *server = NULL;
static char *queue = "default";
static char *port = "5672";

static char dumpfile_dir[] = "/tmp/taccstats";
static char *dumpfile_dir = "/tmp/taccstats";
static double freq = 300;
static int max_buffer_size = 300; // 25 hours
static int allow_ring_buffer_overwrite = 0;
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
package_data = {'tacc_stats' : ['cfg.py']},
include_package_data = True,
scripts = scripts,
install_requires = ['argparse','numpy', 'psycopg2-binary', 'pandas',
install_requires = ['argparse','numpy', 'psycopg2-binary', 'pandas', 'pgcopy',
'bokeh', 'django', 'python-hostlist', 'PyMySQL', 'mod_wsgi',
'mysql-connector-python', 'python-memcached', 'pika', 'mysqlclient'],
platforms = 'any',
Expand Down
Loading

0 comments on commit de70676

Please sign in to comment.