.. _confluent_local_top: =================== confluent local top =================== Description ----------- View service resource usage. .. include:: ../../../includes/cli.rst :start-after: cli_limitations_start :end-before: cli_limitations_end :: confluent local top -- [] --path .. include:: ../../../includes/confluent-local-consume-limit.rst Flags ----- .. include:: ../../../includes/path-set-cli.rst =================================== ========================================================== Name, shorthand Description =================================== ========================================================== ``--path `` Path to |cp| install directory. ``-h, --help`` Print command information. =================================== ========================================================== Positional arguments -------------------- =============== ============ ======================================================== Name, shorthand Default Description =============== ============ ======================================================== ```` The service name. | **Tip:** You can view the available services with the :ref:`confluent_local_list` command. =============== ============ ======================================================== Examples -------- Run this command to view the |zk| runtime statistics: .. codewithvars:: bash confluent local top zookeeper Your output should resemble: .. codewithvars:: bash Processes: 348 total, 4 running, 344 sleeping, 1715 threads 16:22:36 Load Avg: 5.10, 3.52, 2.90 CPU usage: 52.6% user, 14.84% sys, 33.9% idle SharedLibs: 172M resident, 55M data, 20M linkedit. MemRegions: 60350 total, 5039M resident, 185M private, 2482M shared. PhysMem: 13G used (2687M wired), 3027M unused. VM: 2048G vsize, 1088M framework vsize, 141871(0) swapins, 199786(0) swapouts. Networks: packets: 2002220/1450M in, 1342794/303M out. Disks: 580023/14G read, 1034993/27G written. PID COMMAND %CPU TIME #TH #WQ #POR MEM PURG CMPR PGRP PPID STATE BOOSTS %CPU_ME %CPU_OTHRS 21532 java 0.0 00:04.97 30 1 99 70M 0B 0B 21516 1 sleeping *0[1] 0.00000 0.00000