You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
301 lines
12 KiB
301 lines
12 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>YaCy '#[clientname]#': YPStats</title>
|
|
#%env/templates/metas.template%#
|
|
<style><!--
|
|
select {
|
|
width: 13em;
|
|
}
|
|
input.url {
|
|
width: 22em;
|
|
}
|
|
input.ypsmall {
|
|
width: 4em;
|
|
}
|
|
-->
|
|
</style>
|
|
</head>
|
|
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
|
|
#%env/templates/header.template%#
|
|
<br />
|
|
<h2>YPStats - Statistics to generate default settings</h2>
|
|
<p>
|
|
<form action="#" method="GET">
|
|
<label for="0">Select submit url: </label><input class="url" type="text" name="url" value="#[url]#" />
|
|
<input type="submit" name="urlchg" value="change" />
|
|
</form>
|
|
</p>
|
|
<hr />
|
|
<form action="#[url]#" method="post" enctype="multipart/form-data">
|
|
<p>
|
|
<table>
|
|
<tr>
|
|
<td><label for="1">Operating system: </label></td>
|
|
<td><!--<input type="text" name="OS" value="" id="1" />-->
|
|
<select name="OS" id="1">
|
|
<optgroup label="Windows">
|
|
<option label="Win98/ME" value="Win98">Windows 98/ME</option>
|
|
<option label="WinXP" value="WinXP">Windows 2000/XP</option>
|
|
</optgroup>
|
|
<option label="Linux" value="Linux">GNU Linux</option>
|
|
<option label="*BSD" value="BSD">Open-/Free-/NetBSD</option>
|
|
<optgroup label="Mac OS">
|
|
<option value="MacOS<=X">Mac OS <= X</option>
|
|
<option value="MacOSX">Mac OS X</option>
|
|
</optgroup>
|
|
<option value="Solaris">Solaris</option>
|
|
<option value="ReactOS">ReactOS</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="2">RAM in machine: </label></td>
|
|
<td><input class="ypsmall" type="text" name="RAM" value="" id="2" /> MB</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="3">CPU speed: </label></td>
|
|
<td><input class="ypsmall" type="text" name="CPUSpeed" value="" id="3" /> MHz</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="5">HDD speed: </label></td>
|
|
<td><input class="ypsmall" type="text" name="HDDSpeed" value="" id="5" /> RPM</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="6">HDD cache: </label></td>
|
|
<td><input class="ypsmall" type="text" name="HDDCache" value="" id="6" /> KB</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="7">HDD interface: </label></td>
|
|
<td>
|
|
<select name="HDDInterface" id="7">
|
|
<option value="P-ATA" selected>P-ATA / IDE</option>
|
|
<option value="S-ATA">Serial ATA</option>
|
|
<option value="S-ATA2">Serial ATA 2</option>
|
|
<option value="SCSI">SCSI</option>
|
|
<option value="else">Other</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="fstype">Filesystem: </label></td>
|
|
<td>
|
|
<select name="FSType">
|
|
<option value="FAT32">FAT32</option>
|
|
<option value="NTFS">NTFS</option>
|
|
<option value="Ext2-3">UFS / Ext2 / Ext3</option>
|
|
<option value="JFS">JFS</option>
|
|
<option value="XFS">(C)XFS</option>
|
|
<option value="Reiser">ReiserFS</option>
|
|
<option value="HFS">HFS / HFS+</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="seperate">YaCy runs on "own" HDD</label></td>
|
|
<td><input type="checkbox" name="seperateHDD" id="seperate" /></td>
|
|
<td></td>
|
|
<tr>
|
|
<td><label for="8">Peer main usage: </label></td>
|
|
<td>
|
|
<select name="Usage" id="8">
|
|
<option value="0" selected>Proxy</option>
|
|
<option value="1">DHT-Peer</option>
|
|
<option value="2">Crawl-Peer</option>
|
|
<option value="3">No special usage</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="9">PC only for YaCy </label></td>
|
|
<td><input type="checkbox" name="24-7" id="9" /></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="10">System slowdown: </label></td>
|
|
<td>
|
|
<select name="Slowdown" id="10">
|
|
<option value="0" selected>No slowdown noticable</option>
|
|
<option value="1">Slight slowdown</option>
|
|
<option value="2">Moderate slowdown</option>
|
|
<option value="3">Heavy slowdown</option>
|
|
<option value="4">Working not possible</option>
|
|
</select>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="11">Comments: </label></td>
|
|
<td colspan="2"><textarea name="Comment" rows="10" cols="73" id="11"></textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<center><input type="submit" name="submit" value="Submit to YPStats" /></center>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
<hr />
|
|
<h3>Data which will be sent to #[url]#:</h3>
|
|
<p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader" valign="bottom">
|
|
<td class="small">Thread</td>
|
|
<td class="small">idlesleep</td>
|
|
<td class="small">busysleep</td>
|
|
<td class="small">memprereq</td>
|
|
</tr>
|
|
#{table}#<tr class="TableCellDark">
|
|
<td class="small">#[threadname]#</td>
|
|
<td class="small">#[idlesleep]#<input type="hidden" name="#[threadname]#_idlesleep" value="#[idlesleep]#" /></td>
|
|
<td class="small">#[busysleep]#<input type="hidden" name="#[threadname]#_busysleep" value="#[busysleep]#" /></td>
|
|
<td class="small">#[memprereq]#<input type="hidden" name="#[threadname]#_memprereq" value="#[memprereq]#" /></td>
|
|
</tr>
|
|
#{/table}#
|
|
</table>
|
|
</p>
|
|
<p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableCellDark">
|
|
<td class="small">wordCacheMaxCount</td>
|
|
<td class="small">#[wordCacheMaxCount]#<input type="hidden" name="wordCacheMaxCount" value="#[wordCacheMaxCount]#" /></td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
<p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader" valign="bottom">
|
|
<td class="small">Thread</td>
|
|
<td class="small">maxActive</td>
|
|
<td class="small">maxIdle</td>
|
|
<td class="small">minIdle</td>
|
|
</tr>
|
|
#{pool}#<tr class="TableCellDark">
|
|
<td class="small">#[name]#</td>
|
|
<td class="small">#[maxActive]#<input type="hidden" name="#[name]#_maxActive" value="#[maxActive]#" /></td>
|
|
<td class="small">#[maxIdle]#<input type="hidden" name="#[name]#_maxIdle" value="#[maxIdle]#"/></td>
|
|
<td class="small">#[minIdle]#<input type="hidden" name="#[name]#_minIdle" value="#[minIdle]#" /></td>
|
|
</tr>
|
|
#{/pool}#
|
|
</table>
|
|
</p>
|
|
<p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableCellDark">
|
|
<td><span title="-Xmx parameter for Java" class="small">Maximum RAM</span></td>
|
|
<td class="small">#[Xmx]#<input type="hidden" name="Xmx" value="#[Xmx]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td><span title="-Xms parameter for Java" class="small">Initial RAM</span></td>
|
|
<td class="small">#[Xms]#<input type="hidden" name="Xms" value="#[Xms]#" /></td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
<p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader" valign="bottom">
|
|
<td class="small">Database</td>
|
|
<td class="small">DB-Size</td>
|
|
<td class="small">RAM Cache</td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">RWI</td>
|
|
<td class="small">#[slreqRWI]#<input type="hidden" name="DBSizeRWI" value="#[slreqRWI]#" /></td>
|
|
<td class="small">#[ramCacheRWI]#<input type="hidden" name="ramCacheRWI" value="#[ramCacheRWI]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">HTTP</td>
|
|
<td class="small">#[slreqHTTP]#<input type="hidden" name="DBSizeHTTP" value="#[slreqHTTP]#" /></td>
|
|
<td class="small">#[ramCacheHTTP]#<input type="hidden" name="ramCacheHTTP" value="#[ramCacheHTTP]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">LURL</td>
|
|
<td class="small">#[slreqLURL]#<input type="hidden" name="DBSizeLURL" value="#[slreqLURL]#" /></td>
|
|
<td class="small">#[ramCacheLURL]#<input type="hidden" name="ramCacheLURL" value="#[ramCacheLURL]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">NURL</td>
|
|
<td class="small">#[slreqNURL]#<input type="hidden" name="DBSizeNURL" value="#[slreqNURL]#" /></td>
|
|
<td class="small">#[ramCacheNURL]#<input type="hidden" name="ramCacheNURL" value="#[ramCacheNURL]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">EURL</td>
|
|
<td class="small">#[slreqEURL]#<input type="hidden" name="DBSizeEURL" value="#[slreqEURL]#" /></td>
|
|
<td class="small">#[ramCacheEURL]#<input type="hidden" name="ramCacheEURL" value="#[ramCacheEURL]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">DHT</td>
|
|
<td class="small">#[slreqDHT]#<input type="hidden" name="DBSizeDHT" value="#[slreqDHT]#" /></td>
|
|
<td class="small">#[ramCacheDHT]#<input type="hidden" name="ramCacheDHT" value="#[ramCacheDHT]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Message</td>
|
|
<td class="small">#[slreqMessage]#<input type="hidden" name="DBSizeMessage" value="#[slreqMessage]#" /></td>
|
|
<td class="small">#[ramCacheMessage]#<input type="hidden" name="ramCacheMessage" value="#[ramCacheMessage]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Wiki</td>
|
|
<td class="small">#[slreqWiki]#<input type="hidden" name="DBSizeWiki" value="#[slreqWiki]#" /></td>
|
|
<td class="small">#[ramCacheWiki]#<input type="hidden" name="ramCacheWiki" value="#[ramCacheWiki]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Blog</td>
|
|
<td class="small">#[slreqBlog]#<input type="hidden" name="DBSizeBlog" value="#[slreqBlog]#" /></td>
|
|
<td class="small">#[ramCacheBlog]#<input type="hidden" name="ramCacheBlog" value="#[ramCacheBlog]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">News</td>
|
|
<td class="small">#[slreqNews]#<input type="hidden" name="DBSizeNews" value="#[slreqNews]#" /></td>
|
|
<td class="small">#[ramCacheNews]#<input type="hidden" name="ramCacheNews" value="#[ramCacheNews]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Robots</td>
|
|
<td class="small">#[slreqRobots]#<input type="hidden" name="DBSizeRobots" value="#[slreqRobots]#" /></td>
|
|
<td class="small">#[ramCacheRobots]#<input type="hidden" name="ramCacheRobots" value="#[ramCacheRobots]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Profiles</td>
|
|
<td class="small">#[slreqProfiles]#<input type="hidden" name="DBSizeProfiles" value="#[slreqProfiles]#" /></td>
|
|
<td class="small">#[ramCacheProfiles]#<input type="hidden" name="ramCacheProfiles" value="#[ramCacheProfiles]#" /></td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
<p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableCellDark">
|
|
<td class="small">YaCy-Version</td>
|
|
<td class="small">#[versionpp]#<input type="hidden" name="version" value="#[versionpp]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small"># Links</td>
|
|
<td class="small">#[links]#<input type="hidden" name="links" value="#[links]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small"># RWIs</td>
|
|
<td class="small">#[words]#<input type="hidden" name="words" value="#[words]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Peer-Hash</td>
|
|
<td class="small">#[hash]#<input type="hidden" name="hash" value="#[hash]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Java-Version</td>
|
|
<td class="small">#[jversion]#<input type="hidden" name="jversion" value="#[jversion]#" /></td>
|
|
</tr>
|
|
<tr class="TableCellDark">
|
|
<td class="small">Processors</td>
|
|
<td class="small">#[processors]#<input type="hidden" name="CPUCount" value="#[processors]#" /></td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
</form>
|
|
#%env/templates/footer.template%#
|
|
</body> |