QUERY STORE
Query store is a new feature introduced in SQL Server 2016. This article explains how query store can simplify troubleshooting.
Use the below simple script to check the SQL service status in Linux environment
systemctl status mssql-server — no-pager | grep -e Active
Below syntax would give detailed summary for SQL Server status & uptime
systemctl status mssql-server — no-pager