Differences

This shows you the differences between two versions of the page.

blog:linux:simple_scripts [2007/12/04 18:25]
donginn
blog:linux:simple_scripts [2008/02/06 07:28] (current)
donginn
Line 1: Line 1:
====== Simple scripts ====== ====== Simple scripts ======
I would like to share my simple scripts that I found useful while working for the Open Systems Lab([[http://www.osl.iu.edu|OSL]]) as a System Administrator I would like to share my simple scripts that I found useful while working for the Open Systems Lab([[http://www.osl.iu.edu|OSL]]) as a System Administrator
 +
 +===== lsof =====
 +Sometimes my system is in trouble with the high loadaverage of the web server because of the attack of some malicious IPs.\\
 +I have tried to look for a command to get the IPs which make this kind of trouble by looking into its pid.
 +<code>
 +      lsof -nP -w -T -i tcp | grep httpd | grep <PROCESS_ID_TO_CHECK>
 +</code>
===== diff ===== ===== diff =====
blog/linux/simple_scripts.txt · Last modified: 2008/02/06 07:28 by donginn
Back to top
Open Systems Lab
Indiana University Computer Science Department
Lindley Hall 215
150 S. Woodlawn Ave.
Bloomington, IN 47405-7104

chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0