type definitions and docs update

This commit is contained in:
Sebastian Hildebrandt 2019-11-10 22:38:18 +01:00
parent aa22a890fd
commit e8a2ead0e5
5 changed files with 44 additions and 1 deletions

View File

@ -30,7 +30,8 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment | | 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.1 | 2019-11-10 | `diskLayout()` added support for older lsblk versions (linux) |
| 4.15.0 | 2019-11-10 | `cpu()` added governor (linux) | | 4.15.0 | 2019-11-10 | `cpu()` added governor (linux) |
| 4.14.17 | 2019-10-22 | `graphics()` improved display detection (windows) | | 4.14.17 | 2019-10-22 | `graphics()` improved display detection (windows) |

View File

@ -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) | | | used | X | X | X | X | X | used (incl. buffers/cache) |
| | active | X | X | X | X | X | used actively (excl. buffers/cache) | | | active | X | X | X | X | X | used actively (excl. buffers/cache) |
| | buffcache | X | X | X | | X | used by 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) | | | available | X | X | X | X | X | potentially available (total - active) |
| | swaptotal | X | X | X | X | X | | | | swaptotal | X | X | X | X | X | |
| | swapused | X | X | X | X | X | | | | swapused | X | X | X | X | X | |

View File

@ -83,6 +83,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">4.15.3</th>
<td>2019-11-10</td>
<td><span class="code">type definitions</span> and docs update</td>
</tr>
<tr> <tr>
<th scope="row">4.15.2</th> <th scope="row">4.15.2</th>
<td>2019-11-10</td> <td>2019-11-10</td>

View File

@ -125,6 +125,36 @@
<td>X</td> <td>X</td>
<td>used by buffers+cache</td> <td>used by buffers+cache</td>
</tr> </tr>
<tr>
<td></td>
<td>buffers</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>used by buffers</td>
</tr>
<tr>
<td></td>
<td>cached</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>used by cache</td>
</tr>
<tr>
<td></td>
<td>slab</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>used by slab</td>
</tr>
<tr> <tr>
<td></td> <td></td>
<td>available</td> <td>available</td>

4
lib/index.d.ts vendored
View File

@ -63,6 +63,7 @@ export namespace Systeminformation {
speed: string; speed: string;
speedmin: string; speedmin: string;
speedmax: string; speedmax: string;
governor: string;
cores: number; cores: number;
physicalCores: number; physicalCores: number;
processors: number; processors: number;
@ -101,6 +102,9 @@ export namespace Systeminformation {
active: number; active: number;
available: number; available: number;
buffcache: number; buffcache: number;
buffers: number;
cached: number;
slab: number;
swaptotal: number; swaptotal: number;
swapused: number; swapused: number;
swapfree: number; swapfree: number;