Use a Server Script to Display the Status of a Server or Spawner

To display the status of a server or spawner from a command line, you can use the -status option of the script for that server or spawner. For details, see Using Scripts to Operate SAS Servers Individually.
On UNIX and z/OS, you can use the -status option of the sas.servers script to display the status of the servers and spawners on a machine. For details, see Use the sas.servers Script to Start, Stop, or Restart All Servers or to Display the Status of Servers.