summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-10 00:16:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-10 00:16:06 +0000
commite339a87eb42242cb93dbca8c7d5b118df097d131 (patch)
treeb6cafce82d7bc95f54365939ff0c3afc319e8e5a
parent49e34a508d9070097fa6aae5bf611bdd5c2b0f2d (diff)
Change stats z to show volountary and involountary seperately
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6285 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp
index b6e44e93c..95d62b58c 100644
--- a/src/cmd_stats.cpp
+++ b/src/cmd_stats.cpp
@@ -200,7 +200,7 @@ void DoStats(InspIRCd* ServerInstance, char statschar, userrec* user, string_lis
results.push_back(sn+" 249 "+user->nick+" :Signals: "+ConvToStr(R.ru_nsignals));
results.push_back(sn+" 249 "+user->nick+" :Page faults: "+ConvToStr(R.ru_majflt));
results.push_back(sn+" 249 "+user->nick+" :Swaps: "+ConvToStr(R.ru_nswap));
- results.push_back(sn+" 249 "+user->nick+" :Context Switches: "+ConvToStr(R.ru_nvcsw+R.ru_nivcsw));
+ results.push_back(sn+" 249 "+user->nick+" :Context Switches: Voluntary; "+ConvToStr(R.ru_nvcsw)+" Involountary; "+ConvToStr(R.ru_nivcsw));
timeval tv;
char percent[30];