health show
or
show health
Show the current state of the specified performance counters.
Example:
{
"ngfw-health:health": {
"probes": {
"cpu-cores-usage": [
{
"core-usage": "1.0",
"core-id": 0
},
{
"core-usage": "2.0",
"core-id": 1
},
{
"core-usage": "0.88",
"core-id": 2
},
{
"core-usage": "1.09",
"core-id": 3
},
{
"core-usage": "1.04",
"core-id": 4
},
{
"core-usage": "1.02",
"core-id": 5
},
{
"core-usage": "1.03",
"core-id": 6
},
{
"core-usage": "1.07",
"core-id": 7
}
],
"memory-usage": {
"total-ram": "7949",
"free-ram": "971",
"mem-available": "1922",
"used-ram": "6027",
"free-ram-pct": "24.000000",
"total-swap": "0",
"free-swap": "0",
"free-swap-pct": "0.000000"
},
"thread-usage": [
{
"pid": "15283",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "431",
"thread-name": "/usr/bin/vpp",
"ucpu": "499.000000",
"scpu": "1.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "433",
"thread-name": "(vpp)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "435",
"thread-name": "(vpp)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "441",
"thread-name": "(vpp)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "442",
"thread-name": "(eal-intr-thread)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "445",
"thread-name": "(vpp_wk_0)",
"ucpu": "100.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "446",
"thread-name": "(vpp_wk_1)",
"ucpu": "99.000000",
"scpu": "1.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "447",
"thread-name": "(vpp_wk_2)",
"ucpu": "99.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "448",
"thread-name": "(vpp_wk_3)",
"ucpu": "100.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "449",
"thread-name": "(vpp_wk_4)",
"ucpu": "99.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "483",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "484",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "497",
"thread-name": "(PdkCefLogger)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "498",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "499",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "500",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "520",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "521",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "522",
"thread-name": "(AvCacheCleaner)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "523",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "524",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "532",
"thread-name": "(WcStoreCleaner)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "533",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "534",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "535",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
},
{
"pid": "555",
"thread-name": "(vpp_main)",
"ucpu": "0.000000",
"scpu": "0.000000",
"virt": "89055",
"res": "1831"
}
],
"disk-usage": [
{
"fsname": "dev",
"mnt-dir": "/dev",
"fs-type": "devtmpfs",
"capacity": "3708",
"available": "3708",
"free": "3708",
"free-pct": "100.000000"
},
{
"fsname": "run",
"mnt-dir": "/run",
"fs-type": "tmpfs",
"capacity": "3974",
"available": "3974",
"free": "3974",
"free-pct": "99.000000"
},
{
"fsname": "/dev/vda2",
"mnt-dir": "/",
"fs-type": "ext4",
"capacity": "40013",
"available": "23125",
"free": "23141",
"free-pct": "57.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/dev/shm",
"fs-type": "tmpfs",
"capacity": "3974",
"available": "3973",
"free": "3973",
"free-pct": "99.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/tmp",
"fs-type": "tmpfs",
"capacity": "3974",
"available": "3974",
"free": "3974",
"free-pct": "99.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-journald.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-network-generator.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-sysctl.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-udev-load-credentials.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-tmpfiles-setup-dev-early.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-tmpfiles-setup-dev.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-tmpfiles-setup.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-vconsole-setup.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-networkd.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/systemd-resolved.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/serial-getty@ttyS0.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
},
{
"fsname": "tmpfs",
"mnt-dir": "/run/credentials/getty@tty1.service",
"fs-type": "tmpfs",
"capacity": "1",
"available": "1",
"free": "1",
"free-pct": "100.000000"
}
],
"dpdk-usage": [
{
"interface": "Ge2",
"drops": "180"
},
{
"interface": "Ge3",
"drops": "833"
},
{
"interface": "Total",
"drops": "1013"
}
]
}
}
}