Replies: 2 comments
-
|
macOS supports dynamic allocation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's because of the different algorithm used for system memory usage calcuation. See #1463 for more information |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Read the FAQ first
Description
I was trying to use fastfetch to display swap status and expecting it to display it correctly. But it turned out it was incorrect.
fastfetch shows:
Swap: Disabledsysctl vm.compressor_modegives mevm.compressor_mode: 4on the other hand meaning "4 -> Compress memory: Enabled; Swap memory: Enabled"Furthermore:
memory usage report by fastfetch seems to be off by 10 - 15% compared to "Activity Monitor" app on macOS. how come?
Version used
fastfetch 2.39.1 (aarch64)
Bug prevalence
Always
Regression
Not sure
Installation
Package manager
Package manager
brew
Screenshots
No response
Configuration
System information
[ { "type": "Title", "result": { "userName": "blueberry", "hostName": "Mac.fritz.box", "homeDir": "/Users/blueberry/", "exePath": "/opt/homebrew/Cellar/fastfetch/2.39.1/bin/fastfetch", "userShell": "/opt/homebrew/bin/fish" }, "stat": 0.0040000081062316895 }, { "type": "Separator", "error": "Unsupported for JSON format", "stat": 0.0009999871253967285 }, { "type": "OS", "result": { "buildID": "24E248", "codename": "Sequoia", "id": "macos", "idLike": "", "name": "macOS", "prettyName": "", "variant": "", "variantID": "", "version": "15.4", "versionID": "15.4" }, "stat": 0.3230000138282776 }, { "type": "Host", "result": { "family": "Mac16,1", "name": "MacBook Pro (14-inch, 2024, Three Thunderbolt 4 ports)", "version": "", "sku": "", "vendor": "Apple Inc.", "serial": "J7DW7GX0RV", "uuid": "D7852E3A-B185-5938-A4C5-3DE24B503E3B" }, "stat": 0.11599999666213989 }, { "type": "Bios", "result": { "date": "Tue Mar 11 21:06:05 PDT 2025", "release": "", "vendor": "Apple Inc.", "version": "11881.101.1", "type": "iBoot" }, "stat": 0.4729999899864197 }, { "type": "Bootmgr", "result": { "name": "iBoot", "firmware": "/System/Library/CoreServices/boot.efi", "secureBoot": false }, "stat": 0.020000040531158447 }, { "type": "Board", "result": { "name": "J604AP", "vendor": "Apple Inc.", "version": "", "serial": "" }, "stat": 0.02899998426437378 }, { "type": "Chassis", "result": { "type": "Laptop", "vendor": "Apple Inc.", "version": "", "serial": "" }, "stat": 0.046999990940093994 }, { "type": "Kernel", "result": { "architecture": "arm64", "name": "Darwin", "release": "24.4.0", "version": "Darwin Kernel Version 24.4.0: Wed Mar 19 21:11:02 PDT 2025; root:xnu-11417.101.15~1/RELEASE_ARM64_T8132", "displayVersion": "", "pageSize": 16384 }, "stat": 0.001999974250793457 }, { "type": "InitSystem", "result": { "name": "launchd", "exe": "/sbin/launchd", "version": "7.0.0", "pid": 1 }, "stat": 9.516000032424927 }, { "type": "Uptime", "result": { "uptime": 271749064, "bootTime": "2025-04-17T10:58:13.630+0200" }, "stat": 0.29100000858306885 }, { "type": "Loadavg", "result": [ 1.80908203125, 1.5517578125, 1.56591796875 ], "stat": 0.0040000081062316895 }, { "type": "Processes", "result": 2757, "stat": 0.38599997758865356 }, { "type": "Packages", "result": { "all": 183, "amSystem": 0, "amUser": 0, "apk": 0, "brew": 139, "brewCask": 44, "choco": 0, "dpkg": 0, "emerge": 0, "eopkg": 0, "flatpakSystem": 0, "flatpakUser": 0, "guixSystem": 0, "guixUser": 0, "guixHome": 0, "hpkgSystem": 0, "hpkgUser": 0, "linglong": 0, "mport": 0, "nixDefault": 0, "nixSystem": 0, "nixUser": 0, "opkg": 0, "pacman": 0, "pacstall": 0, "paludis": 0, "pisi": 0, "pkg": 0, "pkgtool": 0, "pkgsrc": 0, "qi": 0, "macports": 0, "rpm": 0, "scoop": 0, "snap": 0, "sorcery": 0, "winget": 0, "xbps": 0, "pacmanBranch": "" }, "stat": 0.24700003862380981 }, { "type": "Shell", "result": { "exe": "/opt/homebrew/bin/fish", "exeName": "fish", "exePath": "/opt/homebrew/bin/fish", "pid": 3010, "ppid": 3009, "processName": "fish", "prettyName": "fish", "version": "4.0.1", "tty": 5 }, "stat": 4.889999985694885 }, { "type": "Editor", "error": "$VISUAL or $EDITOR not set", "stat": 0.008000016212463379 }, { "type": "Display", "result": [ { "id": 1, "name": "Color LCD", "primary": true, "output": { "width": 3024, "height": 1964, "refreshRate": 120.0 }, "scaled": { "width": 1512, "height": 982 }, "preferred": { "width": 3024, "height": 1964, "refreshRate": 120.0 }, "physical": { "width": 302, "height": 196 }, "rotation": 0, "bitDepth": 10, "hdrStatus": "Supported", "type": "Builtin", "manufactureDate": null, "serial": 4251086178, "platformApi": "CoreGraphics" } ], "stat": 36.53999996185303 }, { "type": "Brightness", "result": [ { "name": "Color LCD", "max": 1.0, "min": 0.0, "current": 0.5830265879631042, "builtin": true } ], "stat": 0.8480000495910645 }, { "type": "Monitor", "error": "Monitor module is an alias of Display module", "stat": 0.0009999871253967285 }, { "type": "LM", "error": "Not supported on this platform", "stat": 0.0009999871253967285 }, { "type": "DE", "result": { "processName": "", "prettyName": "Aqua", "version": "" }, "stat": 0.0009999871253967285 }, { "type": "WM", "result": { "processName": "WindowServer", "prettyName": "Quartz Compositor", "protocolName": "", "pluginName": "", "version": "278.4.7" }, "stat": 0.1640000343322754 }, { "type": "WMTheme", "result": "Multicolor (Light)", "stat": 0.10899996757507324 }, { "type": "Theme", "error": "Not supported on this platform", "stat": 0.0009999871253967285 }, { "type": "Icons", "error": "Not supported on this platform", "stat": 0.001000046730041504 }, { "type": "Font", "result": { "display": ".AppleSystemUIFont [System], Helvetica [User]", "fonts": [ ".AppleSystemUIFont", "Helvetica", ".AppleSystemUIFontMonospaced", "Menlo" ] }, "stat": 3.4529999494552612 }, { "type": "Cursor", "result": { "theme": "Fill - Black, Outline - White", "size": "32" }, "stat": 0.09400004148483276 }, { "type": "Wallpaper", "error": "All detection methods failed", "stat": 95.10799998044968 }, { "type": "Terminal", "result": { "processName": "ghostty", "exe": "/Applications/Ghostty.app/Contents/MacOS/ghostty", "exeName": "ghostty", "exePath": "/Applications/Ghostty.app/Contents/MacOS/ghostty", "pid": 612, "ppid": 1, "prettyName": "ghostty", "version": "1.1.3", "tty": "" }, "stat": 1.046999990940094 }, { "type": "TerminalFont", "result": { "font": { "name": "JetBrainsMono Nerd Font", "size": "13", "styles": [], "pretty": "JetBrainsMono Nerd Font (13pt)" }, "fallback": { "name": "", "size": "", "styles": [], "pretty": "" } }, "stat": 0.16800004243850708 }, { "type": "TerminalSize", "result": { "columns": 188, "rows": 50, "width": 3016, "height": 1768 }, "stat": 0.05799996852874756 }, { "type": "TerminalTheme", "result": { "fg": { "r": 248, "g": 248, "b": 242, "dark": false }, "bg": { "r": 40, "g": 42, "b": 54, "dark": true } }, "stat": 0.14800000190734863 }, { "type": "CPU", "result": { "cpu": "Apple M4", "vendor": "Apple", "packages": 1, "cores": { "physical": 10, "logical": 10, "online": 10 }, "frequency": { "base": 0, "max": 4464 }, "coreTypes": [ { "count": 4, "freq": 2 }, { "count": 6, "freq": 1 } ], "temperature": 38.98316510518392 }, "stat": 4.953999996185303 }, { "type": "CPUCache", "result": { "l1": [ { "size": 196608, "num": 4, "lineSize": 0, "type": "instruction" }, { "size": 131072, "num": 4, "lineSize": 0, "type": "data" }, { "size": 131072, "num": 6, "lineSize": 0, "type": "instruction" }, { "size": 65536, "num": 6, "lineSize": 0, "type": "data" } ], "l2": [ { "size": 16777216, "num": 1, "lineSize": 0, "type": "unified" }, { "size": 4194304, "num": 1, "lineSize": 0, "type": "unified" } ] }, "stat": 0.02899998426437378 }, { "type": "CPUUsage", "result": [ 5.0, 9.523809523809524, 0.0, 4.761904761904762, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ], "stat": 205.1350000500679 }, { "type": "GPU", "result": [ { "index": 0, "coreCount": 10, "coreUsage": 2.0, "memory": { "dedicated": { "total": null, "used": null }, "shared": { "total": 17179885568, "used": 445775872 } }, "driver": "com.apple.AGXG16G 325.34.1", "name": "Apple M4", "temperature": 33.457966804504395, "type": "Integrated", "vendor": "Apple", "platformApi": "Metal 3", "frequency": 1578, "deviceId": 4294968336 } ], "stat": 16.685999989509583 }, { "type": "Memory", "result": { "total": 25769803776, "used": 14835892224 }, "stat": 0.009999990463256836 }, { "type": "PhysicalMemory", "result": [ { "size": 25769803776, "maxSpeed": 0, "runningSpeed": 0, "type": "LPDDR5", "locator": "", "formFactor": "", "vendor": "Hynix", "serial": "", "partNumber": "", "ecc": false } ], "stat": 150.39600002765656 }, { "type": "Swap", "result": { "total": 0, "used": 0 }, "stat": 0.009999990463256836 }, { "type": "Disk", "result": [ { "bytes": { "available": 164965023744, "free": 164965023744, "total": 994662584320, "used": 829697560576 }, "files": { "total": 1611411527, "used": 424967 }, "filesystem": "apfs", "mountpoint": "/", "mountFrom": "/dev/disk3s1s1", "name": "Macintosh HD", "volumeType": [ "Regular", "Read-only" ], "createTime": "2025-03-27T12:00:33.000+0100" }, { "bytes": { "available": 164965048320, "free": 164965048320, "total": 994662584320, "used": 829697536000 }, "files": { "total": 1613302814, "used": 2316014 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/Data", "mountFrom": "/dev/disk3s5", "name": "Data", "volumeType": [ "Hidden" ], "createTime": "2025-02-04T19:14:50.954+0100" }, { "bytes": { "available": 504225792, "free": 504225792, "total": 524288000, "used": 20062208 }, "files": { "total": 4924190, "used": 110 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/Hardware", "mountFrom": "/dev/disk1s3", "name": "Hardware", "volumeType": [ "Hidden" ], "createTime": "2025-02-28T01:30:43.352+0100" }, { "bytes": { "available": 164965052416, "free": 164965052416, "total": 994662584320, "used": 829697531904 }, "files": { "total": 1610988656, "used": 1816 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/Preboot", "mountFrom": "/dev/disk3s2", "name": "Preboot", "volumeType": [ "Hidden" ], "createTime": "2025-02-28T01:30:41.999+0100" }, { "bytes": { "available": 164964761600, "free": 164964761600, "total": 994662584320, "used": 829697822720 }, "files": { "total": 1610984349, "used": 349 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/Update", "mountFrom": "/dev/disk3s4", "name": "Update", "volumeType": [ "Hidden" ], "createTime": "2025-02-28T01:30:44.302+0100" }, { "bytes": { "available": 164964761600, "free": 164964761600, "total": 994662584320, "used": 829697822720 }, "files": { "total": 1611408963, "used": 424963 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/Update/mnt1", "mountFrom": "/dev/disk3s1", "name": "mnt1", "volumeType": [ "Hidden" ], "createTime": "2025-03-27T12:00:33.000+0100" }, { "bytes": { "available": 164964761600, "free": 164964761600, "total": 994662584320, "used": 829697822720 }, "files": { "total": 1610984000, "used": 0 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/VM", "mountFrom": "/dev/disk3s6", "name": "VM", "volumeType": [ "Hidden" ], "createTime": "2025-02-28T01:42:47.480+0100" }, { "bytes": { "available": 504225792, "free": 504225792, "total": 524288000, "used": 20062208 }, "files": { "total": 4924109, "used": 29 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/iSCPreboot", "mountFrom": "/dev/disk1s1", "name": "iSCPreboot", "volumeType": [ "Hidden" ], "createTime": "2025-02-28T01:30:42.917+0100" }, { "bytes": { "available": 504225792, "free": 504225792, "total": 524288000, "used": 20062208 }, "files": { "total": 4924081, "used": 1 }, "filesystem": "apfs", "mountpoint": "/System/Volumes/xarts", "mountFrom": "/dev/disk1s2", "name": "xarts", "volumeType": [ "Hidden" ], "createTime": "2025-02-28T01:30:43.136+0100" } ], "stat": 0.15099996328353882 }, { "type": "Btrfs", "error": "Not supported on this platform", "stat": 0.0009999871253967285 }, { "type": "Zpool", "error": "Not supported on this platform", "stat": 0.0 }, { "type": "Battery", "result": [ { "capacity": 62.0, "manufacturer": "Apple Inc.", "manufactureDate": "2024-09-04", "modelName": "bq40z651", "status": "Discharging", "technology": "Lithium", "serial": "F8YH97006KJ00000E5", "temperature": 28.850000000000023, "cycleCount": 13, "timeRemaining": 36840 } ], "stat": 0.7590000033378601 }, { "type": "PowerAdapter", "result": [], "stat": 0.1899999976158142 }, { "type": "Player", "error": "Player module is an alias of Media module", "stat": 0.0009999871253967285 }, { "type": "Media", "error": "MRMediaRemoteGetNowPlayingInfo() failed", "stat": 3.787000000476837 }, { "type": "LocalIp", "result": [ { "name": "en0", "defaultRoute": true, "ipv4": "192.168.178.148/24", "ipv6": "fe80::14d1:5842:b39b:652c/64,2001:a61:137d:d701:14e4:712d:6bb3:30a4/64,2001:a61:137d:d701:f436:2572:338f:ad61/64,fddc:9582:71e1:0:858:1a72:39f4:7bbe/64", "mac": "2a:1f:ee:42:7d:f1", "mtu": 1500, "speed": -1, "flags": "UP,BROADCAST,RUNNING,MULTICAST,NOTRAILERS,SIMPLEX" } ], "stat": 0.08600002527236938 }, { "type": "DNS", "result": [ "192.168.178.1", "fddc:9582:71e1:0:3ea6:2fff:fe91:87f4", "2001:a61:137d:d701:3ea6:2fff:fe91:87f4" ], "stat": 0.050999999046325684 }, { "type": "Wifi", "result": [ { "inf": { "description": "en0", "status": "Power On" }, "conn": { "status": "Active", "ssid": "casa92", "bssid": "<redacted>", "protocol": "802.11n (Wi-Fi 4)", "security": "WPA2 Personal", "signalQuality": 88.0, "rxRate": null, "txRate": 144.0, "channel": 1, "frequency": 2400 } } ], "stat": 25.67500001192093 }, { "type": "DateTime", "result": "2025-04-20T14:27:23.246+0200", "stat": 0.013000011444091797 }, { "type": "Locale", "result": "en_US.UTF-8", "stat": 0.0009999871253967285 }, { "type": "Vulkan", "error": "dlopen libvulkan.dylib failed", "stat": 0.18599998950958252 }, { "type": "OpenGL", "result": { "version": "4.1 Metal - 89.4", "renderer": "Apple M4", "vendor": "Apple", "slv": "4.10", "library": "CGL 1.2" }, "stat": 9.3299999833107 }, { "type": "OpenCL", "result": { "version": "1.2 (Mar 7 2025 21:04:06)", "name": "Apple", "vendor": "Apple", "gpus": [ { "type": "Integrated", "vendor": "Apple", "name": "Apple M4", "driver": "1.0", "platformApi": "OpenCL 1.2", "coreCount": 10, "frequency": 1000, "memory": { "dedicated": { "total": null, "used": null }, "shared": { "total": 17179885568, "used": null } }, "deviceId": 16940800 } ] }, "stat": 0.016000032424926758 }, { "type": "Users", "result": [ { "name": "blueberry", "hostName": "", "sessionName": "console", "clientIp": "", "loginTime": "2025-04-17T10:58:51.169+0200" } ], "stat": 0.09099996089935303 }, { "type": "Bluetooth", "result": [], "stat": 31.787000000476837 }, { "type": "BluetoothRadio", "result": [ { "name": "", "address": "00:00:00:00:00:00", "lmpVersion": null, "lmpSubversion": null, "vendor": "Apple", "enabled": false, "discoverable": false, "connectable": true } ], "stat": 152.30300003290176 }, { "type": "Sound", "result": [ { "active": true, "main": true, "volume": 75, "name": "MacBook Pro Speakers", "identifier": "94", "platformApi": "Core Audio" }, { "active": true, "main": false, "volume": null, "name": "blueberry", "identifier": "51", "platformApi": "Core Audio" } ], "stat": 44.64399999380112 }, { "type": "Camera", "result": [ { "name": "MacBook Pro Camera", "vendor": "Apple Inc.", "colorSpace": "sRGB", "id": "6C707041-05AC-0010-0001-000000000001", "width": 1920, "height": 1080 } ], "stat": 36.88800001144409 }, { "type": "Gamepad", "result": [], "stat": 0.17599999904632568 }, { "type": "Mouse", "result": [ { "serial": "", "name": "Apple Internal Keyboard / Trackpad" } ], "stat": 9.74700003862381 }, { "type": "Keyboard", "result": [ { "serial": "", "name": "Apple Internal Keyboard / Trackpad" } ], "stat": 7.414999961853027 }, { "type": "Weather", "result": "+20°C - Sunny (Munich, Germany)", "stat": 0.08300000429153442 }, { "type": "NetIO", "result": [ { "name": "en0", "defaultRoute": true, "txBytes": 747, "rxBytes": 1387, "txPackets": 10, "rxPackets": 10, "rxErrors": 0, "txErrors": 0, "rxDrops": 0, "txDrops": 0 } ], "stat": 145.47600001096725 }, { "type": "DiskIO", "result": [ { "name": "APPLE SSD AP1024Z Media", "devPath": "/dev/disk0", "bytesRead": 12288, "bytesWritten": 503808, "readCount": 3, "writeCount": 62 } ], "stat": 0.4790000319480896 }, { "type": "PhysicalDisk", "result": [ { "name": "APPLE SSD AP1024Z Media", "devPath": "/dev/disk0", "interconnect": "Apple Fabric", "kind": "SSD", "size": 1000555581440, "serial": "0ba022b962409226", "removable": false, "readOnly": false, "revision": "2077.100", "temperature": 28.0 } ], "stat": 3.3289999961853027 }, { "type": "TPM", "error": "Not supported on this platform", "stat": 0.0009999871253967285 }, { "type": "Version", "result": { "projectName": "fastfetch", "sysName": "Darwin", "architecture": "aarch64", "version": "2.39.1", "versionGit": "", "cmakeBuiltType": "Release", "compileTime": "Mar 20 2025, 15:24:14", "compiler": "Apple clang 16.0.0 (16000026)", "debugMode": false, "libc": "libSystem 1351.0.0" }, "stat": 0.001999974250793457 }, { "type": "Break", "error": "Unsupported for JSON format", "stat": 0.0 }, { "type": "Colors", "error": "Unsupported for JSON format", "stat": 0.0 } ]Features built-in
Beta Was this translation helpful? Give feedback.
All reactions