maxrss
v1.0.0
Published
A simple program to print the maximum memory usage of a process.
Downloads
2
Readme
memused
A simple program to print the maximum memory usage of a process.
$ bunx maxmem echo hello
hello
Peak memory usage: 1.36 MB
If you want to control the prefix of the output, you can use the --prefix
flag:
$ bunx maxrss --prefix="maxmem: " echo hello
hello
Peak memory usage: 1.36 MB
--prefix
is the only flag, besides --help
.