Tuesday, November 16, 2010

Crazy Java

This is insane! Below is one command line that I found while running
the process status command on one of our RHEL servers. Never in my
life have I ever seen a command line so long that was not part of a
joke or contest. This is just one more reason not to like Java. Here
it is:


4 S root 13773 13753 0 75 0 - 92863 - Nov15 ?
00:08:58 /opt/j2sdk1.4.2_18/jre/bin/java -cp
/opt/AdventNet/WebNMS/classes:/opt/AdventNet/WebNMS/classes/AdventNetSUMClient.jar:/opt/AdventNet/WebNMS/classes/AdventNetUpdateManagerInstaller.jar:/opt/AdventNet/WebNMS/classes/AdventNetSUMServer.jar::/opt/AdventNet/WebNMS/classes/AdventNetSnmp.jar:/opt/AdventNet/WebNMS/classes/SNMPDebugger.jar:/opt/AdventNet/WebNMS/classes/AdventNetSAS.jar:/opt/AdventNet/WebNMS/classes/jaxp.jar:/opt/AdventNet/WebNMS/classes/crimson.jar:/opt/AdventNet/WebNMS/classes/xalan.jar:/opt/AdventNet/WebNMS/classes/Mail.jar:/opt/AdventNet/WebNMS/classes/activation.jar:/opt/AdventNet/WebNMS/classes/AdventNetNPrevalent.jar:/opt/AdventNet/WebNMS/classes/bsh-1.2b3.jar:/opt/AdventNet/WebNMS/classes/debugger.jar:/opt/AdventNet/WebNMS/classes/ManagementServer.jar::/opt/AdventNet/WebNMS/apache/tomcat/common/lib/servlet-api.jar:/opt/AdventNet/WebNMS/apache/tomcat/bin/bootstrap.jar:/opt/AdventNet/WebNMS/apache/tomcat/common/lib/jsp-ap
i.jar:/opt/j2sdk1.4.2_18/jre/lib/tools.jar:/opt/sybase/shared/jConnect-5_5/classes/jconn2.jar::/opt/AdventNet/WebNMS/classes/Adv
entNetTftp.jar:/opt/AdventNet/WebNMS/classes/AdventNetCLI.jar:/opt/AdventNet/WebNMS/classes/AdventNetCLIClient.jar:/opt/AdventNet/WebNMS/classes/AdventNetJta.jar:/opt/AdventNet/WebNMS/classes/jta.jar:/opt/AdventNet/WebNMS/classes/AdventNetSnmpDistributedAPI.jar:/opt/AdventNet/WebNMS/classes/JimiProClasses.zip:/opt/AdventNet/WebNMS/classes/jfreechart.jar:/opt/AdventNet/WebNMS/classes/jcommon.jar::/opt/AdventNet/WebNMS:/opt/AdventNet/WebNMS/classes/ftp.jar:/opt/AdventNet/WebNMS/classes/AdventNetUI.jar:/opt/AdventNet/WebNMS/classes/log4j.jar:/opt/AdventNet/WebNMS/classes/j2ssh-core.jar:/opt/AdventNet/WebNMS/classes/j2ssh-common.jar:/opt/AdventNet/WebNMS/classes/commons-logging.jar:/opt/AdventNet/WebNMS/classes/hdmserver.jar:/opt/AdventNet/WebNMS/classes/sdk/sdm
sdk.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1Tools.jar:/opt/AdventNet/WebNMS/classes/AdventNetSnmpAgent.jar:/opt/AdventNet/WebNMS/classes/xmojo.jar:/opt/AdventNet/WebNMS/classes/AdventNetWebNmsAgent.jar:/opt/AdventNet/WebNMS/classes/AdventNetJmxAgent.jar:/opt/AdventNet/WebNMS/classes/AdventNetARUtils.jar:/opt/AdventNet/WebNMS/classes/AdventNetTL1Agent.jar
-Dsdm.homedir=/home/sdm -Dsun.net.inetaddr.ttl=0
-Djava.awt.headless=true
-Dcatalina.home=/opt/AdventNet/WebNMS/apache/tomcat
-Dmysql.home=/opt/AdventNet/WebNMS/mysql -Dwebserver.port=9090
-Dresource_check=9090,8009,8005
-Dwebserver.rootdir=/opt/AdventNet/WebNMS/apache
-Djava.rmi.server.codebase="file:////opt/AdventNet/WebNMS/classes/
file:////opt/AdventNet/WebNMS/classes/ManagementServer.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetTftp.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetCLI.jar
file:////opt/AdventNet/WebNMS/classes/xmojo.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetSnmp.jar
file:////opt/AdventNet/WebNMS/classes/SNMPDebugger.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetJmxAgent.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetARUtils.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetTL1Agent.jar
file:////opt/AdventNet/WebNMS/classes/AdventNetSAS.jar
file:////opt/AdventNet/WebNMS/classes/jta.jar
file:////opt/AdventNet/WebNMS/classes/hdmserver.jar
file:////opt/AdventNet/WebNMS/classes/sdk/sdmsdk.jar"
-Djava.security.policy=/opt/AdventNet/WebNMS/apache/tomcat/conf/catalina.p
olicy -mx100m com.motorola.webnms.common.server.init.SDMMain
NMS_BE_FAILOVER false NMS_BE_PORT 2000 ROOT_DIR /opt/AdventNet/WebNMS
NATIVE_PING true

Sunday, October 17, 2010

Mobile Posting

Testing out a new blogger app on my android phone.
Published with Blogger-droid v1.6.3

Sunday, January 03, 2010

Homemade Gray-Hoverman Antenna

I built an antenna over the holiday weekend. It receives just as well as the Radio Shack VHF/UHF that I bought twenty years ago for $30. I left that one in the attic at my last house when I moved.

I based it on the DBGH, double bay Gray Hoverman, designs that I found online at a Canadian forum. Below is a picture of of the one I built.




I used some old wood and wires and hardware that were lying around out in the garage so it did not cost me a dime of real money, just the time that I put into it. I figure I saved about $100 based on comparable antennas online.

I am picking up 28 channels just as I did at the other house with the RS antenna and I am feeding my whole house, which is currently three TV's. Several of these channels even broadcast in full HD so it looks real good on my HDTV.

If I had to built it again, I would just build a single bay and put a pre-amp on it. Give it a try. It wasn't that hard and it works very well.

Internet Speeds at New House

Still using same Windstream but they have fiber to the house in the new neighborhood as opposed to copper in the old neighborhood.



Upload speeds are much better. Now, on to wiring the whole house for Ethernet (100M full duplex that is).