On Sat, 19 May 2012 at 10:16am, Farkas, Illes wrote

Is there a command (or an argument/switch of qsub) that tells the queue
manager to write into a file the maximum amount of memory used by one of
the jobs during its entire life time? To the best of my knowledge, after a
job finishes, its statistics (with "qstat -j") cannot be seen any more by
the user. Is there a way that users can ask for the final "maxvmem" values
of their past jobs?

As others have stated, you can use qacct after a job is done. But in some setups (like ours), the accounting file is *huge* and qacct takes a long while. The easier way, in my opinion, is to simply include 'qstat -j $JOB_ID' as the last line in your job scripts. Then the usage will get written into the standard SGE output file for each job.

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to