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 ?
2) I want to verify "how this integral is gotten" ? 3) what about maxvem? thx so much On Sat, Nov 26, 2011 at 9:21 PM, Rayson Ho <[email protected]> wrote: > On Sat, Nov 26, 2011 at 6:52 AM, mahbube rustaee <[email protected]> > wrote: > > how can I get " mem" parameter value in accounting by hand? > > If you want to get the value reported by qacct, you can parse the > accounting file by hand: > > http://gridscheduler.sourceforge.net/htmlman/htmlman5/accounting.html > > > > I mean , What are linux commands about that? > > Not exactly sure what you mean... you can use perl or even awk/sed to > parse the accounting file. > > However, Linux does not offer a command that get the "mem" statistics > of a Grid Engine job outside of Grid Engine, as a Grid Engine job can > have 1 or more processes. Most Linux tools show memory usage of > individual processes. > > Rayson > > > > > > > Thx > > > > _______________________________________________ > > users mailing list > > [email protected] > > https://gridengine.org/mailman/listinfo/users > > > > >
_______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
