Skip to content

print_tartarus_status

Tushar Semwal edited this page Oct 15, 2017 · 1 revision

Syntax:

print_tartarus_status.  %Prints the status and parameters of the platform on the console.

Description:

This predicate can be used for debugging. It prints all the values asserted in Tartarus platform, all the agent codes and threads currently associated with the platform, payloads carried by agents, token of the platform and other information related to the platform.

Example:

?- print_tartarus_status.

Executing this predicate will list the platform details (assuming the platform is running on localhost:6000) as follows:

platform_Ip : localhost    platform_port : 6000
transit_GUID: a1|handler|localhost,6000
guid_threadid: t_worker|4
guid_threadid: t_acceptor|5
guid_threadid: t_clean|3
Clone this wiki locally