JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
This section describes the available mechanisms for shutting down a hub. Hubs can be shut down from the command line or from the Web GUI. Hubs running as Windows services can also be shut down with standard Windows mechanisms.
We use the following terminology.
| shutting down a hub | refers to killing the hub process. This will also shut down any launch daemons and daemon-mode analysis processes connected to the hub. Note that shutting down a primary hub will automatically cause any associated satellite hubs to shut down. |
|---|---|
| removing a hub | refers to killing the hub process and deleting the hub database. |
All methods for shutting down a hub require G_HUB_SHUTDOWN permission.
To shut down a hub from the command line, use codesonar hub-stop.
| [[protocol://]host:port | hubdir] | You can identify the hub of interest by hub location (host:port or protocol://host:port)
or hub directory (hubdir). If you specify neither host:port nor hubdir, CodeSonar will determine a hub location using the steps described in Hub Location: How CodeSonar Determines Hub Location. |
|---|---|
| [-auth authtype], [-hubuser username], [-hubpwfile pwfile], [-hubbearerfile bearerfile], [-hubcert certfile], [-hubkey privatekeyfile] |
Specify how CodeSonar should attempt to authenticate this command. For details, see Hub Authentication: Authenticated codesonar Subcommands. |
This command will shut down the hub process.
The configuration tool provides a main menu option for shutting down a hub:
To shut down a hub using the CodeSonar web GUI:
The web page will change to display a table of hub information, and the hub will shut down.
The information displayed is described in Hub Commands: info.
If the hub is running as a Windows service, you can shut it down using either of the following Windows mechanisms.
| Using Services Controls |
|
|---|---|
| Using net stop |
|
To report problems with this documentation, please visit https://support.codesecure.com/.