projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
da616f0
)
Use 64-bit counters for the memory usage, to avoid easy overflows.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Mon, 30 Jun 2008 20:25:46 +0000 (20:25 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Mon, 30 Jun 2008 20:25:46 +0000 (20:25 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2723
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
src/vserver-stat.c
patch
|
blob
|
history
diff --git
a/src/vserver-stat.c
b/src/vserver-stat.c
index
9a9e7ee
..
9f03871
100644
(file)
--- a/
src/vserver-stat.c
+++ b/
src/vserver-stat.c
@@
-67,9
+67,9
@@
static unsigned long pagesize=0x42;
struct XidData
{
xid_t xid;
- int process_count;
- int VmSize_total;
- int VmRSS_total;
+ unsigned int process_count;
+ uint64_t VmSize_total;
+ uint64_t VmRSS_total;
uint64_t start_time_oldest;
uint64_t stime_total, utime_total;