This file is indexed.

/usr/share/gridengine/dead-nodes is in gridengine-common 8.1.9+dfsg-7build1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

# List dead nodes (sgeexecd not responding).

# Dave Love <fx@gnu.org>, 2008-09
# Copyright (C) 2008 The University of Liverpool
# Licence: FreeBSD <http://www.gnu.org/licenses/license-list.html#FreeBSD>

usage () {
    echo "Usage: $(basename $0) [-w]
List dead nodes (where the SGE exec daemon isn't responding).
-w means separate node names with commas, to produce a list suitable
for the -w arg of pdsh."
}

case $1 in
    --help) usage; exit;;
    -w) comma=1;;
    '') : ;;
    *) usage 1>&2; exit 1;;
esac

out=$(qhost |
      grep ' - ' |		# dead
      grep -v global |		# ignore global
      cut -d ' ' -f 1)
if [ -z "$comma" ]; then
    echo "$out"
else
  echo "$out" | tr "\n" , | sed -e 's/,$//'
fi