a job-management tool with nice printing for cluster scheduling systems. remember only one set of commands for all the systems.
author : C4r-bs
bash | zsh | |
---|---|---|
lsf | done | done |
slurm | done | done |
PBS | doing | - |
git clone :
git clone https://github.com/c4rO-0/jobage.git
or
git https://gitee.com/C4r/jobage.git
download:
gitee : https://gitee.com/bsplu/scripts/repository/archive/master.zip
github : https://codeload.github.com/c4rO-0/jobage/zip/refs/heads/master
Temporarily working
source where_is_jobage/main.sh
Always working
add source where_is_jobage/main.sh
to ~/.bashrc
.
if zsh
is used, add source where_is_jobage/main.sh
to ~/.zsh
.
Specify working path
only suggested for users having single linux account
source main.sh --jbg_prefix path
path is the specific working path, default is $HOME/.local/jobage
Debug mod
source main.sh --jbg_debug
open debug mod. more details will be printed.
run
jbg.help
working output like
failed output like
please make sure that one of bqueues/squeue
can run on your system.
- all commands run like
jbg.XXX
- run
jbg.help
to get a summary help information - run
jbg.XXX -h
get a help information for the command XXX.
command | behavior |
---|---|
jbg.q | quary queue information |
jbg.qh | quary queue history information |
jbg.kill [num/grep] | kill job |
jbg.sub | submit job |
jbg.cd | go to the path of job |
- on setting: copy setting file to jobage working directory:
mkdir -p "$_jobage_wPath";
cp "$_jobage_default_setting" "$_jobage_setting";
source main.sh
- edit setting file:
vi "$_jobage_setting";
- off setting (if wanted):
rm "$_jobage_setting";
-[ ] auto-generate scripts.