SVRCTL(1)

NAME
svrctl - send servers control messages

SYNOPSIS
svrctl <vfs|pm> get <request>
svrctl <vfs|pm> set <request> <value>

DESCRIPTION
The svrctl utility allows to override the values of variables inside VFS or PM or to retrieve the values of variables. The variables that are allowed to be overridden are hard coded in the servers.

EXAMPLES
To retrieve how many threads are currently actively carrying out work in VFS:

    svrctl vfs get active_threads

To generate a stack trace of all threads in VFS:

    svrctl vfs get print_traces

To set verbosity level of VFS (allowed values range from 0 to 4)

    svrctl vfs set verbose 1

To retrieve boot monitor parameters (note that these are also available through sysenv(1) ) such as rootdevname , memory , hz , and if set, bootopts , cttyline , cttybaud :

    svrctl pm get rootdevname
    svrctl pm get memory
    svrctl pm get hz
    svrctl pm get bootopts
    svrctl pm get cttyline
    svrctl pm get cttybaud

EXIT STATUS
In case svrctl is not properly invoked or the provided request is not valid 1 is returned, otherwise 0.

AUTHORS
Thomas Veerman <thomas@minix3.org>