Skip to content

Add "-r" option to sar-mem to collect free/used metrics#52

Merged
k-rister merged 1 commit intomasterfrom
tool-sysstat-dev
Mar 19, 2026
Merged

Add "-r" option to sar-mem to collect free/used metrics#52
k-rister merged 1 commit intomasterfrom
tool-sysstat-dev

Conversation

@HughNhan
Copy link
Contributor

I (+Claude) added "-r" to sar-mem to collect additonal metrics.

Previous:
"types: Page-faults-sec KB-Paged-in-sec KB-Paged-out-sec Pages-freed-sec Pages-swapped-in-sec VM-Efficiency kswapd-scanned-pages-sec reclaimed-pages-sec scanned-pages-sec"

With "-r":
"types: Page-faults-sec KB-Paged-out-sec Memory-Active-KB Memory-Available-KB Memory-Buffers-KB Memory-Cached-KB Memory-Commit-KB Memory-Commit-Percent Memory-Dirty-KB Memory-Free-KB Memory-Inactive-KB Memory-Used-KB Memory-Used-Percent Pages-freed-sec KB-Paged-in-sec VM-Efficiency kswapd-scanned-pages-
sec reclaimed-pages-sec"

The added are:

  • Memory-Free-KB
  • Memory-Available-KB
  • Memory-Buffers-KB
  • Memory-Cached-KB
  • Memory-Active-KB
  • Memory-Inactive-KB
  • Memory-Used-KB
  • Memory-Commit-KB
  • Memory-Commit-Percent
  • Memory-Dirty-KB

Should we commit? Or make it an argument option? Or keep it on the side for personal use?

Copy link
Contributor

@k-rister k-rister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to add.

@k-rister k-rister merged commit 9f07c65 into master Mar 19, 2026
40 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Crucible Tracking Mar 19, 2026
@k-rister k-rister deleted the tool-sysstat-dev branch March 19, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants