Martini was designed to handle multi-threaded processes. And for convenience, it also provides methods for checking ongoing threads through its administrator REST API and user interface.
Via user interface
To access the Threads page, open the Martini Runtime Admin UI in your browser. From the main menu, select Server Status and then click Threads from the appearing submenu.
Check your license
The Martini Runtime Admin UI is only available in the Martini Runtime Edition.
This page will list down all the running threads and their information. Clicking on a thread name will show an information panel that displays various properties of the thread.
Via REST API
Martini also provides REST endpoints for retrieving thread information. This API allows you to remotely do things such as:
- Retrieve a list of running threads
- Retrieve more information about a thread
- View a thread's stacktrace