We wrote a small JSV script (in Python) that logs the resource requests,
and other information at submit time.  That has helped quite a bit.

On Tue, Mar 28, 2017 at 05:10:35PM +0000, jeevan.patn...@wipro.com wrote:
Hi,


I am searching for a way to get the values of requested resources (In my case, 
I am just looking for h_vmem, how much each user is requesting). We don’t need 
the user or job specifics, but just the resource value with submission time is 
enough.


I found this option MONITOR=1 to be set to params in sge conf and with this, 
the required details are being logged in a separate file called schedule as 
follows:

3544466:100:STARTING:1490693867:660:H:oulng155:mem_free:524288000.000000

3544466:100:STARTING:1490693867:660:H:oulng155:grid_vmem:4294967296.000000

3544466:100:STARTING:1490693867:660:Q:nsnel6_batch.q@oulng155:slots:1.000000


But the above worked in N1GE 6.1, but not in GS/GE 2011.11.

It simply prints blanks as follows:
::::::
::::::
::::::

I thought of adding a prologue and using qstat –j inside the prologue and 
getting the resource details logged to a separate file.

But is there any other direct way that we can get these? And why is the 
monitor=1 option failing?

--

Thanks and Regards,

Jeevan Patnaik



Sent with AquaMail for Android
http://www.aqua-mail.com
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

--
Jesse Becker (Contractor)
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to