From 700fe71958df2d626697a0335c707aadc9abc13c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 27 Feb 2004 08:20:59 +0000 Subject: [PATCH] Minor update to cpu output, mithro said it was confusing. --- plugins/Status.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/Status.py b/plugins/Status.py index fde73f583..6d3a64c0c 100644 --- a/plugins/Status.py +++ b/plugins/Status.py @@ -97,9 +97,10 @@ class Status(callbacks.Privmsg): activeThreads = threading.activeCount() response = ('I have taken %.2f seconds of user time and %.2f seconds ' 'of system time, for a total of %.2f seconds of CPU ' - 'time. %sOut of %s I have %s active.' % + 'time. %s' + 'I have spawned %s; I currently have %s still running.' % (user, system, user + system, children, - utils.nItems('thread', world.threadsSpawned, 'spawned'), + utils.nItems('thread', world.threadsSpawned), activeThreads)) mem = 'an unknown amount' pid = os.getpid()