# Status

1. On the navigation panel, click `System`.

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-0e949508211ca7572541b2e9e0185e8f85a0b4a2%2Fsystem_menu.png?alt=media" alt=""><figcaption></figcaption></figure>

2\. This opens the status view which contains information about all running Connectware containers.

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-18fed6a11b1e005e01f62d8ac97675710a2b5810%2Fstatus.png?alt=media" alt=""><figcaption></figcaption></figure>

## Overview

The status view contains the following information

### Name

The name of the container.

### State

Connectware containers can enter one of the following states:

* running -> The container is working as expected.
* starting -> The container is currently in the process of starting.
* stopping -> The container is currently stopping.
* restarting -> The container has triggered the restarting procedure.
* exited -> The container was shut down and won’t restart automatically.
* created -> The container was created but not yet started.

### Uptime

The time the container is already running.

### Controls

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-d3624925de2edba3a950fa945f0b7754f0ab249d%2Fstatus_restart.png?alt=media" alt=""><figcaption></figcaption></figure>

To restart Connectware containers, select one or more instances (1.) and click `Restart` (2.) on the toolbar.

## Container Details View

The `Container Details` view contains more information about a single container. To open this view, select one of the containers displayed in the status view.

A window similar to the picture below will open.

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-26d824ec999488493c5ce27bfab7a1bfce6570fa%2Fstatus_details_config.png?alt=media" alt=""><figcaption></figcaption></figure>

To unfold the individual resources just click on the appropriate tab.

### Configuration

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-26d824ec999488493c5ce27bfab7a1bfce6570fa%2Fstatus_details_config.png?alt=media" alt=""><figcaption></figcaption></figure>

The `Configuration` tab shows information about container settings including

* capAdd -> Added capabilities.
* exposedPorts -> Ports exposed by the container.
* image -> The docker image used by the container.
* privileged -> Shows if the container is running in privileged mode.
* workingDir -> The working directory inside the container.

### Environment Variables

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-7b29948b9063274d88301d981c6a619f9562af2b%2Fstatus_details_envs.png?alt=media" alt=""><figcaption></figcaption></figure>

The `Environment Variables` tab shows all environment variables available to the processes inside the container at runtime.

### Container Logs

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-13b96aec0132c944ac09d540d3c7ad0aebecd128%2Fstatus_details_logs.png?alt=media" alt=""><figcaption></figcaption></figure>

The `Container Logs` tab shows the logging message of the selected container. In the toolbar at the top right of this section, there are the following buttons:

* _Search_ for log entries containing the entered keyword. This also filters the current table.
* _Download CSV_ to download the displayed rows of the log file as a CSV (Comma-Separated-Value) text file (Note: Log lines outside of the window are not downloaded, and the complete download is limited to the most recent 500 lines; use _Download raw log_ for a complete log download)
* _View columns_ to select the columns to be shown
* _Filter table_ to select filter criteria to have only a subset of rows shown
* _Download raw logs_ to download the full log file in order to pass on this file to Cybus Support for in-depth issue resolution. See below for an explanation of the file format.
* and _Refresh_ to refresh (reload) the currently shown log messages.

The “Download raw logs” button returns the stream output of “docker logs” directly, whereby each log line is prepended by some control characters. The exact stream format is described in the Docker API documentation of the “Attach” endpoint, see e.g. [https://docs.docker.com/engine/api/v1.41/#operation/ContainerAttach](https://docs.docker.com/engine/api/v1.41/#operation/ContainerAttach) . Basically, each line is prepended by an eight byte header and another two byte marker. For text file processing, the first 10 bytes of each line should hence be ignored. A suitable Linux command line tool for that would be _cut -b11- < inputfile.log_ where the output lines are printed from the 11th byte onwards each.

### Controls

<figure><img src="https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-ca2864e18cf9530980b0f1e830afde6b2fffb361%2Fstatus_details_controls.png?alt=media" alt=""><figcaption></figcaption></figure>

The details view offers capabilities to

* _Stop_ -> Stop the selected container.
* _Restart_ -> Restart the selected container.
* _Delete_ -> Delete the selected container (the container has to be stopped first).
* _Expand all Resources_ -> Unfold all of the tabs described above.

In addition to these global controls, each details tab provides individual controls to filter, organize, or search the data provided.

_Search_

![../\_images/search.png](https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-556580c2b43b3f7706be18358f52f4aeaecce93c%2Fsearch.png?alt=media)

Search for entries containing the entered keywords. This also filters the current table.

_Show Columns_

![../\_images/columns.png](https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-9e04ec262beae053e3c9f4e3b108d7a11bab2910%2Fcolumns.png?alt=media)

Select the columns to be shown.

_Filter_

![../\_images/filter.png](https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-d0fbcc25b5dd7c602d9d654fb93f0fa1f93f8bc8%2Ffilter.png?alt=media)

(Not in Logs section.) Select from available options to filter the rows to be shown.

_Refresh_

![../\_images/refresh.png](https://2317229820-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLPAf7nVSLAm6jvBxu1bg%2Fuploads%2Fgit-blob-d0c121c33f7aad8b9f8b90ec8f6d8265786b0f82%2Frefresh.png?alt=media)

Only available in the `Container Logs` section. This option reloads the displayed logs.
