Re: [CentOS] process accounting on 5.7

2012-03-29 Thread Alan McKay
On Mon, Mar 26, 2012 at 8:57 AM, John Doe wrote: > > Indeed, I looked too fast and missed the IDs... > So, why not just something like this: > dump-acct /var/account/pacct | awk -F\| ' > { total_cpu += $4; cpu[$5] += $4; > total_ram += $7; ram[$5] += $7 } > END { for (x in cpu) { >

Re: [CentOS] process accounting on 5.7

2012-03-26 Thread John Doe
From: Alan McKay > On Tue, Mar 20, 2012 at 7:11 AM, John Doe wrote: >>From a quick look, it does not seem to have a user entry in the > stats... > UID and GID are there > Anyone else have anything on this? Indeed, I looked too fast and missed the IDs... So, why not just something like this: du

Re: [CentOS] process accounting on 5.7

2012-03-22 Thread Alan McKay
On Tue, Mar 20, 2012 at 7:11 AM, John Doe wrote: > >From a quick look, it does not seem to have a user entry in the stats... > > UID and GID are there Anyone else have anything on this? -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense

Re: [CentOS] process accounting on 5.7

2012-03-20 Thread John Doe
From: Alan McKay > I turned on process accounting and had a peek at the man page for dump-acct > but I am still left wondering how best to make use of this info. > We want to be able to produce some monthly stats on which labs are using > how much of our clusters.    I know our clustering softwar

[CentOS] process accounting on 5.7

2012-03-19 Thread Alan McKay
Hey folks, I turned on process accounting and had a peek at the man page for dump-acct but I am still left wondering how best to make use of this info. We want to be able to produce some monthly stats on which labs are using how much of our clusters.I know our clustering software has the abil