Skip to content

necromuralist/smem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMEM Memory Profiler Update

This is an update of the smem command-line memory reporting tool created by Matt Mackall. The idea is to make it both python 2.7 and python 3.5+ compatible. There are other repositories that do this (I think), but I want to document it as well and use it as a python library as well as (or maybe more than) a command-line tool.

The documentation page is here and the repository for the code is on github.

Setting Up

The only dependency is the future package. When you install smem it will try and install it for you. If you cloned the repository then you can install it with the setup.py file.

python setup.py install

If you didn’t download the repository but you have your ssh-keys set up, you can install it directly from github.

pip install git+ssh://https://github.com/necromuralist/smem

Either of these methods will install the code in your site-packages so you can use it in python functions as well as installing the command-line smem command.

Examples

smem has the typical python command-line interface. You can see the options using the --help or -h flags.

smem -h

There are too many processes to really show the non-system output here, but this what the system use on my computer is.

smem -wpt

About

A futurization of the smem command-line tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages