Skip to content

rwxd/vmrss

Repository files navigation

vmrss

A simple tool to show the memory usage of a process and its children.

Install

Get the latest binary from the releases page.

Or install with go:

go get github.com/rwxd/vmrss

Usage

Continuously monitor a process

vmrss -m 3840
.kitty-wrapped(3840): 151.23 MB
  zsh(3851): 12.50 MB
    tmux: client(3992): 5.20 MB
    zsh(3938): 9.28 MB
Total: 178.20 MB

Set custom interval in milliseconds

vmrss -m -i 2000 3840

Quit after a certain amount of time in seconds

vmrss -m -t 10 26847

Do not show children

vmrss -m -c=false 26847

Show swapped memory

vmrss -m -s 3840
.kitty-wrapped(3840): 151.36 MB | swap: 0.00 MB
  zsh(3851): 12.50 MB | swap: 0.00 MB
    tmux: client(3992): 5.20 MB | swap: 0.00 MB
    zsh(3938): 9.28 MB | swap: 0.00 MB
Total: 178.34 MB | swap: 0.00 MB

About

Tool to show the memory usage of a process and its children

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages