bugutil-vserver - Bugs: bug #13048, vserver-stat uptime shows wrong...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13048: vserver-stat uptime shows wrong ammount of hours

Submitted by:  Roman Barczynski <romke>
Submitted on:  Tue 10 May 2005 02:02:19 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Enrico Scholz <ensc>
Open/Closed: ClosedComponent Version: alpha
Release: 0.30.207

Thu 19 May 2005 06:03:12 PM UTC, comment #1:

thx, fixed in CVS

Enrico Scholz <ensc>
Project AdministratorIn charge of this item.
Tue 10 May 2005 02:02:19 PM UTC, original submission:

# uptime
15:58:22 up 18 days, .....
# vserver-stat
CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME

  1. 67 366M 28K 12h43m12 4h56m29 18d35h43 root server

reason for this is error in shortenTime function in vserver-stat.c:
#v+
--- vserver-stat.c~ 2005-04-24 22:31:21.000000000 +0200
+++ vserver-stat.c 2005-05-10 16:00:15.200582776 +0200
@@ -359,7 +359,7 @@
t /= 60;
mm = t%60;
t /= 60;
- hh = t%60;
+ hh = t%24;
t /= 24;

if (t>999*999) {
#v-

regards

Roman Barczynski <romke>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 19 May 2005 06:03:12 PM UTCenscStatusNone=>Fixed
  Assigned toNone=>ensc
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1