Project DescriptionOshi is a free JNA-based (native) operating system information library for Java. It doesn't require any additional native DLLs and aims to provide a cross-platform implementation to retrieve system information, such as version, memory, CPU, disk, etc.
Where are we?Oshi is a very young project. Although no code was committed for a while, it's very much alive. We'd like
you to contribute a *nix port. Read the
project intro.
See build
1.0 (Dev) for what's currently implemented. The plan is to quickly add features and support for various operating systems. See
contributing.
Here's sample test output:
Microsoft Windows 7
2 CPU(s):
Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Memory: 532.1 MB/2.0 GB
How is this different from ...
- Sigar
- Sigar is GPL. Oshi is distributed under the Eclipse Public License, which is compatible with commercial goals.
- Oshi uses JNA and doesn't require a native DLL to be installed.