ns::stats::Sampler method sample (public)

 <instance of ns::stats::Sampler[i]> sample [ -server server ]

Defined in

Return the latest published sample, updating its reported age and running state. Before any publication, return a dictionary with sampling readiness false and no interval observations. An optional server argument restricts virtual-server data; CPU measurements remain process-wide. Does not collect observations or advance the baseline. The internal raw baseline is omitted from the returned dictionary.

Switches:
-server (optional)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: