Ignore:
Timestamp:
Apr 30, 2016 1:22:22 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f3610bc
Parents:
a2b2c19
Message:

Console: Only display cpuid information on x86

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/logs.jsp

    ra2b2c19 r6bdf25bc  
    3333<b>JSTL version:</b> <jsp:getProperty name="logsHelper" property="jstlVersion" /><br>
    3434<b>Platform:</b> <%=System.getProperty("os.name")%> <%=System.getProperty("os.arch")%> <%=System.getProperty("os.version")%><br>
    35 <b>Jcpuid version:</b> <%=freenet.support.CPUInformation.CPUID.getJcpuidVersion()%><br>
    36 <b>Processor:</b> <%=net.i2p.util.NativeBigInteger.cpuModel()%> (<%=net.i2p.util.NativeBigInteger.cpuType()%>)<br>
     35<%
     36   boolean isX86 = net.i2p.util.SystemVersion.isX86();
     37   if (isX86) {
     38%><b>Jcpuid version:</b> <%=freenet.support.CPUInformation.CPUID.getJcpuidVersion()%><br>
     39<%
     40   }
     41%><b>Processor:</b>
     42<%
     43   if (isX86) {
     44%> <%=net.i2p.util.NativeBigInteger.cpuModel()%>
     45<%
     46   }
     47%> (<%=net.i2p.util.NativeBigInteger.cpuType()%>)<br>
    3748<b>Jbigi:</b> <%=net.i2p.util.NativeBigInteger.loadStatus()%><br>
    3849<b>Jbigi version:</b> <%=net.i2p.util.NativeBigInteger.getJbigiVersion()%><br>
Note: See TracChangeset for help on using the changeset viewer.