From e57d195814fa315dc2491bf73add6bb385fdd96d Mon Sep 17 00:00:00 2001 From: sternp Date: Wed, 29 Nov 2023 13:37:37 +1000 Subject: [PATCH] add queue nodes to disk report on ssh --- bin/crontab | 2 +- cmr_bashrc_extras.bash | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/crontab b/bin/crontab index 16dcd24..955fdf9 100644 --- a/bin/crontab +++ b/bin/crontab @@ -1 +1 @@ -*/10 * * * * bash /work/microbiome/sw/hpc_scripts/bin/check_disk +*/10 * * * * bash /work/microbiome/sw/hpc_scripts/bin/check_disk >/dev/null 2>&1 diff --git a/cmr_bashrc_extras.bash b/cmr_bashrc_extras.bash index 35f471a..1cd29ba 100644 --- a/cmr_bashrc_extras.bash +++ b/cmr_bashrc_extras.bash @@ -41,6 +41,11 @@ case $- in *i*) echo "** cl5n006 disk usage (%): `cat /work/microbiome/cl5n006_d case $- in *i*) echo "** cl5n007 disk usage (%): `cat /work/microbiome/cl5n007_disk_usage` **"; esac case $- in *i*) echo "** cl5n008 disk usage (%): `cat /work/microbiome/cl5n008_disk_usage` **"; esac case $- in *i*) echo "** cl5n009 disk usage (%): `cat /work/microbiome/cl5n009_disk_usage` **"; esac +case $- in *i*) echo "** cl5n010 disk usage (%): `cat /work/microbiome/cl5n010_disk_usage` **"; esac +case $- in *i*) echo "** cl5n011 disk usage (%): `cat /work/microbiome/cl5n011_disk_usage` **"; esac +case $- in *i*) echo "** cl5n012 disk usage (%): `cat /work/microbiome/cl5n012_disk_usage` **"; esac +case $- in *i*) echo "** cl5n013 disk usage (%): `cat /work/microbiome/cl5n013_disk_usage` **"; esac + # Setup snakemake config directories so it interfaces well with the PBS system mkdir -p ~/.config/snakemake