????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.116.62.169 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/phpsysinfo/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?> <!-- $Id: phpsysinfo.xslt 518 2011-10-28 08:09:07Z namiltd $ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xsl:output version="4.0" method="html" indent="no" encoding="UTF-8" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd" /> <xsl:param name="SV_OutputFormat" select="'HTML'" /> <xsl:variable name="XML" select="/" /> <xsl:template match="/"> <html> <head> <title> <xsl:text>phpSysInfo</xsl:text> </title> <style type="text/css"> <xsl:comment> @import url("templates/phpsysinfo.css"); </xsl:comment> </style> <link href="gfx/favicon.png" rel="shortcut icon" /> </head> <body> <xsl:for-each select="$XML"> <xsl:for-each select="*"> <div> <xsl:for-each select="Vitals"> <h1 id="title" style="_color: #000; /* ie6 fix */"> <span> <xsl:text>System information : </xsl:text> </span> <xsl:value-of select="@Hostname" /> <span> <xsl:text> (</xsl:text> </span> <xsl:value-of select="@IPAddr" /> <span> <xsl:text>)</xsl:text> </span> </h1> </xsl:for-each> <div id="vitals"> <xsl:for-each select="Vitals"> <h2> <span> <xsl:text>System Vital</xsl:text> </span> </h2> <table border="0" style="border-spacing:0;" class="stripMe" id="vitalsTable" width="100%"> <tbody> <tr> <td style="width:160px;"> <span> <xsl:text>Canonical Hostname</xsl:text> </span> </td> <td> <xsl:value-of select="@Hostname" /> </td> </tr> <tr class="odd"> <td style="width:160px;"> <span> <xsl:text>Listening IP</xsl:text> </span> </td> <td> <xsl:value-of select="@IPAddr" /> </td> </tr> <tr> <td style="width:160px;"> <span> <xsl:text>Kernel Version</xsl:text> </span> </td> <td> <xsl:value-of select="@Kernel" /> </td> </tr> <tr class="odd"> <td style="width:160px;"> <span> <xsl:text>Distro Name</xsl:text> </span> </td> <td> <img style="height:16px; width:16px;"> <xsl:attribute name="src"> <xsl:if test="substring(string(concat('gfx/images/',@Distroicon)), 2, 1) = ':'"> <xsl:text>file:///</xsl:text> </xsl:if> <xsl:value-of select="translate(string(concat('gfx/images/',@Distroicon)), '\', '/')" /> </xsl:attribute> <xsl:attribute name="alt" /> </img> <span> <xsl:text> </xsl:text> </span> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@Distro" /> </td> </tr> <tr> <td style="width:160px;"> <span> <xsl:text>Uptime</xsl:text> </span> </td> <td> <span> <xsl:value-of select="floor( @Uptime div 60 div 60 div 24)" /> </span> <span> <xsl:text> Days </xsl:text> </span> <span> <xsl:value-of select="floor( ( @Uptime div 60 div 60) - ( floor( @Uptime div 60 div 60 div 24) * 24) )" /> </span> <span> <xsl:text> Hours </xsl:text> </span> <span> <xsl:value-of select="floor( @Uptime div 60 - ( floor( @Uptime div 60 div 60 div 24) * 60 * 24) - ( floor( ( @Uptime div 60 div 60) - ( floor( @Uptime div 60 div 60 div 24) * 24) ) * 60) )" /> </span> <span> <xsl:text> Minutes</xsl:text> </span> </td> </tr> <tr class="odd"> <td style="width:160px;"> <span> <xsl:text>Current Users</xsl:text> </span> </td> <td> <xsl:value-of select="@Users" /> </td> </tr> <tr> <td style="width:160px;"> <span> <xsl:text>Load Averages</xsl:text> </span> </td> <td> <xsl:value-of select="@LoadAvg" /> <xsl:if test="count(CPULoad )>0"> <div style="float:left; width:{concat( CPULoad , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@CPULoad" /> <span> <xsl:text>%</xsl:text> </span> </div> </xsl:if> </td> </tr> </tbody> </table> </xsl:for-each> </div> <div id="hardware"> <xsl:for-each select="Hardware"> <h2> <span> <xsl:text>Hardware Information</xsl:text> </span> </h2> <xsl:for-each select="CPU"> <table border="0" style="border-spacing:0;" width="100%"> <tbody> <tr class="odd"> <td style="width:160px;"> <span> <xsl:text>Processor</xsl:text> </span> </td> <td> <xsl:value-of select="count(CpuCore)" /> </td> </tr> <xsl:for-each select="CpuCore"> <tr class="odd"> <td style="width:160px;"> <span> <xsl:text>Model</xsl:text> </span> </td> <td> <xsl:value-of select="@Model" /> </td> </tr> <tr> <td style="width:160px;"> <span> <xsl:text>CPU Speed</xsl:text> </span> </td> <td> <xsl:if test="count(@CpuSpeed )>0"> <xsl:value-of select="@CpuSpeed" /> <span> <xsl:text> Mhz</xsl:text> </span> </xsl:if> </td> </tr> <tr class="odd"> <td style="width:160px;"> <span> <xsl:text>Bus Speed</xsl:text> </span> </td> <td> <xsl:if test="count(@BusSpeed )>0"> <xsl:value-of select="@BusSpeed" /> <span> <xsl:text> Mhz</xsl:text> </span> </xsl:if> </td> </tr> <tr> <td style="width:160px;"> <span> <xsl:text>Cache Size</xsl:text> </span> </td> <td> <xsl:if test="count(@Cache )>0"> <xsl:value-of select="@Cache" /> <span> <xsl:text> KB</xsl:text> </span> </xsl:if> </td> </tr> <tr class="odd"> <td style="width:160px;"> <span> <xsl:text>System Bogomips</xsl:text> </span> </td> <td> <xsl:if test="count(@Bogomips ) >0"> <xsl:value-of select="@Bogomips" /> </xsl:if> </td> </tr> </xsl:for-each> </tbody> </table> </xsl:for-each> <xsl:for-each select="PCI"> <h3> <span> <xsl:text>PCI Devices</xsl:text> </span> </h3> <table style="display:block; border-spacing:0;" id="pciTable" width="100%"> <tbody> <tr> <td> <ul style="margin-left:10px;"> <xsl:for-each select="Device"> <li> <xsl:value-of select="@Name" /> </li> </xsl:for-each> </ul> </td> </tr> </tbody> </table> </xsl:for-each> <xsl:for-each select="IDE"> <h3 class="odd"> <span> <xsl:text>IDE Devices</xsl:text> </span> </h3> <table style="display:block; border-spacing:0;" class="odd" id="ideTable" width="100%"> <tbody> <tr> <td> <ul style="margin-left:10px;"> <xsl:for-each select="Device"> <li> <xsl:value-of select="@Name" /> <xsl:if test="count(@Capacity )>0"> <span> <xsl:text> (</xsl:text> </span> <xsl:value-of select="@Capacity" /> <span> <xsl:text> KB)</xsl:text> </span> </xsl:if> </li> </xsl:for-each> </ul> </td> </tr> </tbody> </table> </xsl:for-each> <xsl:for-each select="SCSI"> <h3> <span> <xsl:text>SCSI Devices</xsl:text> </span> </h3> <table style="border-spacing:0;" id="scsiTable" width="100%"> <tbody> <tr> <td style="display:block;"> <ul style="margin-left:10px;"> <xsl:for-each select="Device"> <li> <xsl:value-of select="@Name" /> <xsl:if test="count(@Capacity )>0"> <span> <xsl:text> (</xsl:text> </span> <xsl:value-of select="@Capacity" /> <span> <xsl:text> KB)</xsl:text> </span> </xsl:if> </li> </xsl:for-each> </ul> </td> </tr> </tbody> </table> </xsl:for-each> <xsl:for-each select="USB"> <h3 class="odd"> <span> <xsl:text>USB Devices</xsl:text> </span> </h3> <table style="border-spacing:0;" class="odd" id="usbTable" width="100%"> <tbody> <tr> <td> <ul style="margin-left:10px;"> <xsl:for-each select="Device"> <li> <xsl:value-of select="@Name" /> </li> </xsl:for-each> </ul> </td> </tr> </tbody> </table> </xsl:for-each> </xsl:for-each> </div> <div id="memory"> <xsl:for-each select="Memory"> <h2> <span> <xsl:text>Memory Usage</xsl:text> </span> </h2> <table border="0" style="border-spacing:0;"> <thead> <tr> <th style="width:200px;"> <span> <xsl:text>Type</xsl:text> </span> </th> <th style="width:285px;"> <span> <xsl:text>Usage</xsl:text> </span> </th> <th style="width:100px;" class="right"> <span> <xsl:text>Free</xsl:text> </span> </th> <th style="width:100px;" class="right"> <span> <xsl:text>Used</xsl:text> </span> </th> <th style="width:100px;" class="right"> <span> <xsl:text>Size</xsl:text> </span> </th> </tr> </thead> <tbody> <tr class="odd"> <td style="width:200px;"> <span> <xsl:text>Physical Memory</xsl:text> </span> </td> <td style="width:285px;"> <div style="float:left; width:{concat( @Percent , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@Percent" /> <span> <xsl:text>%</xsl:text> </span> </div> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Free" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Used" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Total" /> <span> <xsl:text> KB</xsl:text> </span> </td> </tr> <xsl:for-each select="Details"> <xsl:if test="count(@* )>0"> <tr> <td style="width:200px;"> <span> <xsl:text>- Kernel + applications</xsl:text> </span> </td> <td style="width:285px;"> <div style="float:left; width:{concat( @AppPercent , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@AppPercent" /> <span> <xsl:text>%</xsl:text> </span> </div> </td> <td style="width:100px;" class="right" /> <td style="width:100px;" class="right"> <xsl:value-of select="@App" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right" /> </tr> <tr> <td style="width:200px;"> <span> <xsl:text>- Buffers</xsl:text> </span> </td> <td style="width:285px;"> <div style="float:left; width:{concat( @BuffersPercent , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@BuffersPercent" /> <span> <xsl:text>%</xsl:text> </span> </div> </td> <td style="width:100px;" class="right" /> <td style="width:100px;" class="right"> <xsl:value-of select="@Buffers" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right" /> </tr> <tr> <td style="width:200px;"> <span> <xsl:text>- Cached</xsl:text> </span> </td> <td style="width:285px;"> <div style="float:left; width:{concat( @CachedPercent , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@CachedPercent" /> <span> <xsl:text>%</xsl:text> </span> </div> </td> <td style="width:100px;" class="right" /> <td style="width:100px;" class="right"> <xsl:value-of select="@Cached" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right" /> </tr> </xsl:if> </xsl:for-each> </tbody> </table> <xsl:for-each select="Swap"> <table border="0" style="border-spacing:0;" width="100%"> <tbody> <tr class="odd"> <td style="width:200px;"> <span> <xsl:text>Disk Swap</xsl:text> </span> </td> <td style="width:285px;"> <div style="float:left; width:{concat( @Percent , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@Percent" /> <span> <xsl:text>%</xsl:text> </span> </div> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Free" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Used" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Total" /> <span> <xsl:text> KB</xsl:text> </span> </td> </tr> <xsl:for-each select="Mount"> <tr class="odd"> <td style="width:200px;"> <span> <xsl:text>- </xsl:text> <xsl:value-of select="@MountPoint" /> </span> </td> <td style="width:285px;"> <div style="float:left; width:{concat( @Percent , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@Percent" /> <span> <xsl:text>%</xsl:text> </span> </div> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Free" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Used" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Total" /> <span> <xsl:text> KB</xsl:text> </span> </td> </tr> </xsl:for-each> </tbody> </table> </xsl:for-each> </xsl:for-each> </div> <div id="filesystem"> <h2> <span> <xsl:text>Mounted Filesystems</xsl:text> </span> </h2> <table style="border-spacing:0;" class="stripMe" id="filesystemTable"> <thead> <tr> <th style="width:100px;"> <span> <xsl:text>Mountpoint</xsl:text> </span> </th> <th style="width:50px;"> <span> <xsl:text>Type</xsl:text> </span> </th> <th style="width:120px;"> <span> <xsl:text>Partition</xsl:text> </span> </th> <th> <span> <xsl:text>Usage</xsl:text> </span> </th> <th style="width:100px;" class="right"> <span> <xsl:text>Free</xsl:text> </span> </th> <th style="width:100px;" class="right"> <span> <xsl:text>Used</xsl:text> </span> </th> <th style="width:100px;" class="right"> <span> <xsl:text>Size</xsl:text> </span> </th> </tr> </thead> <tbody> <xsl:for-each select="FileSystem"> <xsl:for-each select="Mount"> <tr> <td style="width:100px;"> <xsl:value-of select="@MountPoint" /> </td> <td style="width:50px;"> <xsl:value-of select="@FSType" /> </td> <td style="width:120px;"> <xsl:for-each select="Device"> <xsl:apply-templates /> </xsl:for-each> </td> <td style="width:285px;"> <div style="float:left; width:{concat( @Percent , 'px' )}; " class="bar"> <span> <xsl:text> </xsl:text> </span> </div> <div style="float:left; "> <span> <xsl:text> </xsl:text> </span> <xsl:value-of select="@Percent" /> <span> <xsl:text>%</xsl:text> </span> <xsl:if test="count(@Inodes )>0"> <span> <xsl:text> (</xsl:text> </span> <span style="font-style:italic;"> <xsl:value-of select="@Inodes" /> </span> <span> <xsl:text>%)</xsl:text> </span> </xsl:if> </div> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Free" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Used" /> <span> <xsl:text> KB</xsl:text> </span> </td> <td style="width:100px;" class="right"> <xsl:value-of select="@Total" /> <span> <xsl:text> KB</xsl:text> </span> </td> </tr> </xsl:for-each> </xsl:for-each> </tbody> </table> </div> <div id="network"> <h2> <span> <xsl:text>Network Usage</xsl:text> </span> </h2> <table style="border-spacing:0;" class="stripMe" id="networkTable"> <thead> <tr> <th> <span> <xsl:text>Device</xsl:text> </span> </th> <th class="right" width="60px"> <span> <xsl:text>Received</xsl:text> </span> </th> <th class="right" width="60px"> <span> <xsl:text>Send</xsl:text> </span> </th> <th class="right" width="60px"> <span> <xsl:text>Err/Drop</xsl:text> </span> </th> </tr> </thead> <tbody> <xsl:for-each select="Network"> <xsl:for-each select="NetDevice"> <tr> <td> <xsl:value-of select="@Name"/> </td> <td class="right" width="60px"> <span> <xsl:value-of select="round(@RxBytes div 1024)"/> </span> <span> <xsl:text> KB</xsl:text> </span> </td> <td class="right" width="60px"> <span> <xsl:text> </xsl:text> </span> <span> <xsl:value-of select="round(@TxBytes div 1024)"/> </span> <span> <xsl:text> KB</xsl:text> </span> </td> <td class="right" width="60px"> <xsl:value-of select="@Err"/> <span> <xsl:text>/</xsl:text> </span> <xsl:value-of select="@Drops"/> </td> </tr> </xsl:for-each> </xsl:for-each> </tbody> </table> </div> <div id="footer"> <span> <xsl:text>Created by </xsl:text> </span> <a> <xsl:choose> <xsl:when test="substring(string('http://phpsysinfo.sourceforge.net/'), 1, 1) = '#'"> <xsl:attribute name="href"> <xsl:value-of select="'http://phpsysinfo.sourceforge.net/'"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="href"> <xsl:if test="substring(string('http://phpsysinfo.sourceforge.net/'), 2, 1) = ':'"> <xsl:text>file:///</xsl:text> </xsl:if> <xsl:value-of select="translate(string('http://phpsysinfo.sourceforge.net/'), '\', '/')"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> <span> <xsl:text>phpSysInfo - </xsl:text> </span> <xsl:for-each select="Generation"> <xsl:for-each select="@version"> <span> <xsl:value-of select="string(.)"/> </span> </xsl:for-each> </xsl:for-each> </a> </div> </div> </xsl:for-each> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet>