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
General

Getting Hub Information

This section describes the available methods for obtaining general information about a running hub.



General Hub Information

General information about the hub can be accessed through the CodeSonar web GUI, through the CodeSonar configuration tool, and with a command line.

All these methods require G_HUB_INFO permission.

The information displayed is described in Hub Commands: info.

Web GUI Access information through the through the following URL:
http://host:port/command/info/
where host:port is the hub location.
Configuration Tool The main menu provides an option for viewing hub information.
Command Line Use a codesonar hub-info command:
codesonar hub-info [-force]
[-auth authtype] [-hubuser username] [-hubpwfile pwfile] [-hubbearerfile bearerfile] [-hubcert certfile] [-hubkey privatekeyfile]
[host:port | hubdir]
[-force] When this is specified, the command will return a minimal set of hub information if the authorizing user does not have G_HUB_INFO permission.
Otherwise, the command will return an error message in this case.
[[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.

Hub Processes

For information about the processes running on a hub, use one of the following command lines.

$CSONAR/codesonar/bin/cshub_inspect directory

Writes (to stdout) an overview of the current slaves for the hub whose hub directory is directory.

The overview has three parts:

$CSONAR/codesonar/bin/cshub_inspect directory timespan outfile

Every timespan milliseconds, rewrites outfile to contain an overview of the current slaves for the hub whose hub directory is directory. The periodic rewriting continues until the command is terminated. The overview structure is as described above for cshub_inspect directory.

Other Hub Sections

 

To report problems with this documentation, please visit https://support.codesecure.com/.