获取计算机的硬件软件指标

pom文件引入

<dependency>
            <groupId>com.github.oshi</groupId>
            <artifactId>oshi-core</artifactId>
            <version>3.4.4</version>
        </dependency>

 

测试代码

/**
 * 类说明
 *
 * @author wyzhang
 * @date 2020/10/28 14:41
 */

import java.util.Arrays;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import oshi.SystemInfo;
import oshi.hardware.Baseboard;
import oshi.hardware.CentralProcessor;
import oshi.hardware.CentralProcessor.TickType;
import oshi.hardware.ComputerSystem;
import oshi.hardware.Display;
import oshi.hardware.Firmware;
import oshi.hardware.GlobalMemory;
import oshi.hardware.HWDiskStore;
import oshi.hardware.HWPartition;
import oshi.hardware.HardwareAbstractionLayer;
import oshi.hardware.NetworkIF;
import oshi.hardware.PowerSource;
import oshi.hardware.Sensors;
import oshi.hardware.UsbDevice;
import oshi.software.os.FileSystem;
import oshi.software.os.NetworkParams;
import oshi.software.os.OSFileStore;
import oshi.software.os.OSProcess;
import oshi.software.os.OperatingSystem;
import oshi.software.os.OperatingSystem.ProcessSort;
import oshi.util.FormatUtil;
import oshi.util.Util;
/**
 * Java系统监控测试类
 */
public class OshiTest {
  private static void printComputerSystem(final ComputerSystem computerSystem) {
    System.out.println("manufacturer: " + computerSystem.getManufacturer());
    System.out.println("model: " + computerSystem.getModel());
    System.out.println("serialnumber: " + computerSystem.getSerialNumber());
    final Firmware firmware = computerSystem.getFirmware();
    System.out.println("firmware:");
    System.out.println("  manufacturer: " + firmware.getManufacturer());
    System.out.println("  name: " + firmware.getName());
    System.out.println("  description: " + firmware.getDescription());
    System.out.println("  version: " + firmware.getVersion());
    System.out.println(
        "  release date: "
            + (firmware.getReleaseDate() == null
                ? "unknown"
                : firmware.getReleaseDate() == null
                    ? "unknown"
                    : FormatUtil.formatDate(firmware.getReleaseDate())));
    final Baseboard baseboard = computerSystem.getBaseboard();
    System.out.println("baseboard:");
    System.out.println("  manufacturer: " + baseboard.getManufacturer());
    System.out.println("  model: " + baseboard.getModel());
    System.out.println("  version: " + baseboard.getVersion());
    System.out.println("  serialnumber: " + baseboard.getSerialNumber());
  }

  private static void printProcessor(CentralProcessor processor) {
    System.out.println(processor);
    System.out.println(" " + processor.getPhysicalProcessorCount() + " physical CPU(s)");
    System.out.println(" " + processor.getLogicalProcessorCount() + " logical CPU(s)");
    System.out.println("Identifier: " + processor.getIdentifier());
    System.out.println("ProcessorID: " + processor.getProcessorID());
  }

  private static void printMemory(GlobalMemory memory) {
    System.out.println(
        "以使用内存: "
            + FormatUtil.formatBytes(memory.getAvailable())
            + "总共内存"
            + FormatUtil.formatBytes(memory.getTotal()));
    System.out.println(
        "Swap used: "
            + FormatUtil.formatBytes(memory.getSwapUsed())
            + "/"
            + FormatUtil.formatBytes(memory.getSwapTotal()));
  }

  private static void printCpu(CentralProcessor processor) {
    System.out.println("Uptime: " + FormatUtil.formatElapsedSecs(processor.getSystemUptime()));
    long[] prevTicks = processor.getSystemCpuLoadTicks();
    System.out.println("CPU, IOWait, and IRQ ticks @ 0 sec:" + Arrays.toString(prevTicks));
    // Wait a second...
    Util.sleep(1000);
    long[] ticks = processor.getSystemCpuLoadTicks();
    System.out.println("CPU, IOWait, and IRQ ticks @ 1 sec:" + Arrays.toString(ticks));
    long user = ticks[TickType.USER.getIndex()] - prevTicks[TickType.USER.getIndex()];
    long nice = ticks[TickType.NICE.getIndex()] - prevTicks[TickType.NICE.getIndex()];
    long sys = ticks[TickType.SYSTEM.getIndex()] - prevTicks[TickType.SYSTEM.getIndex()];
    long idle = ticks[TickType.IDLE.getIndex()] - prevTicks[TickType.IDLE.getIndex()];
    long iowait = ticks[TickType.IOWAIT.getIndex()] - prevTicks[TickType.IOWAIT.getIndex()];
    long irq = ticks[TickType.IRQ.getIndex()] - prevTicks[TickType.IRQ.getIndex()];
    long softirq = ticks[TickType.SOFTIRQ.getIndex()] - prevTicks[TickType.SOFTIRQ.getIndex()];
    long steal = ticks[TickType.STEAL.getIndex()] - prevTicks[TickType.STEAL.getIndex()];
    long totalCpu = user + nice + sys + idle + iowait + irq + softirq + steal;
    System.out.format(
        "User: %.1f%% Nice: %.1f%% System: %.1f%% Idle: %.1f%% IOwait: %.1f%% IRQ: %.1f%% SoftIRQ: %.1f%% Steal: %.1f%%%n",
        100d * user / totalCpu,
        100d * nice / totalCpu,
        100d * sys / totalCpu,
        100d * idle / totalCpu,
        100d * iowait / totalCpu,
        100d * irq / totalCpu,
        100d * softirq / totalCpu,
        100d * steal / totalCpu);
    System.out.format(
        "CPU load: %.1f%% (counting ticks)%n", processor.getSystemCpuLoadBetweenTicks() * 100);
    System.out.format("CPU load: %.1f%% (OS MXBean)%n", processor.getSystemCpuLoad() * 100);
    double[] loadAverage = processor.getSystemLoadAverage(3);
    System.out.println(
        "CPU load averages:"
            + (loadAverage[0] < 0 ? " N/A" : String.format(" %.2f", loadAverage[0]))
            + (loadAverage[1] < 0 ? " N/A" : String.format(" %.2f", loadAverage[1]))
            + (loadAverage[2] < 0 ? " N/A" : String.format(" %.2f", loadAverage[2])));
    // per core CPU
    StringBuilder procCpu = new StringBuilder("CPU load per processor:");
    double[] load = processor.getProcessorCpuLoadBetweenTicks();
    for (double avg : load) {
      procCpu.append(String.format(" %.1f%%", avg * 100));
    }
    System.out.println(procCpu.toString());
  }

  private static void printProcesses(OperatingSystem os, GlobalMemory memory) {
    System.out.println("Processes: " + os.getProcessCount() + ", Threads: " + os.getThreadCount());
    // Sort by highest CPU
    List<OSProcess> procs = Arrays.asList(os.getProcesses(5, ProcessSort.CPU));
    System.out.println("   PID  %CPU %MEM       VSZ       RSS Name");
    for (int i = 0; i < procs.size() && i < 5; i++) {
      OSProcess p = procs.get(i);
      System.out.format(
          " %5d %5.1f %4.1f %9s %9s %s%n",
          p.getProcessID(),
          100d * (p.getKernelTime() + p.getUserTime()) / p.getUpTime(),
          100d * p.getResidentSetSize() / memory.getTotal(),
          FormatUtil.formatBytes(p.getVirtualSize()),
          FormatUtil.formatBytes(p.getResidentSetSize()),
          p.getName());
    }
  }

  private static void printSensors(Sensors sensors) {
    System.out.println("Sensors:");
    System.out.format(" CPU Temperature: %.1f°C%n", sensors.getCpuTemperature());
    System.out.println(" Fan Speeds: " + Arrays.toString(sensors.getFanSpeeds()));
    System.out.format(" CPU Voltage: %.1fV%n", sensors.getCpuVoltage());
  }

  private static void printPowerSources(PowerSource[] powerSources) {
    StringBuilder sb = new StringBuilder("Power: ");
    if (powerSources.length == 0) {
      sb.append("Unknown");
    } else {
      double timeRemaining = powerSources[0].getTimeRemaining();
      if (timeRemaining < -1d) {
        sb.append("Charging");
      } else if (timeRemaining < 0d) {
        sb.append("Calculating time remaining");
      } else {
        sb.append(
            String.format(
                "%d:%02d remaining",
                (int) (timeRemaining / 3600), (int) (timeRemaining / 60) % 60));
      }
    }
    for (PowerSource pSource : powerSources) {
      sb.append(
          String.format(
              "%n %s @ %.1f%%", pSource.getName(), pSource.getRemainingCapacity() * 100d));
    }
    System.out.println(sb.toString());
  }

  private static void printDisks(HWDiskStore[] diskStores) {
    System.out.println("Disks:");
    for (HWDiskStore disk : diskStores) {
      boolean readwrite = disk.getReads() > 0 || disk.getWrites() > 0;
      System.out.format(
          " %s: (model: %s - S/N: %s) size: %s, reads: %s (%s), writes: %s (%s), xfer: %s ms%n",
          disk.getName(),
          disk.getModel(),
          disk.getSerial(),
          disk.getSize() > 0 ? FormatUtil.formatBytesDecimal(disk.getSize()) : "?",
          readwrite ? disk.getReads() : "?",
          readwrite ? FormatUtil.formatBytes(disk.getReadBytes()) : "?",
          readwrite ? disk.getWrites() : "?",
          readwrite ? FormatUtil.formatBytes(disk.getWriteBytes()) : "?",
          readwrite ? disk.getTransferTime() : "?");
      HWPartition[] partitions = disk.getPartitions();
      if (partitions == null) {
        // TODO Remove when all OS's implemented
        continue;
      }
      for (HWPartition part : partitions) {
        System.out.format(
            " |-- %s: %s (%s) Maj:Min=%d:%d, size: %s%s%n",
            part.getIdentification(),
            part.getName(),
            part.getType(),
            part.getMajor(),
            part.getMinor(),
            FormatUtil.formatBytesDecimal(part.getSize()),
            part.getMountPoint().isEmpty() ? "" : " @ " + part.getMountPoint());
      }
    }
  }

  private static void printFileSystem(FileSystem fileSystem) {
    System.out.println("File System:");
    System.out.format(
        " File Descriptors: %d/%d%n",
        fileSystem.getOpenFileDescriptors(), fileSystem.getMaxFileDescriptors());
    OSFileStore[] fsArray = fileSystem.getFileStores();
    for (OSFileStore fs : fsArray) {
      long usable = fs.getUsableSpace();
      long total = fs.getTotalSpace();
      System.out.format(
          " %s (%s) [%s] %s of %s free (%.1f%%) is %s "
              + (fs.getLogicalVolume() != null && fs.getLogicalVolume().length() > 0
                  ? "[%s]"
                  : "%s")
              + " and is mounted at %s%n",
          fs.getName(),
          fs.getDescription().isEmpty() ? "file system" : fs.getDescription(),
          fs.getType(),
          FormatUtil.formatBytes(usable),
          FormatUtil.formatBytes(fs.getTotalSpace()),
          100d * usable / total,
          fs.getVolume(),
          fs.getLogicalVolume(),
          fs.getMount());
    }
  }

  private static void printNetworkInterfaces(NetworkIF[] networkIFs) {
    System.out.println("Network interfaces:");
    for (NetworkIF net : networkIFs) {
      System.out.format(" Name: %s (%s)%n", net.getName(), net.getDisplayName());
      System.out.format("   MAC Address: %s %n", net.getMacaddr());
      System.out.format(
          "   MTU: %s, Speed: %s %n", net.getMTU(), FormatUtil.formatValue(net.getSpeed(), "bps"));
      System.out.format("   IPv4: %s %n", Arrays.toString(net.getIPv4addr()));
      System.out.format("   IPv6: %s %n", Arrays.toString(net.getIPv6addr()));
      boolean hasData =
          net.getBytesRecv() > 0
              || net.getBytesSent() > 0
              || net.getPacketsRecv() > 0
              || net.getPacketsSent() > 0;
      System.out.format(
          "   Traffic: received %s/%s%s; transmitted %s/%s%s %n",
          hasData ? net.getPacketsRecv() + " packets" : "?",
          hasData ? FormatUtil.formatBytes(net.getBytesRecv()) : "?",
          hasData ? " (" + net.getInErrors() + " err)" : "",
          hasData ? net.getPacketsSent() + " packets" : "?",
          hasData ? FormatUtil.formatBytes(net.getBytesSent()) : "?",
          hasData ? " (" + net.getOutErrors() + " err)" : "");
    }
  }

  private static void printNetworkParameters(NetworkParams networkParams) {
    System.out.println("Network parameters:");
    System.out.format(" Host name: %s%n", networkParams.getHostName());
    System.out.format(" Domain name: %s%n", networkParams.getDomainName());
    System.out.format(" DNS servers: %s%n", Arrays.toString(networkParams.getDnsServers()));
    System.out.format(" IPv4 Gateway: %s%n", networkParams.getIpv4DefaultGateway());
    System.out.format(" IPv6 Gateway: %s%n", networkParams.getIpv6DefaultGateway());
  }

  private static void printDisplays(Display[] displays) {
    System.out.println("Displays:");
    int i = 0;
    for (Display display : displays) {
      System.out.println(" Display " + i + ":");
      System.out.println(display.toString());
      i++;
    }
  }

  private static void printUsbDevices(UsbDevice[] usbDevices) {
    System.out.println("USB Devices:");
    for (UsbDevice usbDevice : usbDevices) {
      System.out.println(usbDevice.toString());
    }
  }

  public static void main(String[] args) {
    Logger LOG = LoggerFactory.getLogger(OshiTest.class);
    LOG.info("Initializing System...");
    SystemInfo si = new SystemInfo();
    HardwareAbstractionLayer hal = si.getHardware();
    OperatingSystem os = si.getOperatingSystem();
    System.out.println(os);
    LOG.info("Checking computer system...");
    printComputerSystem(hal.getComputerSystem());
    LOG.info("Checking Processor...");
    printProcessor(hal.getProcessor());
    LOG.info("Checking Memory...");
    printMemory(hal.getMemory());
    LOG.info("Checking CPU...");
    printCpu(hal.getProcessor());
    LOG.info("Checking Processes...");
    printProcesses(os, hal.getMemory());
    LOG.info("Checking Sensors...");
    printSensors(hal.getSensors());
    LOG.info("Checking Power sources...");
    printPowerSources(hal.getPowerSources());
    LOG.info("Checking Disks...");
    printDisks(hal.getDiskStores());
    LOG.info("Checking File System...");
    printFileSystem(os.getFileSystem());
    LOG.info("Checking Network interfaces...");
    printNetworkInterfaces(hal.getNetworkIFs());
    LOG.info("Checking Network parameterss...");
    printNetworkParameters(os.getNetworkParams());
    // hardware: displays
    LOG.info("Checking Displays...");
    printDisplays(hal.getDisplays());
    // hardware: USB devices
    LOG.info("Checking USB Devices...");
    printUsbDevices(hal.getUsbDevices(true));
  }
}

运行结果

C:\soft\jdk-14\bin\java.exe "-javaagent:C:\soft\IntelliJ IDEA 2019.3.3\lib\idea_rt.jar=50816:C:\soft\IntelliJ IDEA 2019.3.3\bin" -Dfile.encoding=UTF-8 -classpath D:\workspace\nicsp\nicsp-client\target\test-classes;D:\workspace\nicsp\nicsp-client\target\classes;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.1.1.RELEASE\spring-boot-starter-web-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter\2.1.1.RELEASE\spring-boot-starter-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot\2.1.1.RELEASE\spring-boot-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.1.1.RELEASE\spring-boot-starter-logging-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.11.1\log4j-to-slf4j-2.11.1.jar;C:\Users\xmsme\.m2\repository\org\apache\logging\log4j\log4j-api\2.11.1\log4j-api-2.11.1.jar;C:\Users\xmsme\.m2\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.1.1.RELEASE\spring-boot-starter-json-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.13.Final\hibernate-validator-6.0.13.Final.jar;C:\Users\xmsme\.m2\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;C:\Users\xmsme\.m2\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-web\5.1.3.RELEASE\spring-web-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-beans\5.1.3.RELEASE\spring-beans-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-webmvc\5.1.3.RELEASE\spring-webmvc-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-aop\5.1.3.RELEASE\spring-aop-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-expression\5.1.3.RELEASE\spring-expression-5.1.3.RELEASE.jar;D:\workspace\nicsp\nicsp-common\target\classes;C:\Users\xmsme\.m2\repository\com\squareup\okio\okio\1.14.0\okio-1.14.0.jar;C:\Users\xmsme\.m2\repository\com\squareup\okhttp3\okhttp\3.10.0\okhttp-3.10.0.jar;C:\Users\xmsme\.m2\repository\com\jamesmurty\utils\java-xmlbuilder\1.1\java-xmlbuilder-1.1.jar;C:\Users\xmsme\.m2\repository\net\iharder\base64\2.3.8\base64-2.3.8.jar;C:\Users\xmsme\.m2\repository\com\google\guava\guava\30.0-jre\guava-30.0-jre.jar;C:\Users\xmsme\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\xmsme\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\xmsme\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\xmsme\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar;C:\Users\xmsme\.m2\repository\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;C:\Users\xmsme\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;C:\Users\xmsme\.m2\repository\org\bouncycastle\bcprov-jdk15on\1.46\bcprov-jdk15on-1.46.jar;C:\Users\xmsme\.m2\repository\com\alibaba\fastjson\1.2.70\fastjson-1.2.70.jar;C:\Users\xmsme\.m2\repository\org\apache\poi\poi-ooxml\3.17\poi-ooxml-3.17.jar;C:\Users\xmsme\.m2\repository\org\apache\poi\poi\3.17\poi-3.17.jar;C:\Users\xmsme\.m2\repository\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;C:\Users\xmsme\.m2\repository\org\apache\poi\poi-ooxml-schemas\3.17\poi-ooxml-schemas-3.17.jar;C:\Users\xmsme\.m2\repository\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;C:\Users\xmsme\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\xmsme\.m2\repository\com\github\virtuald\curvesapi\1.04\curvesapi-1.04.jar;C:\Users\xmsme\.m2\repository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;C:\Users\xmsme\.m2\repository\com\ibm\informix\jdbc\4.10.8.1\jdbc-4.10.8.1.jar;C:\Users\xmsme\.m2\repository\org\mongodb\bson\3.8.2\bson-3.8.2.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-configuration-processor\2.1.1.RELEASE\spring-boot-configuration-processor-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-data-redis\2.1.1.RELEASE\spring-boot-starter-data-redis-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\data\spring-data-redis\2.1.3.RELEASE\spring-data-redis-2.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\data\spring-data-keyvalue\2.1.3.RELEASE\spring-data-keyvalue-2.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-tx\5.1.3.RELEASE\spring-tx-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-oxm\5.1.3.RELEASE\spring-oxm-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-context-support\5.1.3.RELEASE\spring-context-support-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\redisson\redisson-spring-boot-starter\3.13.1\redisson-spring-boot-starter-3.13.1.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-actuator\2.1.1.RELEASE\spring-boot-starter-actuator-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.1.1.RELEASE\spring-boot-actuator-autoconfigure-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-actuator\2.1.1.RELEASE\spring-boot-actuator-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\io\micrometer\micrometer-core\1.1.1\micrometer-core-1.1.1.jar;C:\Users\xmsme\.m2\repository\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;C:\Users\xmsme\.m2\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;C:\Users\xmsme\.m2\repository\org\redisson\redisson\3.13.1\redisson-3.13.1.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-common\4.1.31.Final\netty-common-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-codec\4.1.31.Final\netty-codec-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-buffer\4.1.31.Final\netty-buffer-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-transport\4.1.31.Final\netty-transport-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-resolver\4.1.31.Final\netty-resolver-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-resolver-dns\4.1.31.Final\netty-resolver-dns-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-codec-dns\4.1.31.Final\netty-codec-dns-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\io\netty\netty-handler\4.1.31.Final\netty-handler-4.1.31.Final.jar;C:\Users\xmsme\.m2\repository\javax\cache\cache-api\1.1.0\cache-api-1.1.0.jar;C:\Users\xmsme\.m2\repository\io\projectreactor\reactor-core\3.2.3.RELEASE\reactor-core-3.2.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\reactivestreams\reactive-streams\1.0.2\reactive-streams-1.0.2.jar;C:\Users\xmsme\.m2\repository\io\reactivex\rxjava2\rxjava\2.2.4\rxjava-2.2.4.jar;C:\Users\xmsme\.m2\repository\org\jboss\marshalling\jboss-marshalling-river\2.0.9.Final\jboss-marshalling-river-2.0.9.Final.jar;C:\Users\xmsme\.m2\repository\org\jboss\marshalling\jboss-marshalling\2.0.9.Final\jboss-marshalling-2.0.9.Final.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-yaml\2.9.7\jackson-dataformat-yaml-2.9.7.jar;C:\Users\xmsme\.m2\repository\net\bytebuddy\byte-buddy\1.9.5\byte-buddy-1.9.5.jar;C:\Users\xmsme\.m2\repository\org\jodd\jodd-bean\5.0.13\jodd-bean-5.0.13.jar;C:\Users\xmsme\.m2\repository\org\jodd\jodd-core\5.0.13\jodd-core-5.0.13.jar;C:\Users\xmsme\.m2\repository\org\redisson\redisson-spring-data-21\3.13.1\redisson-spring-data-21-3.13.1.jar;C:\Users\xmsme\.m2\repository\com\github\pagehelper\pagehelper-spring-boot-starter\1.2.5\pagehelper-spring-boot-starter-1.2.5.jar;C:\Users\xmsme\.m2\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.2\mybatis-spring-boot-starter-1.3.2.jar;C:\Users\xmsme\.m2\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.2\mybatis-spring-boot-autoconfigure-1.3.2.jar;C:\Users\xmsme\.m2\repository\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;C:\Users\xmsme\.m2\repository\org\mybatis\mybatis-spring\1.3.2\mybatis-spring-1.3.2.jar;C:\Users\xmsme\.m2\repository\com\github\pagehelper\pagehelper-spring-boot-autoconfigure\1.2.5\pagehelper-spring-boot-autoconfigure-1.2.5.jar;C:\Users\xmsme\.m2\repository\com\github\pagehelper\pagehelper\5.1.4\pagehelper-5.1.4.jar;C:\Users\xmsme\.m2\repository\com\github\jsqlparser\jsqlparser\1.0\jsqlparser-1.0.jar;C:\Users\xmsme\.m2\repository\de\codecentric\spring-boot-admin-starter-client\2.1.6\spring-boot-admin-starter-client-2.1.6.jar;C:\Users\xmsme\.m2\repository\de\codecentric\spring-boot-admin-client\2.1.6\spring-boot-admin-client-2.1.6.jar;C:\Users\xmsme\.m2\repository\org\jolokia\jolokia-core\1.6.0\jolokia-core-1.6.0.jar;C:\Users\xmsme\.m2\repository\com\googlecode\json-simple\json-simple\1.1.1\json-simple-1.1.1.jar;C:\Users\xmsme\.m2\repository\com\alibaba\transmittable-thread-local\2.11.5\transmittable-thread-local-2.11.5.jar;D:\workspace\nicsp\nicsp-monitor-common\target\classes;C:\Users\xmsme\.m2\repository\com\github\oshi\oshi-core\3.4.4\oshi-core-3.4.4.jar;C:\Users\xmsme\.m2\repository\net\java\dev\jna\jna-platform\4.5.2\jna-platform-4.5.2.jar;C:\Users\xmsme\.m2\repository\net\java\dev\jna\jna\4.5.2\jna-4.5.2.jar;C:\Users\xmsme\.m2\repository\org\threeten\threetenbp\1.3.6\threetenbp-1.3.6.jar;C:\Users\xmsme\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\xmsme\.m2\repository\org\projectlombok\lombok\1.18.0\lombok-1.18.0.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.10.2\jackson-annotations-2.10.2.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.10.2\jackson-core-2.10.2.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.10.2\jackson-databind-2.10.2.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.2\jackson-datatype-jdk8-2.10.2.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.2\jackson-datatype-jsr310-2.10.2.jar;C:\Users\xmsme\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.2\jackson-module-parameter-names-2.10.2.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.1.1.RELEASE\spring-boot-starter-tomcat-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\xmsme\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.13\tomcat-embed-core-9.0.13.jar;C:\Users\xmsme\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.13\tomcat-embed-el-9.0.13.jar;C:\Users\xmsme\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.13\tomcat-embed-websocket-9.0.13.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.1.1.RELEASE\spring-boot-starter-data-jpa-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.1.1.RELEASE\spring-boot-starter-aop-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\aspectj\aspectjweaver\1.9.2\aspectjweaver-1.9.2.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.1.1.RELEASE\spring-boot-starter-jdbc-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\com\zaxxer\HikariCP\3.2.0\HikariCP-3.2.0.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-jdbc\5.1.3.RELEASE\spring-jdbc-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\javax\transaction\javax.transaction-api\1.3\javax.transaction-api-1.3.jar;C:\Users\xmsme\.m2\repository\javax\xml\bind\jaxb-api\2.3.1\jaxb-api-2.3.1.jar;C:\Users\xmsme\.m2\repository\javax\activation\javax.activation-api\1.2.0\javax.activation-api-1.2.0.jar;C:\Users\xmsme\.m2\repository\org\hibernate\hibernate-core\5.3.7.Final\hibernate-core-5.3.7.Final.jar;C:\Users\xmsme\.m2\repository\javax\persistence\javax.persistence-api\2.2\javax.persistence-api-2.2.jar;C:\Users\xmsme\.m2\repository\org\javassist\javassist\3.23.1-GA\javassist-3.23.1-GA.jar;C:\Users\xmsme\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\xmsme\.m2\repository\org\jboss\jandex\2.0.5.Final\jandex-2.0.5.Final.jar;C:\Users\xmsme\.m2\repository\org\dom4j\dom4j\2.1.1\dom4j-2.1.1.jar;C:\Users\xmsme\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.4.Final\hibernate-commons-annotations-5.0.4.Final.jar;C:\Users\xmsme\.m2\repository\org\springframework\data\spring-data-jpa\2.1.3.RELEASE\spring-data-jpa-2.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\data\spring-data-commons\2.1.3.RELEASE\spring-data-commons-2.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-orm\5.1.3.RELEASE\spring-orm-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-aspects\5.1.3.RELEASE\spring-aspects-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.1.1.RELEASE\spring-boot-starter-test-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-test\2.1.1.RELEASE\spring-boot-test-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.1.1.RELEASE\spring-boot-test-autoconfigure-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;C:\Users\xmsme\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;C:\Users\xmsme\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;C:\Users\xmsme\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\xmsme\.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\Users\xmsme\.m2\repository\org\assertj\assertj-core\3.11.1\assertj-core-3.11.1.jar;C:\Users\xmsme\.m2\repository\org\mockito\mockito-core\2.23.4\mockito-core-2.23.4.jar;C:\Users\xmsme\.m2\repository\net\bytebuddy\byte-buddy-agent\1.9.5\byte-buddy-agent-1.9.5.jar;C:\Users\xmsme\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\xmsme\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\xmsme\.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;C:\Users\xmsme\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;C:\Users\xmsme\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-core\5.1.3.RELEASE\spring-core-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-jcl\5.1.3.RELEASE\spring-jcl-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-test\5.1.3.RELEASE\spring-test-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\xmlunit\xmlunit-core\2.6.2\xmlunit-core-2.6.2.jar;C:\Users\xmsme\.m2\repository\joda-time\joda-time\2.10.1\joda-time-2.10.1.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-core\1.5.3\shiro-core-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-lang\1.5.3\shiro-lang-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-cache\1.5.3\shiro-cache-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-crypto-hash\1.5.3\shiro-crypto-hash-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-crypto-core\1.5.3\shiro-crypto-core-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-crypto-cipher\1.5.3\shiro-crypto-cipher-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-config-core\1.5.3\shiro-config-core-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-config-ogdl\1.5.3\shiro-config-ogdl-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-event\1.5.3\shiro-event-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-spring\1.5.3\shiro-spring-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-web\1.5.3\shiro-web-1.5.3.jar;C:\Users\xmsme\.m2\repository\org\owasp\encoder\encoder\1.2.2\encoder-1.2.2.jar;C:\Users\xmsme\.m2\repository\org\apache\shiro\shiro-ehcache\1.5.3\shiro-ehcache-1.5.3.jar;C:\Users\xmsme\.m2\repository\net\sf\ehcache\ehcache-core\2.6.11\ehcache-core-2.6.11.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.1.1.RELEASE\spring-boot-starter-thymeleaf-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\thymeleaf\thymeleaf-spring5\3.0.11.RELEASE\thymeleaf-spring5-3.0.11.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\thymeleaf\thymeleaf\3.0.11.RELEASE\thymeleaf-3.0.11.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.2.RELEASE\thymeleaf-extras-java8time-3.0.2.RELEASE.jar;C:\Users\xmsme\.m2\repository\net\lingala\zip4j\zip4j\1.3.2\zip4j-1.3.2.jar;C:\Users\xmsme\.m2\repository\commons-net\commons-net\3.6\commons-net-3.6.jar;C:\Users\xmsme\.m2\repository\com\jcraft\jsch\0.1.54\jsch-0.1.54.jar;C:\Users\xmsme\.m2\repository\com\github\tobato\fastdfs-client\1.26.5\fastdfs-client-1.26.5.jar;C:\Users\xmsme\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;C:\Users\xmsme\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\xmsme\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\xmsme\.m2\repository\org\apache\commons\commons-lang3\3.8.1\commons-lang3-3.8.1.jar;C:\Users\xmsme\.m2\repository\commons-beanutils\commons-beanutils\1.9.1\commons-beanutils-1.9.1.jar;C:\Users\xmsme\.m2\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\Users\xmsme\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\xmsme\.m2\repository\org\apache\commons\commons-pool2\2.6.0\commons-pool2-2.6.0.jar;C:\Users\xmsme\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.1.1.RELEASE\spring-boot-autoconfigure-2.1.1.RELEASE.jar;C:\Users\xmsme\.m2\repository\org\springframework\spring-context\5.1.3.RELEASE\spring-context-5.1.3.RELEASE.jar;C:\Users\xmsme\.m2\repository\net\coobird\thumbnailator\0.4.8\thumbnailator-0.4.8.jar;C:\Users\xmsme\.m2\repository\com\aliyun\oss\aliyun-sdk-oss\2.8.2\aliyun-sdk-oss-2.8.2.jar;C:\Users\xmsme\.m2\repository\org\apache\httpcomponents\httpclient\4.5.6\httpclient-4.5.6.jar;C:\Users\xmsme\.m2\repository\org\apache\httpcomponents\httpcore\4.4.10\httpcore-4.4.10.jar;C:\Users\xmsme\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;C:\Users\xmsme\.m2\repository\org\jdom\jdom\1.1\jdom-1.1.jar;C:\Users\xmsme\.m2\repository\net\sf\json-lib\json-lib\2.4\json-lib-2.4-jdk15.jar;C:\Users\xmsme\.m2\repository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;C:\Users\xmsme\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\xmsme\.m2\repository\net\sf\ezmorph\ezmorph\1.0.6\ezmorph-1.0.6.jar;C:\Users\xmsme\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot-starter\2.1.0\jasypt-spring-boot-starter-2.1.0.jar;C:\Users\xmsme\.m2\repository\com\github\ulisesbocchio\jasypt-spring-boot\2.1.0\jasypt-spring-boot-2.1.0.jar;C:\Users\xmsme\.m2\repository\org\jasypt\jasypt\1.9.2\jasypt-1.9.2.jar com.sundablog.utlis.OshiTest
2020-10-28 14:42:19.253 [main] INFO  c.s.utlis.OshiTest - [main,298] - Initializing System...
Microsoft Windows 10 build 19041
2020-10-28 14:42:19.581 [main] INFO  c.s.utlis.OshiTest - [main,303] - Checking computer system...
manufacturer: Dell Inc.
model: Inspiron 7591
serialnumber: 1H01JX2
firmware:
  manufacturer: Dell Inc.
  name: 1.3.0
  description: 1.3.0
  version: DELL   - 1072009
  release date: 07/22/2019
baseboard:
  manufacturer: Dell Inc.
  model: unknown
  version: A00
  serialnumber: /1H01JX2/CNPE1009AP0032/
2020-10-28 14:42:19.715 [main] INFO  c.s.utlis.OshiTest - [main,305] - Checking Processor...
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
 6 physical CPU(s)
 12 logical CPU(s)
Identifier: Intel64 Family 6 Model 158 Stepping 10
ProcessorID: BFEBFBFF000906EA
2020-10-28 14:42:26.031 [main] INFO  c.s.utlis.OshiTest - [main,307] - Checking Memory...
以使用内存: 3.9 GiB总共内存15.8 GiB
Swap used: 483.5 MiB/12.5 GiB
2020-10-28 14:42:26.075 [main] INFO  c.s.utlis.OshiTest - [main,309] - Checking CPU...
Uptime: 2 days, 00:51:16
CPU, IOWait, and IRQ ticks @ 0 sec:[28741359, 0, 15743331, 2065884406, 0, 108960, 41053, 0]
CPU, IOWait, and IRQ ticks @ 1 sec:[28742640, 0, 15743718, 2065895109, 0, 108962, 41054, 0]
User: 10.4% Nice: 0.0% System: 3.1% Idle: 86.5% IOwait: 0.0% IRQ: 0.0% SoftIRQ: 0.0% Steal: 0.0%
CPU load: 14.6% (counting ticks)
CPU load: 16.3% (OS MXBean)
CPU load averages: N/A N/A N/A
CPU load per processor: 11.5% 7.8% 19.3% 8.9% 15.4% 14.1% 11.6% 20.8% 7.8% 52.5% 15.6% 6.4%
2020-10-28 14:42:27.188 [main] INFO  c.s.utlis.OshiTest - [main,311] - Checking Processes...
Processes: 296, Threads: 4254
   PID  %CPU %MEM       VSZ       RSS Name
     0 100.0  0.0     8 KiB     8 KiB System Idle Process
  5724   9.4  2.0   6.4 GiB 316.1 MiB java.exe
 17352   8.4  0.8   6.4 GiB 130.3 MiB java.exe
  9156   8.0  0.7   9.8 GiB 119.1 MiB java.exe
  1544   5.6 15.2  12.1 GiB   2.4 GiB idea64.exe
2020-10-28 14:43:06.624 [main] INFO  c.s.utlis.OshiTest - [main,313] - Checking Sensors...
Sensors:
2020-10-28 14:43:06.631 [main] ERROR o.u.p.w.WmiUtil - [connectServer,409] - Could not connect to namespace root\OpenHardwareMonitor. Error code = 0x8004100e
 CPU Temperature: 25.0°C
2020-10-28 14:43:06.677 [main] ERROR o.u.p.w.WmiUtil - [connectServer,409] - Could not connect to namespace root\OpenHardwareMonitor. Error code = 0x8004100e
 Fan Speeds: [0]
2020-10-28 14:43:06.693 [main] ERROR o.u.p.w.WmiUtil - [connectServer,409] - Could not connect to namespace root\OpenHardwareMonitor. Error code = 0x8004100e
 CPU Voltage: 0.0V
2020-10-28 14:43:06.714 [main] INFO  c.s.utlis.OshiTest - [main,315] - Checking Power sources...
Power: Charging
 System Battery @ 100.0%
2020-10-28 14:43:06.718 [main] INFO  c.s.utlis.OshiTest - [main,317] - Checking Disks...
Disks:
 \\.\PHYSICALDRIVE0: (model: PC601 NVMe SK hynix 512GB (标准磁盘驱动器) - S/N: ACE4_2E00_9A1D_3587_2EE4_AC00_0000_0001.) size: 512.1 GB, reads: 2594615 (30.3 GiB), writes: 1177324 (46.6 GiB), xfer: 702387 ms
 |-- 磁盘 #0,分区 #0: GPT: System (GPT: 系统) Maj:Min=0:0, size: 681.6 MB
 |-- 磁盘 #0,分区 #1: GPT: Basic Data (GPT: 基本数据) Maj:Min=0:1, size: 231.7 GB @ C:\
 |-- 磁盘 #0,分区 #2: GPT: Basic Data (GPT: 基本数据) Maj:Min=0:2, size: 262.1 GB @ D:\
 |-- 磁盘 #0,分区 #3: GPT: Unknown (GPT: 未知) Maj:Min=0:3, size: 1.0 GB
 |-- 磁盘 #0,分区 #4: GPT: Unknown (GPT: 未知) Maj:Min=0:4, size: 15.0 GB
 |-- 磁盘 #0,分区 #5: GPT: Unknown (GPT: 未知) Maj:Min=0:5, size: 1.4 GB
2020-10-28 14:43:06.806 [main] INFO  c.s.utlis.OshiTest - [main,319] - Checking File System...
File System:
 File Descriptors: 0/0
 本地固定磁盘 (C:) (Fixed drive) [NTFS] 57.9 GiB of 215.8 GiB free (26.8%) is \\?\Volume{1b670f80-a30f-492b-b2be-5e5330c5dd9e}\  and is mounted at C:\
 本地固定磁盘 (D:) (Fixed drive) [NTFS] 211.1 GiB of 244.1 GiB free (86.5%) is \\?\Volume{2c62b3df-8c38-4aae-8290-abfd5d329786}\  and is mounted at D:\
2020-10-28 14:43:06.850 [main] INFO  c.s.utlis.OshiTest - [main,321] - Checking Network interfaces...
Network interfaces:
 Name: eth0 (Bluetooth Device (Personal Area Network))
   MAC Address: 04:ed:33:3a:29:4b 
   MTU: 1500, Speed: 3 Mbps 
   IPv4: [] 
   IPv6: [fe80:0:0:0:e976:518f:8c04:f0c8] 
   Traffic: received ?/?; transmitted ?/? 
 Name: eth1 (Realtek USB GbE Family Controller #2)
   MAC Address: 34:29:8f:73:4c:04 
   MTU: 1500, Speed: 194.7 Mbps 
   IPv4: [10.0.252.110] 
   IPv6: [fe80:0:0:0:dc72:d246:88be:25be] 
   Traffic: received 1989074 packets/21.2 MiB (0 err); transmitted 990440 packets/139.5 MiB (0 err) 
 Name: eth2 (Sangfor SSL VPN CS Support System VNIC)
   MAC Address: 00:ff:19:ff:6e:80 
   MTU: 1400, Speed: 10 Mbps 
   IPv4: [] 
   IPv6: [fe80:0:0:0:792a:f06b:8674:b285] 
   Traffic: received ?/?; transmitted ?/? 
 Name: wlan0 (Intel(R) Wireless-AC 9560 160MHz)
   MAC Address: 04:ed:33:3a:29:47 
   MTU: 1500, Speed: 0 bps 
   IPv4: [] 
   IPv6: [fe80:0:0:0:4119:21fb:9afa:5cfd] 
   Traffic: received ?/?; transmitted ?/? 
 Name: wlan2 (Microsoft Wi-Fi Direct Virtual Adapter #2)
   MAC Address: 06:ed:33:3a:29:47 
   MTU: 1500, Speed: 0 bps 
   IPv4: [] 
   IPv6: [fe80:0:0:0:53c:e082:f90d:3ee5] 
   Traffic: received ?/?; transmitted ?/? 
 Name: eth7 (SVN Adapter V1.0)
   MAC Address: 00:ff:e1:dc:a2:5c 
   MTU: 1300, Speed: 10 Mbps 
   IPv4: [] 
   IPv6: [fe80:0:0:0:b062:10db:e4a6:5748] 
   Traffic: received ?/?; transmitted ?/? 
2020-10-28 14:43:07.133 [main] INFO  c.s.utlis.OshiTest - [main,323] - Checking Network parameterss...
Network parameters:
 Host name: DESKTOP-66135DD
 Domain name: DESKTOP-66135DD
 DNS servers: [10.0.9.2, 218.85.157.99]
 IPv4 Gateway: 10.0.252.1
 IPv6 Gateway: 
2020-10-28 14:43:07.243 [main] INFO  c.s.utlis.OshiTest - [main,326] - Checking Displays...
Displays:
 Display 0:
  Manuf. ID=AEO, Product ID=24ed, Analog, Serial=00000000, ManufDate=11/2019, EDID v1.4
  34 x 19 cm (13.4 x 7.5 in)
  Preferred Timing: Clock 141MHz, Active Pixels 3840x1920 
  Preferred Timing: Clock 112MHz, Active Pixels 3840x1920 
  Unspecified Text: F8FGD�B156HAN
  Manufacturer Data: 00000000000341029E001000000A010A2020
 Display 1:
  Manuf. ID=DEL, Product ID=a0a4, Analog, Serial=4T1L, ManufDate=11/2015, EDID v1.3
  53 x 30 cm (20.9 x 11.8 in)
  Preferred Timing: Clock 148MHz, Active Pixels 3840x1920 
  Serial Number: 4CWX75BA4T1L
  Monitor Name: DELL U2414H
  Range Limits: Field Rate 56-76 Hz vertical, 30-83 Hz horizontal, Max clock: 170 MHz
2020-10-28 14:43:07.257 [main] INFO  c.s.utlis.OshiTest - [main,329] - Checking USB Devices...
USB Devices:
 Intel(R) USB 3.1 可扩展主机控制器 - 1.10 (Microsoft) (通用 USB xHCI 主机控制器)
 |-- USB 根集线器(USB 3.0) ((标准 USB 集线器))
     |-- USB Composite Device ((标准 USB 主控制器))
         |-- Integrated Webcam (Microsoft)
     |-- USB Composite Device ((标准 USB 主控制器))
         |-- USB 输入设备 ((标准系统设备))
             |-- HID Keyboard Device ((标准键盘))
         |-- USB 输入设备 ((标准系统设备))
             |-- 符合 HID 标准的供应商定义设备 ((标准系统设备))
             |-- 符合 HID 标准的用户控制设备 (Microsoft)
             |-- 符合 HID 标准的用户控制设备 (Microsoft)
             |-- 符合 HID 标准的系统控制器 ((标准系统设备))
     |-- USB Composite Device ((标准 USB 主控制器))
         |-- Logitech USB Input Device (Logitech (x64))
             |-- HID Keyboard Device ((标准键盘))
         |-- USB 输入设备 ((标准系统设备))
             |-- HID-compliant mouse (Microsoft)
             |-- 符合 HID 标准的供应商定义设备 ((标准系统设备))
             |-- 符合 HID 标准的用户控制设备 (Microsoft)
             |-- 符合 HID 标准的系统控制器 ((标准系统设备))
         |-- USB 输入设备 ((标准系统设备))
             |-- 符合 HID 标准的供应商定义设备 ((标准系统设备))
             |-- 符合 HID 标准的供应商定义设备 ((标准系统设备))
             |-- 符合 HID 标准的供应商定义设备 ((标准系统设备))
     |-- 英特尔(R) 无线 Bluetooth(R) (Intel Corporation)
         |-- Bluetooth Device (Personal Area Network) (Microsoft)
         |-- Bluetooth Device (RFCOMM Protocol TDI) (Microsoft)
         |-- IBtUsb_Filter_00 (unknown)
         |-- Microsoft 蓝牙 LE 枚举器 (Microsoft)
         |-- Microsoft 蓝牙枚举器 (Microsoft)
             |-- Phone Call Audio Device (Screenovate)
     |-- 通用 USB 集线器 ((标准 USB 集线器))
         |-- 通用 USB 集线器 ((标准 USB 集线器))
             |-- USB Composite Device ((标准 USB 主控制器))
                 |-- USB PnP Audio Device ((通用 USB 音频))
                     |-- 扬声器 (USB PnP Audio Device) (Microsoft)
                     |-- 麦克风 (USB PnP Audio Device) (Microsoft)
                 |-- USB 输入设备 ((标准系统设备))
                     |-- 符合 HID 标准的用户控制设备 (Microsoft)
 Intel(R) USB 3.1 可扩展主机控制器 - 1.10 (Microsoft) (通用 USB xHCI 主机控制器)
 |-- USB 根集线器(USB 3.0) ((标准 USB 集线器))
     |-- 通用 SuperSpeed USB 集线器 ((标准 USB 集线器))
         |-- Realtek USB GbE Family Controller #2 (Realtek)

Process finished with exit code 0

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值