[torquedev] job logging showjobs vmem patch
Ken Nielson
knielson at adaptivecomputing.com
Mon Jan 16 10:35:40 MST 2012
Gareth,
Thanks for the patch. I am testing it right now.
Ken
----- Original Message -----
> From: "Gareth Williams" <Gareth.Williams at csiro.au>
> To: torquedev at supercluster.org
> Sent: Sunday, January 15, 2012 8:19:13 PM
> Subject: [torquedev] job logging showjobs vmem patch
>
> Hi Ken and David,
>
> I've just started using the new job logging feature:
> http://www.adaptivecomputing.com/resources/docs/torque/2-5-9/10.1joblogging.php
> And found I needed to patch the showjobs script (from Adaptive) if I
> wanted it to report vmem usage. Can you incorporate the patch
> please? Feel free to choose a better term than 'Vmemory Used'.
>
> Regards,
>
> Gareth
>
> --- ./torque-3.0.4-snap.201201051014/contrib/showjobs 2010-12-07
> 09:44:20.000000000 +1100
> +++ /usr/local/torque/bin/showjobs 2012-01-16 13:58:43.000000000
> +1100
> @@ -182,6 +182,10 @@
> {
> $jobAttr{'Memory Used'} = $1;
> }
> + elsif ($line =~ /<vmem>([^<]+)</ && $context eq
> 'resources_used')
> + {
> + $jobAttr{'Vmemory Used'} = $1;
> + }
> elsif ($line =~ /<opsys>([^<]+)</ && $context eq
> 'resource_List')
> {
> $jobAttr{'Operating System'} = $1;
> @@ -317,6 +321,7 @@
> 'Wallclock Duration',
> 'CPUTime',
> 'Memory Used',
> + 'Vmemory Used',
> 'Submit Time',
> 'Start Time',
> 'End Time',
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
>
More information about the torquedev
mailing list