Package com.pi4j.system
Class SystemInfo
- java.lang.Object
-
- com.pi4j.system.SystemInfo
-
public class SystemInfo extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SystemInfo.BoardType
-
Method Summary
-
-
-
Method Detail
-
getProcessor
public static String getProcessor() throws IOException, InterruptedException, UnsupportedOperationException
-
getModelName
public static String getModelName() throws IOException, InterruptedException, UnsupportedOperationException
-
getBogoMIPS
public static String getBogoMIPS() throws IOException, InterruptedException, UnsupportedOperationException
-
getCpuFeatures
public static String[] getCpuFeatures() throws IOException, InterruptedException, UnsupportedOperationException
-
getCpuImplementer
public static String getCpuImplementer() throws IOException, InterruptedException, UnsupportedOperationException
-
getCpuArchitecture
public static String getCpuArchitecture() throws IOException, InterruptedException, UnsupportedOperationException
-
getCpuVariant
public static String getCpuVariant() throws IOException, InterruptedException, UnsupportedOperationException
-
getCpuPart
public static String getCpuPart() throws IOException, InterruptedException, UnsupportedOperationException
-
getCpuRevision
public static String getCpuRevision() throws IOException, InterruptedException, UnsupportedOperationException
-
getHardware
public static String getHardware() throws IOException, InterruptedException, UnsupportedOperationException
-
getRevision
public static String getRevision() throws IOException, InterruptedException, UnsupportedOperationException
-
getSerial
public static String getSerial() throws IOException, InterruptedException, UnsupportedOperationException
-
getOsName
public static String getOsName() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getOsVersion
public static String getOsVersion() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getOsArch
public static String getOsArch() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getOsFirmwareBuild
public static String getOsFirmwareBuild() throws IOException, InterruptedException, UnsupportedOperationException
-
getOsFirmwareDate
public static String getOsFirmwareDate() throws IOException, InterruptedException, ParseException, UnsupportedOperationException
-
getJavaVendor
public static String getJavaVendor() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getJavaVendorUrl
public static String getJavaVendorUrl() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getJavaVersion
public static String getJavaVersion() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getJavaVirtualMachine
public static String getJavaVirtualMachine() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getJavaRuntime
public static String getJavaRuntime() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
isHardFloatAbi
public static boolean isHardFloatAbi() throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
-
getMemoryTotal
public static long getMemoryTotal() throws IOException, InterruptedException, UnsupportedOperationException
-
getMemoryUsed
public static long getMemoryUsed() throws IOException, InterruptedException, UnsupportedOperationException
-
getMemoryFree
public static long getMemoryFree() throws IOException, InterruptedException, UnsupportedOperationException
-
getMemoryShared
public static long getMemoryShared() throws IOException, InterruptedException, UnsupportedOperationException
-
getMemoryBuffers
public static long getMemoryBuffers() throws IOException, InterruptedException, UnsupportedOperationException
-
getMemoryCached
public static long getMemoryCached() throws IOException, InterruptedException, UnsupportedOperationException
-
getBoardType
public static SystemInfo.BoardType getBoardType() throws IOException, InterruptedException, UnsupportedOperationException
-
getCpuTemperature
public static float getCpuTemperature() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
-
getCpuVoltage
public static float getCpuVoltage() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
-
getMemoryVoltageSDRam_C
public static float getMemoryVoltageSDRam_C() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
-
getMemoryVoltageSDRam_I
public static float getMemoryVoltageSDRam_I() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
-
getMemoryVoltageSDRam_P
public static float getMemoryVoltageSDRam_P() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
-
getCodecH264Enabled
public static boolean getCodecH264Enabled() throws IOException, InterruptedException, UnsupportedOperationException
-
getCodecMPG2Enabled
public static boolean getCodecMPG2Enabled() throws IOException, InterruptedException, UnsupportedOperationException
-
getCodecWVC1Enabled
public static boolean getCodecWVC1Enabled() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyArm
public static long getClockFrequencyArm() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyCore
public static long getClockFrequencyCore() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyH264
public static long getClockFrequencyH264() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyISP
public static long getClockFrequencyISP() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyV3D
public static long getClockFrequencyV3D() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyUART
public static long getClockFrequencyUART() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyPWM
public static long getClockFrequencyPWM() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyEMMC
public static long getClockFrequencyEMMC() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyPixel
public static long getClockFrequencyPixel() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyVEC
public static long getClockFrequencyVEC() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyHDMI
public static long getClockFrequencyHDMI() throws IOException, InterruptedException, UnsupportedOperationException
-
getClockFrequencyDPI
public static long getClockFrequencyDPI() throws IOException, InterruptedException, UnsupportedOperationException
-
-