Rayson Ho <[email protected]> writes:

> On Sat, Nov 26, 2011 at 11:34 PM, mahbube rustaee <[email protected]> wrote:
>> thanks Rason for your time.
>> 1) I studied "man accounting" and mem is "integral memory usage in cpu
>> seconds".
>> I wanted to check this integral:
>>  I write a simple c++ program that print cpu time for itselsf,I submited
>> this serial job, then get mem accounting parameter.
>> Then, I ran that program via CLI .when program is running ,pmap command show
>> all memory for that.
>> I multiplied memory usage(output of pmap) with cpu time(printed via program)
>> and I didn't get around mem accounting in sge. why ?
>
> When you mentioned "mem", I thought you wanted to get the mem field in
> the accounting file. So if you want to get the highest memory mark of
> your job, then you should look at the "maxvmem" field in the
> accounting file.

For what it's worth, maxvmem isn't useful if you set ACCT_RESERVED_USAGE
<http://arc/SGE/htmlman/htmlman5/accounting.html>.

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to