Linux troubleshooting: Self Learning

netstat -an | grep 12345 - to view ports which are already running | we can view process on a particular port

netstat -putan | grep 12345 - to view number of connections on port 12345

netstat -r - view route table

netstat -i - gives interfaces

netstat -s - gives statistics

_____________

ps -ef - gives all process ids with user info

kill processid

kill -9 123 (-9 forcefully kill)