Skip to content

Intro_Course_6_1

Jason Harvey edited this page Nov 10, 2022 · 2 revisions

Intro Course 6.1: Checking the Health & Status Log

At run-time, whenever you are developing or tuning a network you should always check the Health & Status log for errors & warnings.

GUNNS is designed to output all error messages related to initial network setup problems to the Health & Status system. These messages will cover the most common mistakes we make, like invalid config & input data values, and invalid initial node connections.

A good way to monitor the H&S log is in a new shell, cd to the SIM_ folder, then:

$ cd logs

$ tail -f TS_Health_and_Status.out

Note that the path/filename of the file may differ in your particular sim – this is defined by the hsconfig.txt file, which usually resides within the Trick sim folder.

Make your shell window very wide, as the messages can be quite long and a wider window helps readability. You can leave this tail going — as you kill & restart the sim to fix various things, the tail will keep monitoring the latest H&S outputs.

Any initialization errors cause the network to remain uninitialized, and it will not propagate when you mode to RUN (instead it will spam more error messages).

Previous Page / Next Page

Clone this wiki locally