From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] stats.c bug From: "Russ Cox" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 18 Jun 2003 16:59:34 -0400 Topicbox-Message-UUID: cf84406a-eacb-11e9-9e20-41e7f4b1d025 > if a machine is left running cpu-heavy applications for a long time (say, > a week) those numbers will overflow and strtol() will return LONG_MAX as the > value. the net effect is that stats.c will not display context, syscalls and > interrupts properly. umm, what if i leave it running for two weeks?