ctstat

Used to check the status of a token, determine what state the token is in and what, if any, objects it contains. With no arguments, ctstat will provide a summary report of all tokens found.

NOTE   When operating in WLD/HA mode, this utility should only be utilized to view the configuration. Any changes to the configuration should be made when operating in NORMAL mode. Refer to Operation in WLD Mode and Operation in HA Mode for further details.

On some UNIX platforms, ctstat is a built-in command. To use PTK's ctstat, you must first set the environment path by running setvars.sh. If you decide to set the environment path manually, ensure that the PTK path is set at the beginning of the path variable, before the system path.

Syntax

ctstat [-a] [-b] [-h] [-j] [-m] [-n<name>] [-s<slot>] [-t<name>] [-v]

Option

Description

-a

--all

Display the status for everything associated with the ProtectToolkit-C token.

-b

--attributes

Display the attributes associated with a token.

-h

--help

Display usage information.

-j

--objects

Display all objects associated with a token.

-m

--mechanism

Display all mechanisms available on a token.

-n<name>

--object-name=<name>

Display the attributes of the specified object.

-s<slot>

--slot-num=<slot>

Specify the slot number to display statistics about.

-t<name>

--token=<name>

Specify the token name to display statistics about.

-v

--verbose

Verbose (provide more information).