Viewing the REST API Container Status
Use the
show virtual-service detail
command to view the REST API container status.
The following example shows the enabled status of the REST API container, along with the detailed guest
status with a list of processes, status showing when these processes are up and running, and the number of
restarts:
Router#
show virtual-service detail
Virtual service csr_mgmt detail
State
: Activated
Package information
Name
: csrmgmt.1_2_1.20131010_134115.ova
Path
: bootflash:/csrmgmt.1_2_1.20131010_134115.ova
Application
Name
: csr_mgmt
Installed version : 1.2.1
Description
: CSR-MGMT
Signing
Key type
: Cisco development key
Method
: SHA-1
Licensing
Name
: Not Available
Version
: Not Available
Detailed guest status
----------------------------------------------------------------------
Process
Status
Uptime
# of restarts
----------------------------------------------------------------------
nginx
UP
0Y 0W 0D
0: 1: 1
0
climgr
UP
0Y 0W 0D
0: 1: 1
0
restful_api
UP
0Y 0W 0D
0: 1: 1
0
fcgicpa
UP
0Y 0W 0D
0: 0:13
0
pnscag
UP
0Y 0W 0D
0: 0:13
0
pnscdme
UP
0Y 0W 0D
0: 0:12
0
----------------------------------------------------------------------
Feature
Status
Configuration
----------------------------------------------------------------------
Restful API
Enabled, UP
port: 443
(GET only)
auto-save-timer: 8 seconds
socket: unix:/usr/local/nginx/csrapi-fcgi.sock;
PNSC
Enabled, UP
host: 172.25.223.233
port:
8443
socket: unix:/usr/local/cpa-fcgi.sock;
Network stats:
eth0: RX
packets:38, TX
packets:6
eth1: RX
packets:87, TX
packets:80
Coredump file(s):
Activated profile name: None
Resource reservation
Disk
: 540 MB
Memory
: 512 MB
CPU
: 30% system CPU
Attached devices
Type
Name
Alias
---------------------------------------------
Serial/Trace
serial3
Serial/Syslog
serial2
Serial/aux
serial1
Serial/shell
serial0
Disk
/opt/var
Disk
_rootfs
NIC
dp_2_0
net2
NIC
ieobc_2
ieobc
Network interfaces
MAC address
Attached to interface
------------------------------------------------------
00:1E:BD:DE:F8:BA
VirtualPortGroup0
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
287
Enabling Management by REST API
Viewing the REST API Container Status