notes

a
ansible 4
b
bash 12 battery 1 benchmark 4 bluetooth 1
c
camera 2 centos 4 chrome 1 codecs 1 cpu 7 curl 2 cycling 2
d
debian 1 debug 22 dell 2 disk 1 django 2 dnf 7 dns 3 dnsmasq 2
e
encoding 1 epiphany 1
f
fedora 15 fedora31 1 fedora33 2 fedora40 1 filesystem 2 firefox 2 firewalld 2 flatpak 1 font 1 fresh-system 5
g
git 5 gnome 2 gpu 2 grub 1
h
headphones 1 hetzner 1 hp 1 hunt 1 husky 1
i
intel 1 io 1
j
journalctl 1
k
kernel 1 keyboard 1 komodo 1
l
laptop 1 linux 118 logitech 2 lxd 9
m
mitmproxy 2 monitor 3
n
network 10 nmcli 3 nofile 3
o
openssl 1
p
plot 3 podman 2 postgresql 2 printer 1 proxy 1 python 3
r
rhel 1 rocky-linux 1 rose 1 rpm 1 rygel 1
s
selenium 1 selinux 1 snap 1 socat 1 sound 1 ssd 1 ssh 3 ssl 3 sumologic 1 sysbench 4 sysctl 1 system 3 systemd 3
t
tar 1 tcpdump 1 touchpad 1
u
udev 1 ulimit 2 usb 1
v
varnish 1
w
wifi 1 wireshark 2
x
x11 1
y
youtube 3

monitor/

Monitor thread count

watch -n 0.5 "ps -eLf | grep traffic_server | wc -l"
linux debug monitor | 15 Jan 2021

Monitor process with top

One liner to monitor a process with the name /wshub:

top -p "$(pgrep -f /wshub)"
linux debug monitor | 1 Jan 2020

Monitor cpu and memory usage of the process

Print every second cpu and memory usage of the process:

watch -n 1 "ps -eo pid,pcpu,pmem,args | kazy -i xnotitle -e kazy"
linux debug monitor cpu | 1 Jan 2020