[Ilugc] [Tip] Who and What is doing What on Your System

  • From: jemenisuresh@xxxxxxxxx (Tha.Suresh)
  • Date: Thu Aug 5 23:25:32 2010

Who and What is doing What on Your System - finding open sockets, files etc.

? ? ? $ lsof
? ? ? ? ?or as root
? ? ? $ watch lsof -i

? ? To list all open Internet files, use:

? ? ? $ lsof -i -U

? ? You can also get very specific about ports. Do this as root for low
? ? ports.

? ? ? $ lsof -i TCP:3306

? ? Or, look at UDP ports as follows:

? ? ? $ lsof -i UDP:1812



-- 
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com

Other related posts:

  • » [Ilugc] [Tip] Who and What is doing What on Your System - Tha.Suresh