From 2b8770720868c750ad8609df4041337eb2c6cf71 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 18 Feb 2021 15:27:44 +0000 Subject: 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. --- configs/mingw32_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/mingw32_defconfig') 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="" # # Process Utilities # -# CONFIG_FREE is not set +CONFIG_FREE=y # CONFIG_FUSER is not set # CONFIG_IOSTAT is not set CONFIG_KILL=y -- cgit v1.2.3-55-g6feb