.TH HUNTSERVICE 1
.SH NAME
huntservice
.SH SYNOPSIS
g/huntservice servicename
.SH DESCRIPTION
huntservice is intended as a fallback for service acquisition from g/getservice. If g/getservice can't find the service in the current /tmp/grid/info/regbucket, it calls huntservice to try to find it in the currently mounted registries. huntservice first brings its registry namespace up to date with regnsupdate, then searches the index for the requested service. If found, it is mounted and g/svcadd is called to store the information in /tmp/grid/svcin.
.SH SOURCE
/bin/g
.SH BUGS
The existence of this script may be a bug, as you could accomplish its purpose by running g/regupdate after a failed g/getsvc, and if g/gridmaint is running, it would be hoped that it refreshes registry data often enough for the fallback to huntservice from getservice to be a rarity.
