Re: [slurm-users] sacct output in tabular form

2021-08-25 Thread Killian Murphy
sacct --parsable2 | column -s '|' -t | less -S has always been useful to me for a glance at it. On Wed, 25 Aug 2021 at 13:41, Jeffrey T Frey wrote: > You've confirmed my suspicion — no one seems to care for Slurm's standard > output formats :-) At UD we did a Python curses wrapper around the >

Re: [slurm-users] sacct output in tabular form

2021-08-25 Thread Jeffrey T Frey
You've confirmed my suspicion — no one seems to care for Slurm's standard output formats :-) At UD we did a Python curses wrapper around the parseable output to turn the terminal window into a navigable spreadsheet of output: https://gitlab.com/udel-itrci/slurm-output-wrappers > On Aug 25,

Re: [slurm-users] sacct output in tabular form

2021-08-25 Thread Ole Holm Nielsen
Hi Sven, On 8/25/21 7:41 AM, Sternberger, Sven wrote: this is a simple wrapper for sacct which prints the output from sacct as table. So you can make a "sacctml -j foo --long" even without two 8k displays ;-) This script works nicely, thanks! However, in stead of an extremely wide display on

[slurm-users] sacct output in tabular form

2021-08-24 Thread Sternberger, Sven
Hello! this is a simple wrapper for sacct which prints the output from sacct as table. So you can make a "sacctml -j foo --long" even without two 8k displays ;-) cheers#!/usr/bin/python3 def sacct_command(cmd): cmd_list=["sacct","--parsable2"] cmd_list.extend(cmd) result=subproces