* ARCHIVE: Imported some tools from my stats work back in 2016.

Warning: These tools are obsolete, and may or may not work.
  Orig-cwd: TURING:/home/wpurwant/hpc-explore/turing-hw/tests20160826
  Sigs:
    # -rwx------ 1 wpurwant users 214 2016-09-13 11:58:21 show-disabled-nodes2.awk
    # -rwx------ 1 wpurwant users 111 2016-08-26 13:10:14 show-disabled-nodes.sh
    # -rwx------ 1 wpurwant users 122 2016-08-26 10:25:16 show-node-summary.sh
    # -rwx------ 1 wpurwant users 153 2016-08-26 12:06:25 show-non-full-nodes.sh
    # 71c64a7e6cd9df34ca6a9348ebc44ab1  show-disabled-nodes.sh
    # 8a3570829d132c526cc44adf72212887  show-disabled-nodes2.awk
    # ebbc0642cd29a1575670c86629d89c72  show-node-summary.sh
    # 5eee777a8380333654d3a06e3482f38e  show-non-full-nodes.sh
    # dfb36573c6d758bc675f70247ff0befe9ddbe365  show-disabled-nodes.sh
    # d1995fc91d402c9dcc30adc0b461e2beaa25ab67  show-disabled-nodes2.awk
    # 3267d169b476396d66f6127e1343bd7c23b37e1f  show-node-summary.sh
    # 18673a78914d9cce47c95d4fd5146805fc227416  show-non-full-nodes.sh
master
Wirawan Purwanto 3 years ago
parent 9429ad3697
commit dda0e1b7ad
  1. 3
      sge/show-disabled-nodes.sh
  2. 23
      sge/show-disabled-nodes2.awk
  3. 4
      sge/show-node-summary.sh
  4. 4
      sge/show-non-full-nodes.sh

@ -0,0 +1,3 @@
#!/bin/bash
./show-node-summary.sh | grep -v -e '^ed-' -e '^timed-' -e '^queuename' | awk '$6 != "" {print}'

@ -0,0 +1,23 @@
#!/bin/bash
{
if [ "$1" = "" ]; then
qstat -f
else
cat "$1"
fi
} \
| awk '
/^queuename/ { next }
/^ed-/ || /^timed-/ { next }
$1 ~ /^[a-z]+@/ && $6 ~ /^[a-z]+/ {
print
getline
print
}
'

@ -0,0 +1,4 @@
#!/bin/bash
# ignore ed- and timed- queues.
egrep 'BIP *[0-9]+/[0-9]+/[0-9]+' qstat-f.txt | grep -v -e 'ed-' -e 'timed-'

@ -0,0 +1,4 @@
#!/bin/bash
# only for main group
./show-node-summary.sh | grep '^main' | awk '$NF !~ /d[a-z]*/ {print}' | sort -k 3 | egrep -v '16/16 |20/20 |32/32 '
Loading…
Cancel
Save