Skip to content

Commit 06854fd

Browse files
committed
add README.md
1 parent 733322f commit 06854fd

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

README.md

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
uksmstat
2+
========
3+
4+
Simple tool to monitor and control UKSM.
5+
6+
Compiling
7+
---------
8+
9+
### Prerequisites
10+
11+
* gcc
12+
* make
13+
14+
### Compilation
15+
16+
Enter **uksmstat** directory and type `make`.
17+
18+
### Installation
19+
20+
Type `sudo make install` to install uksmstat and uksmctl binaries into bin directory.
21+
22+
Usage
23+
-----
24+
25+
### Prerequisites
26+
27+
You need UKSM-enabled kernel, e.g. pf-kernel.
28+
29+
### uksmstat
30+
31+
* -a — shows whether UKSM is active
32+
* -u — shows unshared memory
33+
* -s — shows saved memory
34+
* -c — shows scanned memory
35+
* -k — uses kibibytes
36+
* -m — uses mebibytes
37+
* -g — uses gibibytes
38+
* -p — increases precision (specify -pppp… for better precision)
39+
* -v — be verbose (up to -vv)
40+
* -h — shows this help
41+
42+
Typical usage: `uksmstat -sppv`.
43+
44+
### uksmctl
45+
46+
* -a — activates UKSM
47+
* -d — deactivates UKSM
48+
* -s — toggles UKSM state
49+
* -v — be verbose (up to -vv)
50+
* -h — shows this help
51+
52+
Typical usage: `sudo uksmctl -a`.
53+
54+
Distribution and Contribution
55+
-----------------------------
56+
57+
uksmstat is provided under terms and conditions of GPLv3+. See file "COPYING" for details. Mail any suggestions, bugreports and comments to me: [email protected].

0 commit comments

Comments
 (0)