Hotsanic Grep Disk_io
Feb 6, 2008
I have installed HotSaNIC and I get no output when I do a
cat /proc/stat |grep disk_io
I have also tried
grep disk_io /proc/stat
and still no response, is any one able to help or suggest anything..
I am using RH E 5.1 ..
View 0 Replies
Oct 31, 2009
I am trying to run a script that will locate the process number and will change the iowait priority
This will display the process number :
ps -ef |grep rsync|grep -v grep | awk '{print $2}'
ionice runs like this:
ionice -c3 -p <process number>
Any way to combine these to change iowait priority of a process?
View 1 Replies
View Related
Feb 6, 2007
Having some trouble using grep and hoped someone might be able to help.
Running the following command to try and scan for an IP address match across a period of time in our access_logs:
grep '04/Feb/2007:21:*:*' /var/www/vhosts/*/statistics/logs/access_log.processed | grep
'216.2*.*.*'
This is returning all kinds of IP address results such as: 58.216.50.2 Can you suggest how I can tweak the grep command to search for the right IP addresses?
I want to scan precisely for IP addresses starting 216.2*.
We've been given the following information about spam, and want to track the source of it
down:
216.2x.x.x - email spam
So any ideas how I can scan these logfiles more precisely for the IP address I need?
View 7 Replies
View Related
Jan 28, 2008
I grepped an IP address on a domain log and it showed thousands of lines. How do I save this grep result to a txt file so I can send it to someone?
View 4 Replies
View Related
Feb 1, 2007
What does this string do? I copy and paste it into my SSH Shell and i get ip addresses and numbers next to them.
Each number means one connection?
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1
View 1 Replies
View Related