diff --git a/CHANGELOG.md b/CHANGELOG.md index 030f5d9..9eb4a3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,8 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | -| 4.15.2 | 2019-11-11 | `mem()` improved calculation linux | +| 4.15.2 | 2019-11-10 | type definitions and docs update | +| 4.15.2 | 2019-11-10 | `mem()` improved calculation linux | | 4.15.1 | 2019-11-10 | `diskLayout()` added support for older lsblk versions (linux) | | 4.15.0 | 2019-11-10 | `cpu()` added governor (linux) | | 4.14.17 | 2019-10-22 | `graphics()` improved display detection (windows) | diff --git a/README.md b/README.md index 8ad39ab..3b84853 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,9 @@ I also created a nice little command line tool called [mmon][mmon-github-url] ( | | used | X | X | X | X | X | used (incl. buffers/cache) | | | active | X | X | X | X | X | used actively (excl. buffers/cache) | | | buffcache | X | X | X | | X | used by buffers+cache | +| | buffers | X | | | | | used by buffers | +| | cached | X | | | | | used by cache | +| | slab | X | | | | | used by slab | | | available | X | X | X | X | X | potentially available (total - active) | | | swaptotal | X | X | X | X | X | | | | swapused | X | X | X | X | X | | diff --git a/docs/history.html b/docs/history.html index 94a1f9c..4b5c709 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.15.3 + 2019-11-10 + type definitions and docs update + 4.15.2 2019-11-10 diff --git a/docs/memory.html b/docs/memory.html index 2b72317..eb401f3 100644 --- a/docs/memory.html +++ b/docs/memory.html @@ -125,6 +125,36 @@ X used by buffers+cache + + + buffers + X + + + + + used by buffers + + + + cached + X + + + + + used by cache + + + + slab + X + + + + + used by slab + available diff --git a/lib/index.d.ts b/lib/index.d.ts index 996fd71..c4991bf 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -63,6 +63,7 @@ export namespace Systeminformation { speed: string; speedmin: string; speedmax: string; + governor: string; cores: number; physicalCores: number; processors: number; @@ -101,6 +102,9 @@ export namespace Systeminformation { active: number; available: number; buffcache: number; + buffers: number; + cached: number; + slab: number; swaptotal: number; swapused: number; swapfree: number;