470 reputation
46
bio website sig-io.nl
location Netherlands
age
visits member for 3 years, 3 months
seen Mar 26 at 10:13

Sysadmin for hire, linux guru


Mar
23
comment How can I use grep to search only on the first line of files for a specific string?
It's probably easiest to write a perl 1-liner to do this, otherwise it would have to be a hacky combination of head and grep.
Mar
23
awarded  Supporter
Mar
23
comment Apache - protect a subdirectory but not the root
Also... you should not put your .htpassword file under the documentroot
Mar
21
awarded  Necromancer
Feb
13
awarded  Nice Answer
Jan
13
awarded  Yearling
Jan
13
answered How to exit after starting a service in Linux for loop
Jan
13
awarded  Commentator
Jan
13
answered How to grep directly to ftp?
Jan
13
comment How to grep directly to ftp?
On (gnu-) grep you can use "grep -r 'some sting' /somedir" ... as a slightly easier syntax. Also, as stated, you can't output-redirect to ftp, but you can do it with ssh.
Jan
13
answered Starting lighttpd from nagios renders lighttpd broken
Jan
13
answered Open port only on OpenVPN network with iptables
Sep
24
awarded  Autobiographer
Sep
3
answered Set max file limit on a running process
Jan
24
comment Monitoring of disk usage over time - check for large variations
Not really an answer, but maybe some pointers in the right direction. If you plot your disk-usage into an rrd-file (for example cacti/smokeping/mrtg/whatever), there is a nagios-plugin (check-smokeping) that I use to check for latency spikes. This could be modified to detect disk-usage deviations as well I guess.
Jan
24
comment How to configure multipath using Intel X520-SR2 10GB on Oracle Linux 6.2?
I mostly use iscsi these days, but from what I can remember from my FC-days... powerpath, or sansurfer should give you your Lun information.
Jan
24
answered How to configure multipath using Intel X520-SR2 10GB on Oracle Linux 6.2?
Dec
8
awarded  Yearling
Oct
22
awarded  Necromancer
Aug
10
comment high load average, high wait, dmesg raid error messages (debian nfs server)
1) Get a new drive, partition it accordingly 2) mdadm --add /dev/mdX /dev/sdX1 3) Wait