Perhaps "squeue" will show you what you need(?). This:
``` squeue --all --state=all --long --array-unique ```
seems to have overlapping information. There're a number of fields that can be specified with `-O, --Format=<output_format>` that might have the info you need.