We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2f68d3 commit 1b31489Copy full SHA for 1b31489
src/blocks/memory.rs
@@ -116,9 +116,8 @@ pub async fn run(config: Config, mut api: CommonApi) -> Result<()> {
116
} as f64
117
* 1024.;
118
119
- // TODO: While zfs_arc_cache can be considered "available" memory,
+ // While zfs_arc_cache can be considered "available" memory,
120
// it can only free a maximum of (zfs_arc_cache - zfs_arc_min) amount.
121
- // So we need to grab the info for zfs_arc_min as well, but cannot find it in arcstats...
122
// see https://github.com/htop-dev/htop/pull/1003
123
let zfs_shrinkable_size = if mem_state.zfs_arc_cache > mem_state.zfs_arc_min {
124
mem_state.zfs_arc_cache - mem_state.zfs_arc_min
0 commit comments