<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=733334817-14052009><FONT face=Verdana
size=2>I'm not seeing the assigned ncpus you're seeing, but that appears to be
the data I need.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=733334817-14052009><FONT face=Verdana
size=2>If i can get <FONT face="Times New Roman" size=3>resources_assigned.ncpus
= 4 to show up, i'll be a happy camper.</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=733334817-14052009><FONT face=Verdana
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=733334817-14052009><FONT face=Verdana
size=2># qstat -Qf<BR>Queue: batch<BR> queue_type =
Execution<BR> total_jobs = 2<BR> state_count
= Transit:0 Queued:1 Held:0 Waiting:0 Running:1 Exiting:0<BR>
resources_default.nodes = 1<BR> resources_default.walltime =
01:00:00<BR> mtime = 1233765351<BR>
resources_assigned.nodect = 1<BR> enabled =
True<BR> started = True</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=733334817-14052009><FONT face=Verdana
size=2><BR># qmgr -c "list
server"<BR>Server <deleted></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=733334817-14052009><FONT face=Verdana
size=2> server_state =
Scheduling<BR> scheduling =
True<BR> total_jobs =
0<BR> state_count = Transit:0 Queued:0
Held:0 Waiting:0 Running:0
Exiting:0<BR> acl_hosts =
<deleted><BR> managers =
<deleted></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=733334817-14052009><FONT face=Verdana
size=2> operators =
<deleted><BR> default_queue =
batch<BR> log_events =
511<BR> mail_from =
adm<BR> resources_assigned.nodect =
0<BR> scheduler_iteration =
600<BR> node_check_rate =
150<BR> tcp_timeout =
6<BR> pbs_version =
2.4.0b1<BR> next_job_number =
968<BR> net_counter = 2 5
5<BR></DIV></FONT></SPAN><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> chemadm@hamilton.edu
[mailto:chemadm@hamilton.edu] <BR><B>Sent:</B> Monday, May 11, 2009 12:14
PM<BR><B>To:</B> Edsall, William (WJ)<BR><B>Cc:</B>
torqueusers@supercluster.org<BR><B>Subject:</B> Re: [torqueusers] How to get
assigned cpu count with torque?<BR></FONT><BR></DIV>
<DIV></DIV>Hi,
<DIV><SPAN class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>On our grid I
did a list server in qmgr and I see the following:</DIV>
<DIV><BR></DIV>
<DIV>
<DIV><SPAN class=Apple-tab-span
style="WHITE-SPACE: pre"></SPAN>resources_assigned.mem = 419430400b</DIV>
<DIV><SPAN class=Apple-tab-span
style="WHITE-SPACE: pre"></SPAN>resources_assigned.ncpus = 4</DIV>
<DIV><SPAN class=Apple-tab-span
style="WHITE-SPACE: pre"></SPAN>resources_assigned.nodect = 8</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>However, this I believe is the amount of resources that is assigned to
jobs. Not the total amount available. I'd expect the same behavior in pbs pro
but I'm just guessing here. So are you looking for the total amount of
resources across the whole cluster or just the number of assigned resources to
currently running jobs? Hope this helps,</DIV>
<DIV><BR></DIV>
<DIV>-Steve</DIV>
<DIV><BR></DIV></DIV>
<DIV><BR>
<DIV>
<DIV>On May 11, 2009, at 10:57 AM, Edsall, William (WJ) wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV><!-- Converted from text/rtf format -->
<P><FONT face=Verdana size=2>Hello List,</FONT> <BR><FONT face=Verdana
size=2> I'm trying to parse out the assigned cpu count. In pbs pro this
is available under list server as resources_assigned.ncpus.</FONT></P>
<P><FONT face=Verdana size=2>Is this variable hiding somewhere in
torque?</FONT> </P>
<P><FONT face=Verdana size=2>William</FONT>
</P></DIV>_______________________________________________<BR>torqueusers
mailing list<BR><A
href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</A><BR>http://www.supercluster.org/mailman/listinfo/torqueusers<BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>