monit-general
[Top][All Lists]
Advanced

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

Re: strange memory usage values


From: Rory Toma
Subject: Re: strange memory usage values
Date: Mon, 13 Dec 2004 16:20:25 -0800
User-agent: Mozilla Thunderbird 0.8 (Macintosh/20040913)

In 2.6, it looks like the several lines of code is replaced with:

       struct mm_struct *mm = get_task_mm(task);
if (mm) {
               size = task_statm(mm, &shared, &text, &data, &resident);
               mmput(mm);
       }


So, I just have to unwrap it...

--
Rory Toma               address@hidden
VP of Run Level 9       http://www.trs80.net
Digeo Digital           http://www.digeo.com





reply via email to

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