hashstat built-in command for tcsh: Print a statistic line on hash table effectiveness

Format

hashstat

Description

hashstat prints a statistics line indicating how effective the internal hash table has been at locating commands (and avoiding exec's). An exec is attempted for each component of the path where the hash function indicates a possible hit, and in each component which does not begin with a / (forward slash).

z/OS systems have a vfork() command, however, tcsh is not compiled to use it. Typically on machines without vfork, hashstat prints only the number and size of hash buckets, but on z/OS systems, a hashstat print out would be similar to the following display:
> hashstat
> hashstat 512 hash buckets of 8 bits each
> 

Related information

tcsh