Skip to content

Commit e2a420b

Browse files
committed
Improve documentation
1 parent 5e01693 commit e2a420b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ See the affinity/src/test/java for working examples of how to use this library.
1010
V2.2 - Latest build.
1111
V2.0.1 - Added getThreadId for the process if of the thread.
1212

13+
### Installing JNA on Ubuntu
14+
15+
----
16+
sudo apt-get install libjna-java
17+
----
18+
19+
### Installing JAN on Centos
20+
21+
----
22+
sudo yum install jna
23+
----
24+
1325
## How does allocation work?
1426
The library will read your /proc/cpuinfo if you have one or provide one and it will determine your CPU layout. If you don't have one it will assume every CPU is on one Socket.
1527

0 commit comments

Comments
 (0)