Skip to content
This repository was archived by the owner on Aug 29, 2020. It is now read-only.
This repository was archived by the owner on Aug 29, 2020. It is now read-only.

output snapshot as json #180

@zachvalenta

Description

@zachvalenta

ask

CLI arg to output snapshot of system metrics (CPU, mem, disk, et al.) as JSON

why

Diffing. For example, let's say your machine feels laggy. You open gotop and things look pretty normal, but you don't remember the metrics from the last time you opened gotop, so unless something is very obviously wrong (machine is super hot, runaway process is hogging memory) you won't have any useful comparisons to make.

Whereas, with the JSON output option, you could just gotop --json > gotop-metrics-<date>.json to establish a baseline and then, when things get laggy, compare your current situation to the baseline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions