Deployment and Management Guide for Cisco IoT FND on OVA with Postgres and InfluxDB, Release 5.x.x and Later

PDF

Obtain statuses of services running on the host

Updated: February 4, 2026

Overview

Learn how to obtain the statuses of all services running on the host by using SSH to access the server and executing a status-check script.

To verify that essential applications and system components are functioning correctly, quickly identify any issues with stopped services, and maintain the overall health and reliability of your system, you might need the statuses of all the services.

Use the following instructions to obtain all the statuses of services running on the host:

Procedure

1.

Using SSH terminal, run the following command to change the directory to where the scripts are located:

Example:

cd /opt/scripts
2.

Execute the script to check the status of all services:

Example:

./status.sh
Service Status Report
            ---------------------
            - Apache: Running
            - MySQL: Running
            - Docker: Stopped
            - SSH: Running
            - Firewall: Running
            ---------------------
            Total services: 5
            Running: 4
            Stopped: 1