[slurm-users] How to short work folder in `squeue`
Steffen Grunewald
steffen.grunewald at aei.mpg.de
Tue Jan 9 03:53:03 MST 2018
On Tue, 2018-01-09 at 18:25:27 +0800, 刘科 wrote:
> Dear slrum developers:
>
> I alias squeue to squeue -u $(whoami) -o "%.10i %.10P %.20j %.2t %.10M %.9l
> %.6D %R %Z". Now it shows the full path of working dir, but it seems too
> long to show all the useful messages in online.
>
> Is there any way to shorten the $HOME to ~?
Pipe the output through sed "s%`echo ~`%~%" ?
This obviously works for yourself only...
- S
More information about the slurm-users
mailing list