[torqueusers] Patch: fix line breaking on qstat
Dave Jackson
jacksond at clusterresources.com
Tue Jan 24 11:27:37 MST 2006
Ronny,
The change has been made in CVS. We are testing it now.
Dave
On Tue, 2006-01-24 at 14:42 +0100, Ronny T. Lampert wrote:
> [And again for -users]
>
> Hi,
>
> somehow qstat was always putting blank lines between each job status line on
> standard terminals. I really don't know why, because if you add up all the
> numbers you don't come close to 80.
>
> The following patch fixes it (against 2.0.0p5) by shortening the Queue
> string size from 16 to 15 chars (diff in TORQUE/src/cmds)
>
>
> --- qstat.c~ 2006-01-24 14:37:14.000000000 +0100
> +++ qstat.c 2006-01-24 14:36:30.000000000 +0100
> @@ -397,7 +397,7 @@
> #define OWNERL 16 /* printf of jobs */
> #define TIMEUL 8 /* printf of jobs */
> #define STATEL 1 /* printf of jobs */
> -#define LOCL 16 /* printf of jobs */
> +#define LOCL 15 /* printf of jobs */
> #define SIZEL 6 /* length of "SIZE" fields in printf */
>
>
> Cheers,
> Ronny
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list