Skip to content

Add memory usage summary in scan output #4

@TheStack-ai

Description

@TheStack-ai

Context

zclean reports how many processes it found/killed. Adding a memory summary (total MB freed) would make the value more tangible.

What to do

After scanning, sum up RSS memory of zombie processes and display:
Found 5 zombie processes using 2.1 GB RAM

Files to modify

  • src/scanner.js (collect memory info)
  • src/reporter.js (display summary)

Difficulty: Easy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions