SVC Status

Overview

The svcstatus is a lightweight binary program that allows users to directly inspect the status of the N2SVCD shared memory from the command line; in situations where a user may not have access to the management GUI via a browser or the svcmanage tools; svcstatus can be used to directly read the application status from the N2SVCD SHM. The default installation location for this binary is /usr/share/n2svcd/bin/n2svcd.

Running svcstatus --help will show the program usage.

usage: svcstatus

    # Set the SHM path location.
    --shm-path <path in /dev/shm>   Default = '/n2svcd'

    --help                          Show this usage information.

Usage Example

./svcstatus

[00-      LOADED] (30066)             Watchdog  0/131072 (1612+56402)  0/1048576 (132684+0)
[01-      LOADED] (30067)               Manage  0/1048576 (1181260+143958)  0/1048576 (2229836+0)
[02-      LOADED] (30068)          SOAP-SERVER  0/131072 (3278412+68376)  0/1048576 (3409484+0)
[03-      LOADED] (30069)          REST-CLIENT  0/131072 (4458060+64034)  0/1048576 (4589132+0)
[04-   AVAILABLE] (30070)        DB-N2QD-MONGO  0/131072 (5637708+64652)  0/1048576 (5768780+0)
[05-   AVAILABLE] (30071)          DIAMETER-01  0/131072 (6817356+64651)  0/8388608 (6948428+0)
[06-   AVAILABLE] (30072)          DIAMETER-02  0/131072 (15337036+64034)  0/8388608 (15468108+0)
[07-      LOADED] (30073)                Logic  0/131072 (23856716+62180)  0/1048576 (23987788+0)

Common Options

Option Type Description
--shm-path String The SHM path suffix that is used by N2SVCD instance to query. This must start with a forward slash (/) and must match the value given at N2SVCD startup, if any.
(Default /n2svcd, giving /dev/shm/n2svcd)