Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

tmemc

Introduction

Top MEMory Calculator is a tool that use top command or smem to calculate the max physical memory usage (RSS or PSS) of the processes that have the given name, during an amount of time or thoughout the procecesses' lifetimes. It's especially useful for those programs that has multiple processes (such as multiprocessing python programs).

Usage

tmemc ProgramName -- to show current memory usage(RSS).

tmemc ProgramName -p -- to show current memory usage(PSS, need smem).

tmemc ProgramName -d -- to wait the program to start and then ends when the program is down.

tmemc ProgramName -t 10 -i 0.1 -- run every 0.1 seconds in the next 10 seconds.

About

Top MEMory Calculator

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages