[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] floating point values in condor_status -format




I use '-format "%%-9.5s" LoadAvg' to left-justify a minimum field width of 9 characters with 5 decimal place precision.  That gives me the same output for LoadAvg as condor_status does by default.  The double percent signs are because the command is used in a batch file.


Mike




Steven Timm <timm@xxxxxxxx>
Sent by: condor-users-bounces@xxxxxxxxxxx
03/01/2007 10:32 AM
Please respond to Condor-Users Mail List

       
To: condor-users@xxxxxxxxxxx
cc:
Subject: [Condor-users] floating point values in condor_status -format





What is the right  -format string to use
to print out a floating point value in condor_status -format?

condor_status -format '%d\n' LoadAvg

for instance, only shows the integer part.

Steve


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.
_______________________________________________
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 either
https://lists.cs.wisc.edu/archive/condor-users/
http://www.opencondor.org/spaces/viewmailarchive.action?key=CONDOR