status-dirsrv8
Script for showing the status of directory server
Usage
status-dirsrv [<instance>]
Overview
status-dirsrv shows all the status of Directory Server instances on a system, or of a single instance if specified
Options
<instance>-
Specifies a single Directory Server instance to show the status
Usage
Sample usage:
- status-dirsrv example
Exit status
status-dirsrv returns 0 if all Directory Server instances are running. Otherwise, it returns a positive value which represents the number of server instances which are not running.
If a single Directory Server instance is specified, 0 is returned if the instance is running; 1 is returned if the instance is not running; 255 is returned if the instance does not exist.