LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs > Joe2003
User Name
Password

Notices

Uncategorized Entries with no category
Old

sql

Posted 01-21-2010 at 07:05 AM by Joe2003

CREATE TABLE `facility` (
`facilityID` varchar(2) NOT NULL default '',
`description` varchar(30) default NULL,
PRIMARY KEY (`facilityID`)
);

CREATE TABLE `system` (
`systemID` varchar(3) NOT NULL default '',
`ipAddress` varchar(16) default NULL,
`dnsName` varchar(50) default NULL,
`network` varchar(50) default NULL,
`type` varchar(20) default NULL,
PRIMARY KEY (`systemID`)
);
...
Member
Posted in Uncategorized
Views 585 Comments 0 Joe2003 is offline
Old

Code Dump

Posted 01-20-2010 at 09:42 AM by Joe2003

Code:
public class Monitor extends Thread
{
	private int maxOccurance;
	private int totalOccurance;
	private int timePeriod;
	private double average;

	private final int HISTORY_LENGTH = 10;

	private int[] history = new int[HISTORY_LENGTH];
	private int historyPtr;

	public Monitor(int time, int frequency)
	{
		maxOccurance = frequency;
		timePeriod = time * 1000;
		totalOccurance =
...
Member
Posted in Uncategorized
Views 486 Comments 0 Joe2003 is offline

  



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

Main Menu
Advertisement

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