12.03.2025 Flashcards
(5 cards)
netstat -tulpn?
netstat - command line tool for network connections and routing tables
-t = shows tcp connections
-u = shows udp connections
-l = shows listening sockets
-n = shows the and numerical addresses and port number
-p = shows the PID (processes ID)
ps -aef
-a = shows processes for all users
-e = shows every processes
-f = shows in full format
Best for parent child process relationships
ps aux
-a = shows processes for all users
-u = shows user oriented format (like CPU%, memory usage)
-x = shows all processes including the background ones
Best for finding resource heavy process and all processes including daemon
How to load a module manually ?
sudo modprobe gtp5g
How to remove a module ?
sudo rmmod gtp5g