ns::stats::Collector method snapshot (public)
<instance of ns::stats::Collector> snapshot [ -server server ]
Collect current gauges, cumulative counters, allocator statistics and thread CPU times into a timestamped dictionary. The timestamp is in epoch microseconds; collectionSeconds records collection duration. The observations are collected sequentially and do not constitute an atomic snapshot of the entire process. An optional server argument restricts virtual-server data. Does not publish a sample or advance the sampling baseline.
- Switches:
- -server (optional)
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)