From 8e83ee21a601747b5b1a391435fde8440a0c1d5f Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 19 Aug 2008 22:12:36 +0000 Subject: Add support for uptime in win32 named pipe data git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10177 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_namedpipe.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp index d51172c05..6c836cd6a 100644 --- a/win/inspircd_namedpipe.cpp +++ b/win/inspircd_namedpipe.cpp @@ -83,6 +83,7 @@ void IPCThread::Run() stat << "kbitspersectotal " << kbitpersec_total << std::endl; stat << "kbitspersecout " << kbitpersec_out << std::endl; stat << "kbitspersecin " << kbitpersec_in << std::endl; + stat << "uptime " << ServerInstance->Time() - ServerInstance->startup_time << std::endl; if (HaveMemoryStats) { stat << "workingset " << MemCounters.WorkingSetSize << std::endl; -- cgit v1.2.3