| Package | Description |
|---|---|
| oshi.jna.platform.unix.solaris |
Provides extensions of JNA libraries for Solaris.
|
| Modifier and Type | Method and Description |
|---|---|
LibKstat.KstatCtl |
LibKstat.kstat_open()
The kstat_open() function initializes a kstat control structure, which
provides access to the kernel statistics library.
|
| Modifier and Type | Method and Description |
|---|---|
int |
LibKstat.kstat_chain_update(LibKstat.KstatCtl kc)
The kstat_chain_update() function brings the user's kstat header chain in
sync with that of the kernel.
|
int |
LibKstat.kstat_close(LibKstat.KstatCtl kc)
The kstat_close() function frees all resources that were associated with
kc.
|
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.
|
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.
|
Copyright © 2010–2017 oshi. All rights reserved.