Visit Jeremy's Blog.
Go Back > Blogs > sag47
User Name


Uncategorized Entries with no category

Creating special devices to solve problems

Posted 01-19-2012 at 04:53 PM by sag47
Updated 01-22-2012 at 12:41 AM by sag47
Tags jboss, mknod

With tax season coming up I have been asked to set up a certain centralized tax service for a company. I won't mention the company nor the well known tax program involved as this post isn't about flaming a product but just to show you how cool commands in Linux can be used to solve, what would originally seem like, complicated problems.

Here's the scenario. The software runs on JBoss (a java app server) and it has log output. During client testing with fake social security numbers...
Senior Member
Posted in Uncategorized
Views 671 Comments 0 sag47 is offline

Ventrilo and RHEL/Fedora

Posted 01-03-2012 at 08:19 PM by sag47
Updated 01-03-2012 at 08:25 PM by sag47

Well I just set ventrilo up on my internal dev server. Just trying it out because I've heard other people talk about it and thought I would integrate it better with my system. I'm running Fedora 14 on my server but all of these scripts should work on Fedora 12/14 and RedHat EL 5/6. Untested on the new Fedora 16. Here's the service script.
#Created by Sam Gleske
#For RHEL and Fedora-like operating systems

# chkconfig: - 0 0
# description:
Senior Member
Posted in Uncategorized
Views 1270 Comments 0 sag47 is offline

Stress testing a new hard drive...

Posted 11-20-2011 at 11:38 PM by sag47
Updated 11-20-2011 at 11:40 PM by sag47
Tags hardware

You should always stress test a new harddrive when you buy it.

Some people say, "Just hook it up for a few months and keep unimportant data on it. If it breaks in that 1-3 month time then it will be good for 3 or 4 years."

While that metric is okay at best I prefer to take a more systematic approach to it. I want to fill the whole hard drive with random 1 and 0 over a constant and long period of time. I do that because you are stressing the hard drive out...
Senior Member
Posted in Uncategorized
Views 8562 Comments 0 sag47 is offline

Limiting and blocking connections dynamically.

Posted 10-31-2011 at 04:46 PM by sag47
Updated 01-29-2014 at 12:14 PM by sag47

Today I feel like talking about limiting connections which get made to a server. There are a few ways to do it; some cooler than others. I'd like to feature some open source software while I'm at it.

Today I happened upon this thread which hilariously got closed for good reason. Once you wade through all the crap you'll see some pretty cool posts which explain how to limit incoming connections within a certain time period and other suggestions. I'll point out the most useful related...
Senior Member
Posted in Uncategorized
Views 1027 Comments 0 sag47 is offline

Server latency

Posted 10-27-2011 at 09:26 AM by sag47

I wanted a quick and dirty way to determine server latency on my Kubuntu machine. This just parses simple output from ping and provides only the time values.

for x in;do echo -n "[$x]: "; ping -c 1 $x | head -n 2 | tail -n 1 | awk '{split($8,arr,"=")} END{print arr[2],$9}';done
[]: 0.576 ms
[]: 6.23 ms
You can put as many servers or IPs as you want in the for loop to get a comparison....
Senior Member
Posted in Uncategorized
Views 587 Comments 0 sag47 is offline


All times are GMT -5. The time now is 07:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration