Skip to content
/ topz Public

topz is a simple utility to expose top command as web interface

Notifications You must be signed in to change notification settings

bsctl/topz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

topz

A simple utility to expose top command as web interface.

Create a pod from the manifest

kubectl apply -f mysql-pod-topz.yaml

Once the sidecar is running, check the pod IP address and visit http://<pod_ip_addr>:1080/topz to get a complete readout of the processes that are running in the mysql pod and their resource usage

$ curl 172.17.0.10:1080/topz
PID CPU % Memory %      Command
1   0     0.00020143502 /pause
7   0     0.12791124    /bin/bash /usr/local/bin/docker-entrypoint.sh mysqld
78  0     0.22520435    /usr/bin/topz
171 0     0.032833908   sleep 1

Credits to https://github.com/brendandburns/topz

About

topz is a simple utility to expose top command as web interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published