Index: /tags/ipp-unions-20250528/Ohana/src/opihi/pantasks/controller_hoststats.c
===================================================================
--- /tags/ipp-unions-20250528/Ohana/src/opihi/pantasks/controller_hoststats.c	(revision 42898)
+++ /tags/ipp-unions-20250528/Ohana/src/opihi/pantasks/controller_hoststats.c	(revision 42899)
@@ -3,7 +3,13 @@
 int controller_hoststats (int argc, char **argv) {
 
-  int status;
+  int N, status;
   char command[1024];
   IOBuffer buffer;
+
+  int Reset = FALSE;
+  if ((N = get_argument (argc, argv, "-reset"))) {
+    remove_argument (N, &argc, argv);
+    Reset = TRUE;
+  }
 
   if (argc != 2) {
@@ -21,5 +27,9 @@
 
   // XXX this has an error?  test this out...
-  sprintf (command, "hoststats %s", argv[1]);
+  if (Reset) {
+    sprintf (command, "hoststats %s -reset", argv[1]);
+  } else {
+    sprintf (command, "hoststats %s", argv[1]);
+  }
   InitIOBuffer (&buffer, 0x100);
 
Index: /tags/ipp-unions-20250528/Ohana/src/opihi/pcontrol/hoststats.c
===================================================================
--- /tags/ipp-unions-20250528/Ohana/src/opihi/pcontrol/hoststats.c	(revision 42898)
+++ /tags/ipp-unions-20250528/Ohana/src/opihi/pcontrol/hoststats.c	(revision 42899)
@@ -3,10 +3,16 @@
 int hoststats (int argc, char **argv) {
 
-  int i;
+  int i, N;
   Stack *stack;
   Host *host;
 
+  int Reset = FALSE;
+  if ((N = get_argument (argc, argv, "-reset"))) {
+    remove_argument (N, &argc, argv);
+    Reset = TRUE;
+  }
+
   if (argc != 2) {
-    gprint (GP_ERR, "USAGE: hoststats (stack)\n");
+    gprint (GP_ERR, "USAGE: hoststats (stack) [-reset]\n");
     gprint (GP_ERR, "       (stack) : all, idle, busy, done, down, off, resp\n");
     return (FALSE);
@@ -26,4 +32,10 @@
     host = stack[0].object[i];
     gprint (GP_LOG, "%lld %s %d : %f %d %d %d\n", host[0].HostID, host[0].hostname, host[0].pid, host[0].read_time, host[0].read_N_Pclient, host[0].read_N_GetJobOutput, host[0].N_jobs_total);
+    if (Reset) {
+      host[0].read_time = 0.0;
+      host[0].read_N_Pclient = 0;
+      host[0].read_N_GetJobOutput = 0;
+      host[0].N_jobs_total = 0;
+    }
   }
   UnlockStack (stack);
