perl
tabgrep - list table names in which an entry for the given node appears.
tabgrep nodename
tabgrep [-? | -h | --help]
The tabgrep command displays the tables that contain a row for the specified node. Note that the row can either have that nodename as the key or it could have a group that contains the node as the key.
-?|-h|--help
Display usage message.
0 The command completed successfully.
1 An error has occurred.
1.
To display the tables that contain blade1:
tabgrep blade1The output would be similar to:
nodelist nodehm mp chain hosts mac noderes nodetype
/opt/xcat/bin/tabgrep
nodels(1)tabdump.8