[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.


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
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.


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

The archives can be found at either