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