Author: adrian.chadd
Date: Sat Mar 28 15:47:13 2009
New Revision: 13885

Modified:
    branches/LUSCA_HEAD/src/stat.c

Log:
Include FD usage stats.



Modified: branches/LUSCA_HEAD/src/stat.c
==============================================================================
--- branches/LUSCA_HEAD/src/stat.c      (original)
+++ branches/LUSCA_HEAD/src/stat.c      Sat Mar 28 15:47:13 2009
@@ -1339,6 +1339,11 @@

        storeAppendPrintf(e, "info.store.disk.sizekb=%d\n", store_swap_size);
        storeAppendPrintf(e, "info.store.mem.sizekb=%d\n", (int) 
(store_mem_size  
>> 10));
+
+       storeAppendPrintf(e, "info.fd.max_count=%d\n", Squid_MaxFD);
+       storeAppendPrintf(e, "info.fd.largest_count=%d\n", Biggest_FD);
+       storeAppendPrintf(e, "info.fd.current_count=%d\n", Number_FD);
+
  }

  static void

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to