All predicatesShow sourceswish_diagnostics.pl

Source redis_consumer_status(+Consumer, -Status) is semidet
True when Status is a dict describing the current status for Consumer.
Source swish_cluster_member(?Consumer, -Status) is nondet
Source stale_pengine(-Pengine) is nondet
True if Pengine is a Pengine who's thread died.
Source pengine_stale_module(-M) is nondet
Source pengine_stale_module(-M, -State) is nondet
True if M seems to be a pengine module with no associated pengine. State is a dict that describes what we know about the module.
Source swish_statistics(?State)
True if State is a statistics about SWISH
Source is_uuid(@UUID)[private]
True if UUID looks like a UUID
Source start_swish_stat_collector
Start collecting statistical performance information for the running SWISH server.
Source 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.
Source get_stats(+Wrap, -Stats:dict) is det[private]
Request elementary statistics.
Source save_stats(+StaveSpec, +Stats) is det[private]
Save the statistics on each interval.
Source restart_sliding_stats(+Options, +Dim, -Stats) is det[private]
Try to reload the stats from the saved version. On any error or if the format is incompatible, drop the saved version and start a new series.
Source swish_save_stats(?File)
Save statistcs to File or the default file.
Source swish_died_thread(TID, Status) is nondet
True if Id is a thread that died with Status and has not (yet) been joined. Note that such threads may exist for a short while.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source malloc_info(Arg1)