Trace Flags in SQL Server for Performance Optimization
Trace flags in SQL Server are used to change any specific server characteristics or to switch off a particular behavior.
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