Skip to content

Shortcut for live plot of memory usage? #167

@gamesbook

Description

@gamesbook

The existing command in the doc is:

sar -r 1 | perl -lane 'BEGIN{$|=1} print "@F[5]"' | ttyplot -s 100 -t "memory used %" -u "%"

But I found on my system (Mint 21.2) I had to use:

sar -r 1 | perl -lane 'BEGIN{$|=1} print "@F[4]"' | ttyplot -s 100 -t "memory used %" -u "%"

Perhaps its obvious to others, but for me as a newbie, I figured I needed to run:

sar -r 1

And then count to the colored column in which %memused appeared.

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