--------------------- PatchSet 3730 Date: 2002/03/16 08:46:32 Author: serassio Branch: cygwin-svc-2_5 Tag: (none) Log: Added Windows OS info in Cache Manager/General Runtime Information Members: src/stat.c:1.13->1.13.8.1 Index: squid/src/stat.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/stat.c,v retrieving revision 1.13 retrieving revision 1.13.8.1 diff -u -r1.13 -r1.13.8.1 --- squid/src/stat.c 24 Oct 2001 09:42:13 -0000 1.13 +++ squid/src/stat.c 16 Mar 2002 08:46:32 -0000 1.13.8.1 @@ -1,6 +1,6 @@ /* - * $Id: stat.c,v 1.13 2001/10/24 09:42:13 squidadm Exp $ + * $Id: stat.c,v 1.13.8.1 2002/03/16 08:46:32 serassio Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -459,6 +459,15 @@ runtime = 1.0; storeAppendPrintf(sentry, "Squid Object Cache: Version %s\n", version_string); +#if defined(_SQUID_MSWIN_) || defined(_SQUID_CYGWIN_) + if (WIN32_run_mode == _WIN_SQUID_RUN_MODE_SERVICE) { + storeAppendPrintf(sentry,"\nRunning as %s Windows System Service on %s\n", + WIN32_Service_name, WIN32_OS_string); + storeAppendPrintf(sentry,"Service command line is: %s\n", WIN32_Service_Command_Line); + } + else + storeAppendPrintf(sentry,"Running on %s\n",WIN32_OS_string); +#endif storeAppendPrintf(sentry, "Start Time:\t%s\n", mkrfc1123(squid_start.tv_sec)); storeAppendPrintf(sentry, "Current Time:\t%s\n",