diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-19 22:12:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-19 22:12:36 +0000 |
commit | 8e83ee21a601747b5b1a391435fde8440a0c1d5f (patch) | |
tree | 119551547a7a45943a1da2cfb72301ebbe4bc7af /win/inspircd_namedpipe.cpp | |
parent | c30f85f6e2ac109cfa6e1d0820c845fd113d277c (diff) |
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
Diffstat (limited to 'win/inspircd_namedpipe.cpp')
-rw-r--r-- | win/inspircd_namedpipe.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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;
|