ON THIS PAGE
Monitor NFX150 Device Health
You can monitor the health of an NFX150 device by using the following commands:
Command |
Description |
---|---|
|
Displays status of the host CPU, interfaces, and port statistics. |
|
Displays the status of the JDM container. |
|
Displays the CPU usage and allocation information. |
|
Displays details of memory allocation and hugepages. |
|
Displays the current operating mode, and CPU and memory allocations for the mode. |
|
Displays the status of the FPCs. |
|
Displays the details, such as CPU DRAM, uptime, for each FPC. |
|
Displays the errors for the FPC components. |
Sample Output—show system visibility host
root@host> show system visibility host Host Uptime ----------- Uptime: 4 days 5:36:09.17000 Host Tasks ---------- Total: 185 Running: 2 Sleeping: 180 Stopped: 0 Zombie: 3 Host CPU Information (Time in sec) ---------------------------------- User Time: 114556 System Time: 74061 Idle Time: 1196820 I/O Wait Time: 596 Nice Time: 0 Interrupt Service Time: 0 Host Disk Partitions ---------------------------------------------------------------------------------------------------------- Device Mount Point File System Options ------------- -------------------------------------------- ----------- ---------------------------------- /dev/sda1 /boot/efi vfat rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro /dev/sda7 /config ext4 rw,noatime,data=ordered /dev/sda8 /var/log ext4 rw,noatime,data=ordered /dev/sda9 /mnt/.share ext4 rw,noatime,discard,data=ordered /dev/loop1 /var/tmp ext4 rw,relatime,data=ordered Host Disk Usage Information --------------------------- Total (MiB): 189 Used (MiB): 30 Free (MiB): 145 Percentage Used: 16.1 Host Disk I/O Information ------------------------- Read Count: 293751 Write Count: 914147 Read Bytes: 3777713664 Write Bytes: 12500229120 Read Time: 59732 Write Time: 1150226 Host Interfaces ---------------------------------------------- Interface State MAC ------------------ --------- ----------------- heth-0-1 inactive 00:00:5e:00:53:89 heth-0-0 inactive 00:00:5e:00:53:88 heth-0-3 inactive 00:00:5e:00:53:8b heth-0-2 inactive 00:00:5e:00:53:8a heth-0-5 inactive 00:00:5e:00:53:8d heth-0-4 active 00:00:5e:00:53:8c ctrlbr0 active 00:00:5e:00:53:10 docker0 inactive 00:00:5e:00:53:3d eth0br active 00:00:5e:00:53:00 l3_h_ge_1_0_0 active 00:00:5e:00:53:68 lo inactive 00:00:5e:00:53:00 ovs-sys-br inactive 00:00:5e:00:53:4f ovs-system inactive 00:00:5e:00:53:6c sit0 inactive 00:00:00:00 veth00 active 00:00:5e:00:53:b9 veth01 active 00:00:5e:00:53:cc veth10 active 00:00:5e:00:53:27 veth11 active 00:00:5e:00:53:4b virbr0 active 00:00:5e:00:53:83 virbr1 active 00:00:5e:00:53:41 Host Port Statistics ----------------------------------------------------------------------------------------------------- Interface Bytes Sent Bytes Rcvd Packets Sent Packets Rcvd Errors In Errors Out Drops In Drops Out --------- ------------ ------------ ------------ ------------ --------- ---------- -------- --------- l3_h_ge_1_0_0 0 9281595 0 175121 0 0 0 0 veth10 0 908 0 14 0 0 0 0 veth11 908 0 14 0 0 0 0 0 ovs-system 0 0 0 0 0 0 0 0 ovs-sys-br 0 0 0 0 0 0 6 0 vnet0 113734993 40060637 492686 444304 0 0 0 0 vnet1 1746218019 1666641076 19129819 22429555 0 0 0 0 vnet2 5760102921 231049019 37804203 1495998 0 0 0 35688791 vnet3 9525642 13090 183190 305 0 0 0 0 vnet4 564779 4916 10838 57 0 0 0 0 vnet5 1113225127 4920163 8061220 30370 0 0 0 328 eth0 237823455 9779714118 1543719 74854926 0 0 13177 0 lo 3163525 3163525 56215 56215 0 0 0 0 virbr0-nic 0 0 0 0 0 0 0 0 irb 0 0 0 0 0 0 0 0 docker0 0 0 0 0 0 0 0 0 veth01 908 0 14 0 0 0 0 0 veth00 0 908 0 14 0 0 0 0 dcapi-tap 0 0 0 0 0 0 0 0 sit0 0 0 0 0 0 0 0 0 flowd_h_mgmt 775774835 715134308 10087893 8985215 0 0 0 0 virbr1 110674581 32411759 466777 429883 0 0 0 0 virbr0 341638 633559 3351 3732 0 0 0 0 jdm-hbme1 9725715 544247 185105 2276 0 0 0 0 jdm-hbme2 1682446 3061900 15650 25937 0 0 0 0 eth0br 0 1175685054 0 17912122 0 0 0 0 ctrlbr0 1028692265 718118709 10108369 12342918 0 0 0 0 heth-0-1 0 0 0 0 0 0 0 0 heth-0-0 0 0 0 0 0 0 0 0 heth-0-3 0 0 0 0 0 0 0 0 heth-0-2 0 0 0 0 0 0 0 0 heth-0-5 0 0 0 0 0 0 0 0 heth-0-4 0 9762 0 110 0 0 0 0
Sample Output—show system visibility jdm
root@host> show system visibility jdm JDM CPU Statistics (Time in sec) ----------------------------- User Time: 114569 System Time: 74066 Idle Time: 1196860 I/O Wait Time: 596 Nice Time: 0 Interrupt Service Time: 0 JDM Disk Usage Information -------------------------- Total (MiB): 15829 Used (MiB): 4882 Free (MiB): 10121 Percentage Used: 30.8 JDM Disk I/O Information ------------------------ Read Count: 293759 Write Count: 914196 Read Bytes: 3777840640 Write Bytes: 12500643840 Read Time: 59733 Write Time: 1150254 JDM Memory Usage ------------------- Maximum Memory (KiB): 1048576 Used Memory (KiB): 118096 JDM Uptime ---------- Uptime: 4 days 5:35:2 JDM Tasks --------- Total: 11 Running: 1 Sleeping: 9 Stopped: 0 Zombie: 1 JDM Internal IP Addresses ------------------------- Interface: bme1 Address : 192.0.2.254 Interface: bme2 Address : 192.168.1.254
Sample Output—show system visibility cpu
root@host> show system visibility cpu | no-more CPU Statistics (Time in sec) ------------------------------------------------------------------------------- CPU Id User Time System Time Idle Time Nice Time IOWait Time Intr. Service Time ------ --------- ----------- --------- --------- ----------- ------------------ 0 51370 54035 236329 0 128 0 1 55214 18066 243032 0 0 0 2 3864 1223 357665 0 214 0 3 3985 688 359420 0 253 0 CPU Usages ---------------- CPU Id CPU Usage ------ --------- 0 100.0 1 27.600000000000001 2 0.0 3 2.0 CPU Pinning Information ------------------------------------ Virtual Machine vCPU CPU --------------------------- ---- --- testagent 0 2 testagent 1 3 vjunos0 0 0 System Component CPUs ------------------------------- -------- ovs-vswitchd 0 riot 0, 1 srxpfe 0, 1 jdm 0
Sample Output—show system visibility memory
root@host> show system visibility memory | no-more Memory Information ------------------ Virtual Memory: --------------- Total (KiB): 7949028 Used (KiB): 7555808 Available (KiB): 1177716 Free (KiB): 393220 Percent Used : 85.2 Huge Pages: ------------ Total 1GiB Huge Pages: 2 Free 1GiB Huge Pages: 1 Configured 1GiB Huge Pages: 1 Total 2MiB Huge Pages: 529 Free 2MiB Huge Pages: 1 Configured 2MiB Huge Pages: 0 Hugepages Usage: ---------------------------------------------------------------------------------------------------------- Name Type Used 1G Hugepages Used 2M Hugepages --------------------------------- ---------------------------------- ------------------ ------------------ srxpfe other process 1 400 riot other process 0 128
Sample Output—show vmhost mode
This sample output shows the details for a device operating in compute mode. For information on the supported modes, see Performance Modes
root@host> show vmhost mode | no-more Mode: -------- Current Mode: compute CPU Allocations: Name Configured Used ---------------------------------------------------------------------------------------------------------------------- Junos Control Plane 0 0,2 Juniper Device Manager 0 0 LTE 0 - NFV Backplane Control Path 0 0 NFV Backplane Data Path - - Layer 2 Control Path 0 0 Layer 2 Data Path 1 0,1 Layer 3 Control Path 0 0 Layer 3 Data Path 1 1 CPUs available for VNFs 2,3 2,3 CPUs turned off - - Memory Allocations: Name Configured Used ---------------------------------------------------------------------------------------------------------------------- Junos Control Plane (mB) 2048 1995 NFV Backplane 1G hugepages - 0 NFV Backplane 2M hugepages - 0 Layer 2 1G hugepages - 0 Layer 2 2M hugepages 128 128 Layer 3 1G hugepages 1 1 Layer 3 2M hugepages 401 400
Sample Output—show chassis fpc pic-status
root@host> show chassis fpc pic-status 1 Slot 1 Online FPC PIC 0 Online VSRX DPDK GE
root@host> show chassis fpc pic-status 0 Slot 0 Online Virtual FPC PIC 0 Online Virtual
Sample Output—show chassis fpc detail
root@porter3c-p1b-ft-04> show chassis fpc detail Slot 0 information: State Online Total CPU DRAM 256 MB Total SRAM 0 MB Total SDRAM 0 MB Start time 2011-07-26 00:23:36 UTC Uptime 1 hour, 43 minutes, 47 seconds Slot 1 information: State Online Total CPU DRAM 800 MB Total SRAM 0 MB Total SDRAM 0 MB Start time 2011-07-26 00:26:16 UTC Uptime 1 hour, 41 minutes, 7 seconds
Sample Output—show chassis fpc errors
root@host> show chassis fpc errors FPC Scope Category Level Occurred Cleared Threshold Action-Taken Action 0 board functional Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 memory Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 io Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 storage Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 switch Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 processing Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 internal Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 pfe functional Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 memory Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 io Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 storage Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 switch Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 processing Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 internal Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 1 board functional Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 memory Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 io Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 storage Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 switch Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 processing Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 internal Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 pfe functional Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 memory Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 io Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 storage Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 switch Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 processing Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0 internal Minor 0 0 0 0 Major 0 0 0 0 Fatal 0 0 0 0