]> jfr.im git - irc/blitzed-org/bopm.git/commitdiff
Show open fd limit in fdstat
authorstrtok <redacted>
Sun, 12 Jan 2003 22:53:08 +0000 (22:53 +0000)
committerstrtok <redacted>
Sun, 12 Jan 2003 22:53:08 +0000 (22:53 +0000)
src/stats.c

index ef6caba4c044e2a2e95127378b988590ff5bd9cb..74ed6bfb421cdff4d5a15bb42ae1d1137f7c86e5 100644 (file)
@@ -224,5 +224,5 @@ void fdstats_output(char *target)
          total_fd_use++;
    }
 
-   irc_send("PRIVMSG %s :Total open FD: %d", target, total_fd_use);
+   irc_send("PRIVMSG %s :Total open FD: %u/%d", target, total_fd_use, rlim.rlim_cur);
 }