↑ ↓ select, Enter open, Esc close

Check the status of the LiteSpeed web server

root@server
/usr/local/lsws/bin/lswsctrl status

Asks the LiteSpeed control script for the server state. If the service is running, the output reports the PID of the main process, otherwise it says the server is not running. The script lives in the same place on LiteSpeed Enterprise and OpenLiteSpeed.

Note: Alternatively, systemctl status lsws shows the state from systemd’s point of view, including the latest log lines.

Also searched as

  • is litespeed running
  • openlitespeed show status
  • check litespeed service
  • lsws status

Related one-liners

All in LiteSpeed

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.