Essential System Utils

mstat – measure memory usage of a program over time

mstat runs on Linux, taking advantage of the cgroups kernel API (also used by container infrastructure like Docker) to record memory usage of a set of processes over time. Because mstat builds on groups, we automatically track memory usage of any child-processes spawned by the original program.

Additionally, the Memory API we are using not only gives us detailed information about userspace memory usage, but also about kernel memory allocated on behalf of the program. (such as memory used to mange a process’s page tables).

This is free and open source software.

Website: github.com/bpowers/mstat
Support:
Developer: Bobby Powers
License: ISC License

mstat options

mstat is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Process Memory Tools
ps_memAccurately reports memory usage of programs
pscircleVisualizes Linux processes in a form of radial tree
psrecordRecord the CPU and memory activity of a process
smem2Reports on memory usage on Linux systems
process-memDisplay memory used by processes
process-mapVisualize the virtual memory of a process
SmemstatReports the physical memory usage
mstatMeasure memory usage of a program over time
alramHelps when available memory is below threshold, with optional task killer

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted