Add software and hardware statistics api

This commit is contained in:
2023-12-06 18:30:56 +08:00
parent d64fdcd5ca
commit c0e9380082
8 changed files with 125 additions and 12 deletions

View File

@@ -0,0 +1,11 @@
package top.fatweb.api.vo.system
data class HardwareInfoVo(
val cpu: String,
val arch: String,
val is64Bit: Boolean,
val cpuPhysicalPackageCount: Int,
val cpuPhysicalProcessorCount: Int,
val cpuLogicalProcessorCount: Int,
val microarchitecture: String
)

View File

@@ -0,0 +1,20 @@
package top.fatweb.api.vo.system
import java.time.LocalDateTime
data class SoftwareInfoVo(
val os: String,
val bitness: Int,
val javaVersion: String,
val javaVersionDate: String,
val javaVendor: String,
val javaRuntime: String,
val javaRuntimeVersion: String,
val jvm: String,
val jvmVersion: String,
val jvmInfo: String,
val jvmVendor: String,
val javaClassVersion: String,
val osBootTime: LocalDateTime,
val serverStartupTime: LocalDateTime
)