diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-18 15:27:44 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-02-18 15:47:47 +0000 |
commit | 2b8770720868c750ad8609df4041337eb2c6cf71 (patch) | |
tree | 85aff1e2b748d0e75ee5dbe82bc574bb2a5a9c1b /configs/mingw32_defconfig | |
parent | 2d20b9d88c4fc91637babaafa4a60dd7943e03a7 (diff) | |
download | busybox-w32-2b8770720868c750ad8609df4041337eb2c6cf71.tar.gz busybox-w32-2b8770720868c750ad8609df4041337eb2c6cf71.tar.bz2 busybox-w32-2b8770720868c750ad8609df4041337eb2c6cf71.zip |
free: implement sysinfo(2) and enable free(1)
This is an experimental implementation of sysinfo(2)/free(1).
It uses the WIN32 API GlobalMemoryStatusEx() to obtain information
about memory.
It seems that the 'total pagefile' value includes total RAM as well
as pagefile and 'available pagefile' includes available RAM. So the
RAM values are deducted.
I've no idea what corresponds to Linux buffers and cache.
Diffstat (limited to 'configs/mingw32_defconfig')
-rw-r--r-- | configs/mingw32_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/mingw32_defconfig b/configs/mingw32_defconfig index 7108c2dda..8c0e2ed42 100644 --- a/configs/mingw32_defconfig +++ b/configs/mingw32_defconfig | |||
@@ -1035,7 +1035,7 @@ CONFIG_FEATURE_MIME_CHARSET="" | |||
1035 | # | 1035 | # |
1036 | # Process Utilities | 1036 | # Process Utilities |
1037 | # | 1037 | # |
1038 | # CONFIG_FREE is not set | 1038 | CONFIG_FREE=y |
1039 | # CONFIG_FUSER is not set | 1039 | # CONFIG_FUSER is not set |
1040 | # CONFIG_IOSTAT is not set | 1040 | # CONFIG_IOSTAT is not set |
1041 | CONFIG_KILL=y | 1041 | CONFIG_KILL=y |