stattree

stattree [<node> [<node> [[...]]]]

The output of stattree is statistics currently available on the host machine. Statistics are gathered both by the hardserver (relating to the server itself, and its current clients) and by each attached HSM.

A typical (abbreviated) output fragment from stattree. See the examples for more complete outputs.

$ stattree
+ServerGlobals:
   -Uptime               613631
   -CmdCount             153343
   [...]
+Connections:
   +#1:
      -Uptime               613631
      -CmdCount             0
      [...]
   +#25:
      -Uptime               0
      -CmdCount             13
      [...]
+PerModule:
   +#1:
      +ModuleObjStats:
         -ObjectCount          5
         [...]
      +ModuleCacheStats:
         -CacheEntryCount      0
         [...]
      +ModuleEnvStats:
         -SerialNumber         8ED1-2C9A-9331
         [...]
      +ModuleJobStats:
         -CmdCount             153352
         [...]
+RemoteServers:
+PerDevice:
   +#1:
      +ModuleDriverStats:
         -DriverIRQs           0
         [...]
      +ModuleServerStats:
         -JobsOutstanding      0
         [...]

Example outputs

+ServerGlobals
+ServerGlobals:
   -Uptime               17577
   -CmdCount             1240357
   -CmdBytes             77927908
   -CmdMarshalErrors     0
   -ReplyCount           1240512
   -ReplyBytes           2036926904
   -ReplyMarshalErrors   0
   -ClientCount          9
   -MaxClients           17
   -DeviceFails          0
   -DeviceRestarts       0
   -CryptoClientCount    0
   -MaxCryptoClients     0
   -AuditDBFreeSpaceMB   486429
   -AuditDBUsedSpaceMB   0
+Connections
+ServerGlobals:
   -Uptime               17577
   -CmdCount             1240357
   -CmdBytes             77927908
   -CmdMarshalErrors     0
   -ReplyCount           1240512
   -ReplyBytes           2036926904
   -ReplyMarshalErrors   0
   -ClientCount          9
   -MaxClients           17
   -DeviceFails          0
   -DeviceRestarts       0
   -CryptoClientCount    0
   -MaxCryptoClients     0
   -AuditDBFreeSpaceMB   486429
   -AuditDBUsedSpaceMB   0
+PerModule
+PerModule:
   +#1:
      +ModuleObjStats:
         -ObjectCount          7
         -ObjectsCreated       51
         -ObjectsDestroyed     44
      +ModuleCacheStats:
         -CacheEntryCount      0
         -CacheEntriesInserted 0
         -CacheEntriesRemoved  0
      +ModuleEnvStats:
         -SerialNumber         AC03-03E0-D947
         -Uptime               11262
         -CurrentTime          1437708806
         -MemTotal             2030891008
         -MemAllocKernel       470183936
         -MemAllocUser         0
         -TempSP               39.00
         -CurrentCPUTemp1      53.00
         -CurrentCPUTemp2      45.00
         -CPUVoltage1          1.00
         -CPUVoltage2          1.80
         -CPUVoltage3          0.99
         -CPUVoltage4          1.35
         -CPUVoltage5          1.00
         -CPUVoltage6          1.51
         -CPUVoltage7          3.35
         -CPUVoltage8          2.53
         -CPUVoltage9          1.19
         -CPUVoltage10         2.92
         -CPUVoltage11         11.84
         -MaxTempC             53.00
         -MinTempC             38.00
         -AIS31PrelimAlarms    0
         -MceCount             0
         -SpiRetries           0
         -SpI2c1               0
         -SpI2c2               9
         -SpTempExcursion      0
         -SpVoltageExcursion   0
         -HostBusExceptions    0
         -CryptoBusExceptions  0
         -SpSensorCmdFails     0
         -NVMFreeSpace         272822272
         -NVMWearLevel         0.00
         -NVMWornBlocks        0.00
         -CurrentFanSpeed      4615
         -CurrentFanDuty       25
      +XCSecurityProcessorLog:
         +#18:
            -XCSpLogEventID       19
            -XCSpLogEventDate     1431650807
         +#17:
            -XCSpLogEventID       50
            -XCSpLogEventDate     4294967295
         +#16:
            -XCSpLogEventID       11
            -XCSpLogEventDate     1431650905
         +#15:
            -XCSpLogEventID       4
            -XCSpLogEventDate     1431652698
         +#14:
            -XCSpLogEventID       5
            -XCSpLogEventDate     1431652698
         +#13:
            -XCSpLogEventID       17
            -XCSpLogEventDate     1431652764
         +#12:
            -XCSpLogEventID       17
            -XCSpLogEventDate     1431661948
         +#11:
            -XCSpLogEventID       18
            -XCSpLogEventDate     1434078570
         +#10:
            -XCSpLogEventID       38
            -XCSpLogEventDate     1434078570
         +#9:
            -XCSpLogEventID       39
            -XCSpLogEventDate     1434078570
         +#8:
            -XCSpLogEventID       11
            -XCSpLogEventDate     1434078710
         +#7:
            -XCSpLogEventID       18
            -XCSpLogEventDate     1434158867
         +#6:
            -XCSpLogEventID       38
            -XCSpLogEventDate     1434158867
         +#5:
            -XCSpLogEventID       39
            -XCSpLogEventDate     1434158867
         +#4:
            -XCSpLogEventID       11
            -XCSpLogEventDate     1434158878
         +#3:
            -XCSpLogEventID       18
            -XCSpLogEventDate     1436951986
         +#2:
            -XCSpLogEventID       38
            -XCSpLogEventDate     1436951986
         +#1:
            -XCSpLogEventID       39
            -XCSpLogEventDate     1436951986
         +#0:
            -XCSpLogEventID       11
            -XCSpLogEventDate     1436951993
      +ModuleJobStats:
         -CmdCount             8086
         -ReplyCount           8084
         -CmdBytes             175400
         -ReplyBytes           391520
         -JobsStarted          8086
         -JobsComplete         8085
         -RepliesQueued        8089
         -HostWriteCount       7693
         -HostWriteErrors      0
         -HostReadCount        15651
         -HostReadErrors       0
         -HostReadEmpty        0
         -HostReadDeferred     7798
         -HostReadTerminated   0
         -PFNIssued            4425
         -PFNRejected          0
         -PFNCompleted         4424
         -ANIssued             5
         -CPULoadPercent       4
      +ModulePCIStats:
         -HostIRQs             8876778
         -HostReadCount        3029341
         -HostReadDeferred     0
         -HostReadErrors       66
         -HostReadReconnect    0
         -HostWriteCount       5847385
         -HostWriteErrors      0
   +#2:
      +ModuleObjStats:
         -ObjectCount          7
         -ObjectsCreated       83
         -ObjectsDestroyed     76
      +ModuleCacheStats:
         -CacheEntryCount      0
         -CacheEntriesInserted 0
         -CacheEntriesRemoved  0
      +ModuleEnvStats:
         -SerialNumber         E2D5-E4DD-7C59
         -Uptime               17570
         -MemTotal             62169088
         -MemAllocKernel       577536
         -MemAllocUser         0
         -CurrentTempC         58.50
         -MaxTempC             58.50
         -MinTempC             57.00
      +ModuleJobStats:
         -CmdCount             12676
         -ReplyCount           12674
         -CmdBytes             273284
         -ReplyBytes           533932
         -JobsStarted          12676
         -JobsComplete         12675
         -RepliesQueued        12802
         -HostWriteCount       12044
         -HostWriteErrors      0
         -HostReadCount        25369
         -HostReadErrors       0
         -HostReadEmpty        0
         -HostReadDeferred     12599
         -HostReadTerminated   0
         -PFNIssued            7010
         -PFNRejected          0
         -PFNCompleted         7009
         -ANIssued             128
         -CPULoadPercent       0
      +ModulePCIStats:
         -HostIRQs             24819
         -HostReadCount        12773
         -HostReadDeferred     12601
         -HostReadReconnect    12600
         -HostReadErrors       0
         -HostReadPushedDMA    80
         -HostReadPushedPIO    12690
         -HostWriteCount       12046
         -HostWriteErrors      0
         -HostDebugIRQs        0
         -HostUnhandledIRQs    0
         -HostKernReadCount    0
         -HostKernReadDeferred 0
         -HostKernReadReconnect 0
         -HostKernReadErrors   0
         -HostKernReadPushedDMA 0
         -HostKernReadPushedPIO 0
         -HostKernWriteCount   0
         -HostKernWriteErrors  0
+RemoteServers
+RemoteServers:
   +#3:
      +ServerGlobals:
         -Uptime               557411
         -CmdCount             13499000
         -CmdBytes             1516570032
         -CmdMarshalErrors     0
         -ReplyCount           13499019
         -ReplyBytes           2836736908
         -ReplyMarshalErrors   0
         -ClientCount          12
         -MaxClients           34
         -DeviceFails          0
         -DeviceRestarts       0
         -CryptoClientCount    2
         -MaxCryptoClients     3
         -AuditDBFreeSpaceMB   11822
         -AuditDBUsedSpaceMB   0
      +HostEnvStats:
         -Uptime               557466
         -CPULoadPercent       0
         -MemAllocUser         1874176
         -MemAllocKernel       1874176
         -CurrentTempC         34.50
         -MinTempC             24.00
         -MaxTempC             41.50
         -CurrentTemp2C        34.00
         -MinTemp2C            24.50
         -MaxTemp2C            41.50
         -VoltageOn3p3VSupply  3.37
         -CurrentOn3p3VSupply  0.20
         -VoltageOn5VSupply    5.00
         -CurrentOn5VSupply    0.68
         -VoltageOn12VSupply   11.91
         -CurrentOn12VSupply   1.08
         -VoltageOn5VSBSupply  5.02
         -CurrentOn5VSBSupply  0.35
         -TamperBattery1       3.56
         -TamperBattery2       0.04
         -PSUFailure           0
         -CurrentFanRPM        6240
         -CurrentFan2RPM       6240
         -CurrentFan3RPM       6240
         -CurrentFan4RPM       6240
         -CurrentFan5RPM       0
         -CurrentFan6RPM       0
      +HostSysInfo:
         +SystemFans:
            +#1:
               -CurrentFanRPM        6240
            +#2:
               -CurrentFanRPM        6240
            +#3:
               -CurrentFanRPM        6240
            +#4:
               -CurrentFanRPM        6240
      +Connections:
         +#1:
            -Uptime               557411
            -CmdCount             0
            -CmdBytes             0
            -CmdMarshalErrors     0
            -ReplyCount           1713
            -ReplyBytes           47964
            -ReplyMarshalErrors   0
            -DevOutstanding       1
            -QOutstanding         0
            -LongOutstanding      0
            -RemoteIPAddr         (local)
            -ClientNumber         1
            -ClientProcessID      0
            -ClientProcessName
            -ObjectCountTotal     0
            +PerModule:
               +#1:
                  -ObjectCount          0
         +#5:
            -Uptime               557357
            -CmdCount             7
            -CmdBytes             536
            -CmdMarshalErrors     0
            -ReplyCount           7
            -ReplyBytes           748
            -ReplyMarshalErrors   0
            -DevOutstanding       0
            -QOutstanding         0
            -LongOutstanding      0
            -RemoteIPAddr         (local)
            -ClientNumber         5
            -ClientProcessID      726
            -ClientProcessName    /opt/nfast/sbin/config-update
            -ObjectCountTotal     0
            +PerModule:
               +#1:
                  -ObjectCount          0
      +PerModule:
         +#1:
            +ModuleObjStats:
               -ObjectCount          6
               -ObjectsCreated       211
               -ObjectsDestroyed     205
            +ModuleCacheStats:
               -CacheEntryCount      0
               -CacheEntriesInserted 0
               -CacheEntriesRemoved  0
            +ModuleEnvStats:
               -SerialNumber         4210-02E0-D947
               -Uptime               54491
               -CurrentTime          1713974041
               -MemTotal             2030891008
               -MemAllocKernel       473952256
               -MemAllocUser         0
               -TempSP               38.00
               -CurrentCPUTemp1      55.00
               -CurrentCPUTemp2      44.00
               -CPUVoltage1          1.00
               -CPUVoltage2          1.79
               -CPUVoltage3          0.99
               -CPUVoltage4          1.35
               -MaxTempC             55.00
               -MinTempC             36.00
               -AIS31PrelimAlarms    0
               -MceCount             0
               -SpiRetries           0
               -SpI2c1               0
               -SpI2c2               34
               -SpTempExcursion      0
               -SpVoltageExcursion   0
               -HostBusExceptions    0
               -CryptoBusExceptions  0
               -SpSensorCmdFails     0
               -NVMFreeSpace         273788928
               -NVMWearLevel         0.04
               -NVMWornBlocks        0.00
               -CurrentFanSpeed      4615
               -CurrentFanDuty       25
            +XCSecurityProcessorLog:
               +#4:
                  -XCSpLogEventID       5
                  -XCSpLogEventDate     1712803702
               +#3:
                  -XCSpLogEventID       18
                  -XCSpLogEventDate     1712803759
               +#2:
                  -XCSpLogEventID       18
                  -XCSpLogEventDate     1712803979
               +#1:
                  -XCSpLogEventID       18
                  -XCSpLogEventDate     1712804362
               +#0:
                  -XCSpLogEventID       18
                  -XCSpLogEventDate     1713416534
            +ModuleJobStats:
               -CmdCount             4643573
               -ReplyCount           2290447
               -CmdBytes             1668
               -ReplyBytes           5251
               -JobsStarted          55
               -JobsComplete         2353182
               -RepliesQueued        55
               -HostWriteCount       198489
               -HostWriteErrors      0
               -HostReadCount        397806
               -HostReadErrors       0
               -HostReadEmpty        0
               -HostReadDeferred     198705
               -HostReadTerminated   0
               -PFNIssued            21456
               -PFNRejected          0
               -PFNCompleted         21455
               -ANIssued             6
               -CPULoadPercent       2
            +ModulePCIStats:
               -HostIRQs             4643632
               -HostReadCount        2290449
               -HostReadDeferred     0
               -HostReadErrors       3
               -HostReadReconnect    0
               -HostWriteCount       2353184
               -HostWriteErrors      0
      +PerDevice:
         +#1:
            +ModuleDriverStats:
               -DriverIRQs           4643585
               -DriverReadIRQs       2290453
               -DriverWriteIRQs      2353185
               -DriverWriteFails     0
               -DriverWriteBlocks    2353185
               -DriverWriteBytes     1489286200
               -DriverReadFails      0
               -DriverReadBlocks     0
               -DriverReadBytes      0
               -DriverEnsureFail     1
               -DriverEnsure         2290451
            +ModuleServerStats:
               -JobsOutstanding      1
               -LongJobsOutstanding  0
               -CmdCount             13438883
               -ReplyCount           13438882
+PerDevice
+PerDevice:
   +#1:
      +ModuleDriverStats:
         -DriverIRQs           190493
         -DriverReadIRQs       96241
         -DriverWriteIRQs      94281
         -DriverWriteFails     0
         -DriverWriteBlocks    94281
         -DriverWriteBytes     3470424
         -DriverReadFails      0
         -DriverReadBlocks     0
         -DriverReadBytes      0
         -DriverEnsureFail     0
         -DriverEnsure         96236
      +ModuleServerStats:
         -JobsOutstanding      1
         -LongJobsOutstanding  0
         -CmdCount             12638
         -ReplyCount           12637
   +#2:
      +ModuleDriverStats:
         -DriverIRQs           193067
         -DriverReadIRQs       99010
         -DriverWriteIRQs      94580
         -DriverWriteFails     0
         -DriverWriteBlocks    94580
         -DriverWriteBytes     3043588
         -DriverReadFails      0
         -DriverReadBlocks     14
         -DriverReadBytes      114688
         -DriverEnsureFail     0
         -DriverEnsure         99011
      +ModuleServerStats:
         -JobsOutstanding      1
         -LongJobsOutstanding  0
         -CmdCount             12681
         -ReplyCount           12680

PerModule, ModuleObjStats, and ModuleEnvStats are <node> tags that identify classes of statistics for each hardwerver or HSM. 1 identifies an instance node.

ObjectCount, MemTotal, and the remaining items at the same level are pairs of <statistics-id>s and their values. Times are listed in seconds. Other numbers are integers, which are either real numbers, IP addresses, or counters. For example, a result -CmdCount 74897 means that there have been 74,897 commands submitted.

If you provide a <node> on the command line, stattree uses it as the starting point of the tree and displays only information at or below that <node> in the tree. Values for <node> can be numeric or textual.

$ stattree PerModule 3 ModuleObjStats
+#PerModule:
   +#3:
      +#ModuleObjStats:
         -ObjectCount          6
         -ObjectsCreated       334
         -ObjectsDestroyed     328

If you use a <statistics-id> instead of a <node> on the command line, you get an error message:

$ stattree PerModule 3 ModuleObjStats ObjectCount
+#PerModule:
   +#3:
      +#ModuleObjStats:
Unable to convert 'ObjectCount' to number or tag name.

Node tags

Connections

Statistics for connections between clients and the hardserver. There is one node for each currently active connection. Each node has an instance number that matches the log message generated by the server when that client connected. For example, when the hardserver message is Information: New client #24 connected, the client’s statistics appear under node #24 in the stattree output.

HostEnvStats

Only in network-attached HSMs
Environmental statistics for the HSM.

HostSysInfo

Only in network-attached HSMs
Further statistics for the HSM.

ModuleCacheStats

Statistics about cache entries.

ModuleEnvStats

General statistics for the HSM’s operating environment.

ModuleJobStats

This tag holds statistics for the Security World Software commands (jobs) processed by this HSM.

ModuleObjStats

Statistics for the HSM’s Object Store, which contains keys and other resources. These statistics may be useful in debugging applications that leak key handles, for example.

ModulePCIStats

This tag holds statistics for the PCI connection between the HSM and the host computer. It does not apply to nShield Edge HSMs.

ModuleSerialStats

This tag is for nShield Edge HSMs only. It holds statistics for the serial connection between the HSM and the host computer.

PerModule

Statistics kept by the HSMs. There is one instance node for each HSM, numbered using the standard HSM numbering. The statistics provided by each HSM depend on the HSM type and firmware version.

ServerGlobals

Aggregate statistics for all commands processed by the hardserver since it started.
The standard statistics apply to the commands sent from the hardserver to HSMs. Commands processed internally by the server are not included here.
The Uptime statistic gives the total running time of the server so far.

XCSecurityProcessorLog*

Lists Security Processor log events for XC HSMs.

Statistics IDs

AIS31PrelimAlarms

nShield 5 HSMs
The total number of AIS31 (RNG) preliminary alarms. Does not necessarily indicate RNG failure.

ANIssued

The number of Asynchronous Notification messages issued by the HSM to the hardserver. These messages indicate such things as the clear key being pressed and the HSM being reset. In later firmware revisions inserting or removing the smartcard or changing the non-volatile memory also generate asynchronous notifications.

AuditDBFreeSpaceMB

nShield 5 HSMs
The amount of free space available for the hardserver’s temporary audit database, rounded to nearest megabyte.

AuditDBUsedSpaceMB

nShield 5 HSMs
The amount of space consumed by the hardserver’s temporary audit database, rounded to the nearest megabyte.

CacheEntriesInserted

Total number of entries inserted into the cache.

CacheEntriesRemoved

Total number of entries removed from the cache.

CacheEntryCount

The number of entries in the cache.

ChanJobsCompleted

The number of fast channel jobs completed by the HSM. The fast channel facility is unsupported on current HSMs. This number should always be 0.

ChanJobErrors

The number of low-level (principally data transport) errors encountered while processing fast channel jobs. Should always be 0 on current HSMs.

ChanJobsIssued

The number of fast channel jobs issued to the HSM. The fast channel facility is unsupported on current HSMs. This number should always be 0.

ClientCount

The number of clients currently connected to the hardserver. This also includes internal client objects. Remote nCipher Secure Transport/Impath connections are represented both by the outer remote protocol and the nested nCore client payload, which results in ClientCount being incremented twice. See CryptoClientCount if you only want the number of licensed cryptographic client sessions currently in use.

ClientNumber

The integer identifier for this hardserver client. It increments for each new client created.

ClientProcessID

The process ID of the client application connected to the hardserver, or 0 if not applicable or not available for this client type.

ClientProcessName

The process name of the client, if available. Usually the executable path.

CmdBytes

The total length of all the command blocks sent for processing.

CmdCount

The total number of commands sent for processing from a client to the server, or from the server to an HSM. Contains the number of commands currently being processed.

CmdMarshalErrors

The number of times a command block was not understood when it was received. A nonzero value indicates either that the parties at each end of a connection have mismatched version numbers (for example, a more recent hardserver has sent a command to a less recent HSM that the HSM does not understand), or that the data transfer mechanism is faulty.

CPULoadPercent

PCIe HSMs
The current processing load on the HSM, represented as a number between 0 and 100. Because an HSM typically contains a number of different types of processing resources (for example, main CPU, and RSA acceleration), this figure is hard to interpret precisely. In general, HSMs report 100% CPU load when all RSA processing capacity is occupied; when performing non-RSA tasks the main CPU or another resource (such as the random number generator) can be saturated without this statistic reaching 100%.
Network-attached HSMs
The current utilization of the main CPU, across all cores.
If you are on a firmware version earlier than 13.1, this instead reports a load average that is scaled by 100, but could be greater than 100% if there is an average of more than one runnable thread.

CPUVoltage_N_

The current battery voltage for each voltage rail in the HSM.

Where N is the CPU number.

CryptoBusExceptions

PCI1 (Crypto) NPE (non-parity error) count.

CryptoClientCount

Only relevant when reported from a hardserver with remote clients
The number of licensable clients connected (active and parked sessions).

Use the CryptoClientCount value under stattree RemoteServers #MODULE_NUMBER ServerGlobals. This is the number of remote crypto clients for the specified HSM.

+RemoteServers:
   +#3:
      +ServerGlobals:
         <...>
         -CryptoClientCount    2

The value under stattree ServerGlobals is a count of remote crypto clients of the local hardserver. This value is typically 0, unless you share local PCIe or USB HSMs with another client hardserver.

Network-attached HSMs: If you have updated the client software to v13.6 or later but have not yet updated the nShield Connect or 5c image to v13.6 or later, then the only CryptoClientCount value reported by stattree will be the stattree ServerGlobals value for the local hardserver, which will not usually be relevant.

CurrentCPUTemp_N_

Temperature recorded by the CPU sensor, in degrees C.
Where N is the CPU number.

CurrentFanDuty

Fan duty cycle.

CurrentFanSpeed

The fan speed, in RPM, for each fan in the HSM.

CurrentFan_N_RPM

The fan speed, in RPM.
Where N is the fan number.

CurrentOn_X_Supply

The current on the power supply.
Where X is the power supply voltage.

CurrentTempC

The current temperature (in degrees Celsius) of the HSM main circuit board. First-generation HSMs do not have a temperature sensor and do not return temperature statistics.

CurrentTime

The current time, in seconds-since-the-1970-epoch (Unix time) format.

DeviceFails

The number of times the hardserver has declared a device to have failed. The hardserver provides a diagnostic message when this occurs.

DeviceRestarts

The number of times the hardserver has attempted to restart an HSM after it has failed. The hardserver provides a Notice message when this occurs. The message does not indicate that the attempt was successful.

DevOutstanding

The number of commands sent by the specified client that are currently executing on one or more HSMs. When an HSM accepts a command from a client, this number decreases by 1 and QOutstanding increases by 1. Commands that are processed purely by the server are never included in this count.

HostBusExceptions

nShield 5 HSMs
PCI0 (Host) NPE (non-parity error) and PE (parity error) count.

HostDebugIRQs

On PCI HSMs, the number of debug interrupts received. This is used only for driver testing, and should be 0 in any production environment.

HostIRQs

On PCI HSMs, the total number of interrupts received from the host. On current HSMs, approximately equal to the total of HostReadCount and HostWriteCount.

HostReadCount

The number of times a read operation to the HSM was attempted. The HSM can defer a read if it has no replies at the time, but expects some to be available later. Typically the HSM reports HostReadCount in two places: the number under ModuleJobStats counts a deferred read twice, once when it is initially deferred, and once when it finally returns some data. The number under ModulePCIStats counts this as one operation.

HostReadDeferred

The number of times a read operation to the HSM was suspended because it was waiting for more replies to become available. When the HSM is working at full capacity, a sizeable proportion of the total reads are likely to be deferred.

HostReadEmpty

The number of times a read from the HSM returned no data because there were no commands waiting for completion. In general, this only happens infrequently during HSM startup or reset. It can also happen if PauseForNotifications is disabled.

HostReadErrors

The number of times a read to an HSM failed because the parameters supplied with the read were incorrect. A nonzero value here typically indicates some problem with the host interface or device driver.

HostReadTerminated

The number of times an HSM had to cancel a read operation which has been deferred. This normally happens only if the clear key is pressed while the HSM is executing commands. Otherwise it might indicate a device driver, interface, or firmware problem.

HostReadUnderruns

Not currently reported by the HSM.

HostUnhandledIRQs

On PCI HSMs, the number of unidentified interrupts from the host. If this is nonzero, a driver or PCI bus problem is likely.

HostReadReconnect

On PCI HSMs, the number of deferred reads that have now completed. This should be the same as HostReadDeferred, or one less if a read is currently deferred.

HostWriteBadData

Not currently reported by the HSM.
Attempts to write bad data to the HSM are reflected in HostWriteErrors.

HostWriteCount

The number of write operations (used to submit new commands) that have been received by the HSM from the host machine. One write operation may contain more than one command block. The operation is most efficient when this is the case.

HostWriteErrors

The number of times the HSM rejected the write data from the host. A nonzero value may indicate that data is being corrupted in transfer, or that the hardserver/device driver has got out of sync with the HSM’s interface.

HostWriteNoMemory

Not currently reported by the HSM. Write failures due to a lack of memory are reflected in HostWriteErrors.

HostWriteOverruns

Not currently reported by the HSM. Write overruns are reflected in HostWriteErrors.

JobsComplete

The number of jobs completed in the HSM.
This value includes all jobs on the module, including jobs from the SEE machine.

JobsOutstanding

The number of jobs that are currently in progress on the HSM.
This value includes all jobs on the module, including jobs from the SEE machine.

JobsStarted

The number of jobs started in the HSM.
This value includes all jobs on the module, including jobs from the SEE machine.

LongJobsOutstanding

The number of long jobs that are currently in progress on the HSM.
This value includes all jobs on the module, including jobs from the SEE machine.

LongOutstanding

The number of LongJobs sent by the specified client that are currently executing on one or more HSMs. When an HSM accepts a LongJobs command from a client, this number increases by 1 and QOutstanding decreases by 1. Commands that are processed purely by the server are never included in this count.

MaxClients

The maximum number of client connections ever in use simultaneously to the hardserver.
This gives an indication of the peak load experienced so far by the server.

MaxCryptoClients

Only in network-attached HSMs
The maximum number of client connections permitted by license.

MaxTempC

The maximum temperature recorded by the HSM’s temperature sensor. This is stored in non-volatile memory, which is cleared only when the HSM is initialized. First-generation HSMs do not have a temperature sensor and do not return temperature statistics.

MCECount

The number of machine check exceptions (MCEs).
This is the total of RAM ECC error counts in /sys/devices/system/edac/mc/mc0/ce_count and /sys/devices/system/edac/mc/mc0/ue_count.

MemAllocKernel

PCIe HSMs
not supported
Connect network-attached HSMs
The total amount of RAM allocated for kernel (that is, non-SEE) use in an HSM. This is principally used for the object store (keys, logical tokens, and similar) and for big-number buffers.
nShield 5c and later network-attached HSMs
Obsolete, retained only for backwards compatibility. Shows the same value as MemTotal.

MemAllocUser

PCIe HSMs
not supported
Connect network-attached HSMs
The total amount of RAM allocated for user-mode processes in the HSM (0 for non-SEE use). This includes the size of the SEE Machine image, and the total heap space available to it.
nShield 5c and later network-attached HSMs
Obsolete, retained only for backwards compatibility. Shows the same value as MemTotal.

MemTotal

The total amount of RAM (both allocated and free) available to the HSM. This is the installed RAM size minus various fixed overheads.

MinTempC

The minimum temperature recorded by the HSM’s temperature sensor. This is stored in non-volatile memory, which is cleared only when the HSM is initialized. First-generation HSMs do not have a temperature sensor and do not return temperature statistics.

NVMFreeSpace

The total amount of free space in the NVRAM of the HSM, in bytes.

NVMWearLevel

The wear level of the HSM’s NVRAM, expressed as a percentage of the ratio between the erase count and the endurance.

NVMWornBlocks

The percentage of worn blocks in the NVRAM of the HSM.

ObjectsCreated

The number of times a new object has been put into the object store. This appears under the HSM’s ModuleObjStats node.

ObjectsDestroyed

The number of items in the HSM’s object store that have been deleted and their corresponding memory released.

ObjectCount

The current number of objects (keys, logical tokens, buffers, SEE Worlds) in the object store. This is equal to ObjectsCreated minus ObjectsDestroyed. An empty HSM contains a small number of objects that are always present.

ObjectCountTotal

The number of objects loaded by this hardserver client across all modules. This is the sum of all the nested ObjectCount values.

PFNCompleted

The number of PauseForNotifications commands that have been completed by the HSM. Normally, this is one less than the PFNIssued figure because there is normally one such command outstanding.

PFNIssued

The number of PauseForNotifications commands accepted by the HSM from the hardserver. This normally increases at a rate of roughly one every two seconds. If the hardserver has this facility disabled (or a very early version), this does not occur.

PFNRejected

The number of PauseForNotifications commands rejected by the HSM when received from the hardserver. This can happen during HSM startup or reset, but not in normal use. It indicates a hardserver bug or configuration problem.

PSUFailure

The number of power supply unit (PSU) failures.

QOutstanding

The number of commands waiting for an HSM to become available on the specified client connection. When an HSM accepts a command from a client, this number decreases by 1 and DevOutstanding increases by 1. Commands that are processed purely by the server are never included in this count.

RemoteIPAddr

The remote IP address of a client who has this connection. A local client has the address 0.0.0.0.

RepliesQueued

The number of replies and notifications added to the output queue, waiting to be sent.

ReplyCount

The total number of replies returned from server to client, or from HSM to server.

ReplyBytes

The total length of all the reply blocks received after completion.

ReplyMarshalErrors

The number of times a reply was not understood when it was received. A nonzero value indicates either that the parties at each end of a connection have mismatched version numbers (for example, a more recent hardserver has sent a command to a less recent HSM that the HSM does not understand), or that the data transfer mechanism is faulty.

SPVoltageExcursion

The number of voltage excursions (sudden changes in voltage level).

SerialNumber

The unique serial number (ESN) of the HSM.

SpI2c1 and SpI2c2

The Security Processor total and secondary I2c errors.

SpSensorCmdFails

The number of SPI bus synchronization errors.

SpTempExcursion

The number of temperature excursions (sudden changes in temperature level).

SpiRetries

The number of times the T1022 SPI code has passed through an error path.

SystemFans

The fan speed (RPM) for each fan in the HSM.

TamperBattery1 and TamperBattery2

Network-attached HSMs
The voltage of the batteries in the fan tray.
When the unit has mains power, the readings will be slightly over 3.6v. If a voltage less than 3.5 is reported for a batttery, that battery has very little remaining capacity.

TempSP

The temperature of the Security Processor, in degrees C.

Uptime

The length of time (in seconds) since an HSM was last reset, the hardserver was started, or a client connection was made.

VoltageOn_X_Supply

The actual voltage on the power supply.
Where X is the power supply voltage.

XCSplogEventDate

The date the log event was created.

XCSplogEventID

The ID of the log event.

ModuleDriverStats fields

DriverIRQs

Total number of interrupts

DriverReadIRQs

Read interrupts

DriverWriteIRQs

Write interrupts

DriverWriteFails

Write failures

DriverWriteBlocks

Blocks written

DriverWriteBytes

Bytes written

DriverReadFails

Read failures

DriverReadBlocks

Blocks read

DriverReadBytes

Bytes read

DriverEnsureFail

Read request failures

DriverEnsure

Read requests