Some helpful commands to know your running process
1) netstat -an —-> this will show you which applications are listening on which ports - this is one way to tell if you’re web/db server is up and runnning
2) locate —–> locate searches the file system for the file name you give it (well actually it searches a database of the filesystem, but that’s just splitting hairs)
3) ps -aux —-> This command shows you ALL the processes running on the system ( the ‘| grep http’ bit searches through the output of ps -aux and filters it based on the arg to grep - in this case the string ‘http’)
4) netstat -ln ——> Lists network ports that are in the LIsten state.
5) netstat -lnp —–> Lists network ports along with programs( Active Internet Connections)
This entry was posted on Saturday, July 31st, 2004 at 11:21 am and is filed under gnu/linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


