# Tip: Tui Updates

**URL:** <https://cylc.discourse.group/t/tip-tui-updates/973>\
**Category:** Tips\
**Created:** [June 25, 2024, 9:28am UTC](https://cylc.discourse.group/t/tip-tui-updates/973 "2024-06-25T09:28:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliver.sanders](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/oliver.sanders/32/110_2.png) [@oliver.sanders](https://cylc.discourse.group/u/oliver.sanders)\
**Post date:** [June 25, 2024, 9:28am UTC](https://cylc.discourse.group/t/tip-tui-updates/973/1 "2024-06-25T09:28:16Z")

</div>

The Tui (terminal user interface) is a command line version of the Gui. You can use it to monitor and control your workflows.

There has been a major update to Tui at Cylc 8.3.0:

- Larger workflows will no longer cause Tui to time out.
- You can now browse all your workflows including stopped workflows.
- You can monitor multiple workflows at the same time.
- The workflow and job logs are now available from within Tui.

Tui is a built-in utility, start it on the command line:

```auto
$ cylc tui

```

---

<div class="post-metadata">

**Author:** ![TomC](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/tomc/32/115_2.png) [@TomC](https://cylc.discourse.group/u/TomC)\
**Post date:** [July 5, 2024, 2:45am UTC](https://cylc.discourse.group/t/tip-tui-updates/973/2 "2024-07-05T02:45:36Z")

</div>

Is it possible to monitor workflows of other users via the TUI? Or would it be much work to make that possible?

---

<div class="post-metadata">

**Author:** ![oliver.sanders](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/oliver.sanders/32/110_2.png) [@oliver.sanders](https://cylc.discourse.group/u/oliver.sanders)\
**Post date:** [July 5, 2024, 8:08am UTC](https://cylc.discourse.group/t/tip-tui-updates/973/3 "2024-07-05T08:08:23Z")

</div>

Cylc Tui connects directly to the scheduler, so can only connect to your own workflows.

All multi-user functionality comes from the Cylc UI Server (which powers the GUI).

It is not impossible for Tui to get its data from a Cylc UI Server, however, this would require a way for a command line application to authenticate via Jupyter Hub to other user’s UI Server instances. At present no such mechanism exists, but if that bridge can be crossed, then Tui could potentially do this.

---

<div class="post-metadata">

**Author:** ![ScottWales](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/scottwales/32/192_2.png) [@ScottWales](https://cylc.discourse.group/u/ScottWales)\
**Post date:** [July 8, 2024, 11:51pm UTC](https://cylc.discourse.group/t/tip-tui-updates/973/4 "2024-07-08T23:51:01Z")

</div>

You can access other user’s info by having the user create a jupyterhub token at `{jupyterhub_url}/hub/token`, then use that token to query a user’s ui server if serverside permissions have been set appropriately:

```python
requests.post(
    f"{jupyterhub_url}/user/{user}/cylc/graphql",
    headers = {'Authorization': f'token {jupyterhub_token}'},
    json = {'query': '{ workflows { id } }'}
)

```
