.. _cli-confluent-top: ============= confluent top ============= Description ----------- View service resource usage. Usage ----- .. sourcecode:: bash confluent top [] .. tip:: For usage information, enter ``confluent help top``. Options ------- None. Positional arguments -------------------- =============== ============ ======================================================== Name, shorthand Default Description =============== ============ ======================================================== ```` The service name. | **Tip:** You can view the available services with the :ref:`cli-confluent-list` command. =============== ============ ======================================================== Example ------- Run this command to view the ZooKeeper runtime statistics: .. sourcecode:: bash confluent top zookeeper Your output should resemble: .. sourcecode:: 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