monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4.8.2-beta1: process/sysdep_LINUX.c


From: Aaron Scamehorn
Subject: 4.8.2-beta1: process/sysdep_LINUX.c
Date: Mon, 13 Nov 2006 13:27:40 -0600

Hello,
 
In the new process/sysdep_LINUX.c:
 
I think you need to use a larger datatype then long to store the /proc/stat stuff....
 
I've got a couple of machines which will blow out LONG_MAX.
 
Please see attached output of /proc/stat...
 
I suggest you use long long, or even unsigned long long.
 
Thanks,
Aaron

Attachment: stat_1.txt
Description: stat_1.txt

Attachment: stat_2.txt
Description: stat_2.txt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]