msiGetStatSample

msiGetStatSample {threadName | index} ?retvar?

This command is similar to keylget for retvar handling.

Specify the thread from which to extract data by name or by index. If the argument is numeric, then it is assumed to be an index. If not, then it is assumed to be a thread name.

  • If retvar is not specified, then the value returned is the keyed list of static data. If the thread is not found within the ToC, then an error results.
  • If retvar is specified and the thread is in the ToC, then the keyed list of data is placed in retvar. The command returns "1". If the thread is not in the ToC, then the command returns 0 and retvar is left unchanged.
  • If the specified thread exists but has never been initialized, then an empty keyed list results.