"Fossies" - the Fresh Open Source Software Archive

Member "osquery-4.3.0/specs/posix/docker_container_stats.table" (14 Apr 2020, 1958 Bytes) of package /linux/misc/osquery-4.3.0.tar.gz:

As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "docker_container_stats.table": 4.0.2_vs_4.2.0.

    1 table_name("docker_container_stats")
    2 description("Docker container statistics. Queries on this table take at least one second.")
    3 schema([
    4     Column("id", TEXT, "Container ID", index=True, required=True),
    5     Column("name", TEXT, "Container name", index=True),
    6     Column("pids", INTEGER, "Number of processes"),
    7     Column("read", BIGINT, "UNIX time when stats were read"),
    8     Column("preread", BIGINT, "UNIX time when stats were last read"),
    9     Column("interval", BIGINT, "Difference between read and preread in nano-seconds"),
   10     Column("disk_read", BIGINT, "Total disk read bytes"),
   11     Column("disk_write", BIGINT, "Total disk write bytes"),
   12     Column("num_procs", INTEGER, "Number of processors"),
   13     Column("cpu_total_usage", BIGINT, "Total CPU usage"),
   14     Column("cpu_kernelmode_usage", BIGINT, "CPU kernel mode usage"),
   15     Column("cpu_usermode_usage", BIGINT, "CPU user mode usage"),
   16     Column("system_cpu_usage", BIGINT, "CPU system usage"),
   17     Column("online_cpus", INTEGER, "Online CPUs"),
   18     Column("pre_cpu_total_usage", BIGINT, "Last read total CPU usage"),
   19     Column("pre_cpu_kernelmode_usage", BIGINT, "Last read CPU kernel mode usage"),
   20     Column("pre_cpu_usermode_usage", BIGINT, "Last read CPU user mode usage"),
   21     Column("pre_system_cpu_usage", BIGINT, "Last read CPU system usage"),
   22     Column("pre_online_cpus", INTEGER, "Last read online CPUs"),
   23     Column("memory_usage", BIGINT, "Memory usage"),
   24     Column("memory_max_usage", BIGINT, "Memory maximum usage"),
   25     Column("memory_limit", BIGINT, "Memory limit"),
   26     Column("network_rx_bytes", BIGINT, "Total network bytes read"),
   27     Column("network_tx_bytes", BIGINT, "Total network bytes transmitted")
   28 ])
   29 implementation("applications/docker@genContainerStats")
   30 examples([
   31   "select * from docker_container_stats where id = 'de8cfdc74c850967'",
   32   "select * from docker_container_stats where id = 'de8cfdc74c850967fd3832e128f4d12e2d5476a4aea282734bfb7e57f66fce2f'"
   33 ])