condor_status -const DynamicSlot=?=True \
-f "%s " Name \
-f "%d MiB " "ImageSize/1024" \
-f "%d MiB " Memory \
-f "%6.2f%%" "ImageSize/1024.0/Memory*100" \
-f "\n" NewLine
By default condor_startd send periodically every 15 minutes attribute changes
to condor_shadow, so this can be reason why output of previous command will not
be up to date. If you would like to change it, take a look at configuration
variable SHADOW_QUEUE_UPDATE_INTERVAL
http://research.cs.wisc.edu/condor/manual/v7.4/3_3Configuration.html#17775
Regards,
Lukas
> _______________________________________________
On Tue, Dec 13, 2011 at 09:28:16PM -0500, Rita wrote:
> Running condor 7.4.2 collector.
>
> I would like to get a machine´s memory usage percentage when using dynamic
> slots.
>
> Lets say I have a 4 core box with 16 gigs of memory and I am running 2 jobs
> which are requesting 8 gigs of memory but the jobs are only occupying 2
> gigs of memory. The memory usage percentage should be 20%. Is there a way
> to get this using condor_status ?
>
>
>
> --
> --- Get your facts first, then you can distort them as you please.--
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/