- swish_stats(?Period, ?Stats:list(dict)) is nondet
- Get the collected statistics for the given Period. Period is one
of
minute
, hour
, day
, week
or year
. Stats is a list of
statistics structures, last one first. The minute
period
contains 60 second measurements, the hour 60 minutes, the day 24
hours, etc. Each dict constains the following keys:
- cpu
- Total process CPU time
- d_cpu
- Differential CPU (is avg CPU per second)
- pengines
- Number of running pengines
- pengines_created
- Total number of pengines created
- d_pengines_created
- Pengines created per second
- rss
- Total resident memory
- stack
- Memory in all Prolog stacks.