#!/usr/local/bin/ruby

def systeminfo()
	result = `uptime`
	current, rest = result.chomp.split (/up/)
	updays,uphours,users,load1,load2,load3 =rest.split (/,/)
	result = "<p>You have <strong>" + users + "</strong> on the system with a <strong>" + load1 + "</strong>.<br> The system is running for <strong>"+updays+"</strong> and <strong>"+uphours+" hours</strong>.</p>"
end

#def systeminfo_configure_html( conf )
	
