gettab - search through tables using keys and return attributes.
gettab key=value,... table.attribute ...
gettab [-? | -h | --help]
The gettab command uses the specified key values to search the specified tables. For each matched row, the specified attributes are displayed.
Display usage message.
The command completed successfully.
An error has occurred.
To display node names that have mgt set to blade in the nodehm table:
gettab mgt=blade nodehm.node
The output would be similar to: nodehm.node: blades
To display setting for master (management node) in the site table:
gettab key=master site.value
The output would be similar to: site.value: mgmtnode.cluster.com
/opt/xcat/bin/gettab
nodels(1), chtab(1), tabdump(1)