-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Similar to issue 804 (now closed) small correction needed to Beanstalkd tube in tools/src/racct-bhyve-statsd.c:
diff --git a/tools/src/racct-bhyve-statsd.c b/tools/src/racct-bhyve-statsd.c
index 4b3e81dc..5ade9b99 100644
--- a/tools/src/racct-bhyve-statsd.c
+++ b/tools/src/racct-bhyve-statsd.c
@@ -997,7 +997,7 @@ main(int argc, char **argv)
if (bs_socket != -1) {
bs_disconnect(bs_socket);
}
-
bs_socket = init_bs("racct-jail");
-
bs_socket = init_bs("racct-bhyve"); } else if (!(OUTPUT_BEANSTALKD & output_flags)) { bs_connected = 0; }
Also I found that the code to get the bhyve pid wasn't working but that a previous code (commented out) did work so I reverted to this:
@@ -1060,11 +1060,11 @@ main(int argc, char **argv)
dp->d_name);
strcpy(vmname, dp->d_name);
cur_bid = 0;
-
// cur_bid = get_vm_pid(vmpath);
-
cur_bid = get_vm_pid_from_sql(
-
dp->d_name);
-
cur_bid = get_vm_pid(vmpath);
-
// cur_bid = get_vm_pid_from_sql(
-
// dp->d_name); if (cur_bid == 0) { continue;
Forgot to send this earlier when I was getting cbsd and clonos to work correctly together...
Metadata
Metadata
Assignees
Labels
No labels