| Package | Description |
|---|---|
| oshi.jna.platform.unix.solaris |
Provides extensions of JNA libraries for Solaris.
|
| oshi.util.platform.unix.solaris |
Provides utilities for Solaris
|
| Modifier and Type | Field and Description |
|---|---|
LibKstat.Kstat |
LibKstat.KstatCtl.kc_chain |
| Modifier and Type | Method and Description |
|---|---|
LibKstat.Kstat |
LibKstat.kstat_lookup(LibKstat.KstatCtl kc,
String ks_module,
int ks_instance,
String ks_name)
The kstat_lookup() function traverses the kstat chain, kc.kc_chain,
searching for a kstat with the same ks_module, ks_instance, and ks_name
fields; this triplet uniquely identifies a kstat.
|
LibKstat.Kstat |
LibKstat.Kstat.next() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jna.Pointer |
LibKstat.kstat_data_lookup(LibKstat.Kstat ksp,
String name)
The kstat_data_lookup() function searches the kstat's data section for
the record with the specified name .
|
int |
LibKstat.kstat_read(LibKstat.KstatCtl kc,
LibKstat.Kstat ksp,
com.sun.jna.Pointer p)
kstat_read() gets data from the kernel for the kstat pointed to by ksp.
|
int |
LibKstat.kstat_write(LibKstat.KstatCtl kc,
LibKstat.Kstat ksp,
com.sun.jna.Pointer buf)
kstat_write() writes data from buf, or from ksp.ks_data if buf is NULL,
to the corresponding kstat in the kernel.
|
| Modifier and Type | Method and Description |
|---|---|
static LibKstat.Kstat |
KstatUtil.kstatLookup(String module,
int instance,
String name)
Convenience method for kstat_lookup().
|
| Modifier and Type | Method and Description |
|---|---|
static List<LibKstat.Kstat> |
KstatUtil.kstatLookupAll(String module,
int instance,
String name)
Convenience method for kstat_lookup().
|
| Modifier and Type | Method and Description |
|---|---|
static long |
KstatUtil.kstatDataLookupLong(LibKstat.Kstat ksp,
String name)
Convenience method for kstat_data_lookup() with numeric return values.
|
static String |
KstatUtil.kstatDataLookupString(LibKstat.Kstat ksp,
String name)
Convenience method for kstat_data_lookup() with String return values.
|
static boolean |
KstatUtil.kstatRead(LibKstat.Kstat ksp)
Convenience method for kstat_read() which gets data from the kernel for
the kstat pointed to by ksp.
|
Copyright © 2010–2017 oshi. All rights reserved.