{
"info": {
"author": "Thomas Robitaille",
"author_email": "thomas.robitaille@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python"
],
"description": "|Build Status| |Coverage Status|\n\nAbout\n=====\n\n``psrecord`` is a small utility that uses the\n`psutil `__ library to record the CPU\nand memory activity of a process. The package is still under development\nand is therefore experimental.\n\nThe code is released under a Simplified BSD License, which is given in\nthe ``LICENSE`` file.\n\nRequirements\n============\n\n- Python 2.7 or 3.3 and higher\n- `psutil `__ 1.0 or later\n- `matplotlib `__ (optional, used for\n plotting)\n\nInstallation\n============\n\nTo install, simply do::\n\n pip install psrecord\n\nUsage\n=====\n\nBasics\n------\n\nTo record the CPU and memory activity of an existing process to a file (use sudo for a root process):\n\n::\n\n psrecord 1330 --log activity.txt\n\nwhere ``1330`` is an example of a process ID which you can find with\n``ps`` or ``top``. You can also use ``psrecord`` to start up a process\nby specifying the command in quotes:\n\n::\n\n psrecord \"hyperion model.rtin model.rtout\" --log activity.txt\n\nPlotting\n--------\n\nTo make a plot of the activity:\n\n::\n\n psrecord 1330 --plot plot.png\n\nThis will produce a plot such as:\n\n.. image:: https://github.com/astrofrog/psrecord/raw/master/screenshot.png\n\nYou can combine these options to write the activity to a file and make a\nplot at the same time:\n\n::\n\n psrecord 1330 --log activity.txt --plot plot.png\n\nDuration and intervals\n----------------------\n\nBy default, the monitoring will continue until the process is stopped.\nYou can also specify a maximum duration in seconds:\n\n::\n\n psrecord 1330 --log activity.txt --duration 10\n\nFinally, the process is polled as often as possible by default, but it\nis possible to set the time between samples in seconds:\n\n::\n\n psrecord 1330 --log activity.txt --interval 2\n\nSubprocesses\n------------\n\nTo include sub-processes in the CPU and memory stats, use:\n\n::\n\n psrecord 1330 --log activity.txt --include-children\n\nRunning tests\n=============\n\nTo run tests, you will need `pytest `_. You can install it with::\n\n pip install pytest\n\nYou can then run the tests with::\n\n pytest psrecord\n\nReporting issues\n================\n\nPlease report any issues in the `issue\ntracker `__.\n\n.. |Build Status| image:: https://travis-ci.org/astrofrog/psrecord.svg?branch=master\n :target: https://travis-ci.org/astrofrog/psrecord\n.. |Coverage Status| image:: https://coveralls.io/repos/astrofrog/psrecord/badge.svg\n :target: https://coveralls.io/r/astrofrog/psrecord\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/astrofrog/psrecord",
"keywords": "",
"license": "Simplified BSD License",
"maintainer": "",
"maintainer_email": "",
"name": "psrecord",
"package_url": "https://pypi.org/project/psrecord/",
"platform": "",
"project_url": "https://pypi.org/project/psrecord/",
"project_urls": {
"Homepage": "https://github.com/astrofrog/psrecord"
},
"release_url": "https://pypi.org/project/psrecord/1.1/",
"requires_dist": [
"psutil"
],
"requires_python": "",
"summary": "Python package to record activity from processes",
"version": "1.1"
},
"last_serial": 3969521,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "c1411c415c6d567cf104f133b2857ac7",
"sha256": "a7874784ef9f0fc9de299820ae4b48a7f84c85a49f3ca27b266e4d5902545785"
},
"downloads": -1,
"filename": "psrecord-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "c1411c415c6d567cf104f133b2857ac7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 53940,
"upload_time": "2013-12-17T23:54:11",
"url": "https://files.pythonhosted.org/packages/2f/55/947f303fd4dbb150e33b181c85c76e13c81657c32b4d2fcc04f05bc2ede3/psrecord-0.1.0.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "a3aca695f0657ff2f50928c8bd070752",
"sha256": "e1848890909c99bcd113b09045f4f61359f2183272ba06115e0b2d66e160e882"
},
"downloads": -1,
"filename": "psrecord-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "a3aca695f0657ff2f50928c8bd070752",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 54467,
"upload_time": "2014-10-22T11:33:22",
"url": "https://files.pythonhosted.org/packages/0d/47/fafdbc0bb32fe7ec11b93430999263c2456c97b281bf4ca282714c9cf1ce/psrecord-0.2.0.tar.gz"
}
],
"1.0": [
{
"comment_text": "",
"digests": {
"md5": "ef63311f6f1456696c8eb30db3d8ecf8",
"sha256": "e4e44eaac80169588a383fb0ac0b29548e0a32c9a6832891eaeb666656fe3937"
},
"downloads": -1,
"filename": "psrecord-1.0.tar.gz",
"has_sig": false,
"md5_digest": "ef63311f6f1456696c8eb30db3d8ecf8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 55208,
"upload_time": "2016-12-05T11:56:09",
"url": "https://files.pythonhosted.org/packages/52/be/3b126ed9069e5331e6fd8f1aa02ab639c77a4cccb20b398cb27bea26387f/psrecord-1.0.tar.gz"
}
],
"1.1": [
{
"comment_text": "",
"digests": {
"md5": "c7a622a0efeedb0b9559077729dfaf73",
"sha256": "727127ea72e5d815b1728492b63fc5e464139f34e1d6c64316ec186f91ce28bc"
},
"downloads": -1,
"filename": "psrecord-1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "c7a622a0efeedb0b9559077729dfaf73",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8957,
"upload_time": "2018-06-16T14:36:54",
"url": "https://files.pythonhosted.org/packages/6c/6d/1fb62f09e2dd4e9559615ab385c31d8f458b4da96b5dc0e74981f7d725ce/psrecord-1.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "823d263a0ed9fef9b0c6afefc6ef4878",
"sha256": "e656230c09370a964a18f647264e9d81465c71765ed0dc02e6659fa498f53994"
},
"downloads": -1,
"filename": "psrecord-1.1.tar.gz",
"has_sig": false,
"md5_digest": "823d263a0ed9fef9b0c6afefc6ef4878",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 56675,
"upload_time": "2018-06-16T14:36:55",
"url": "https://files.pythonhosted.org/packages/f6/cf/ce37317c288a267492df1d9650156af3323a460735824404431144af934c/psrecord-1.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c7a622a0efeedb0b9559077729dfaf73",
"sha256": "727127ea72e5d815b1728492b63fc5e464139f34e1d6c64316ec186f91ce28bc"
},
"downloads": -1,
"filename": "psrecord-1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "c7a622a0efeedb0b9559077729dfaf73",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 8957,
"upload_time": "2018-06-16T14:36:54",
"url": "https://files.pythonhosted.org/packages/6c/6d/1fb62f09e2dd4e9559615ab385c31d8f458b4da96b5dc0e74981f7d725ce/psrecord-1.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "823d263a0ed9fef9b0c6afefc6ef4878",
"sha256": "e656230c09370a964a18f647264e9d81465c71765ed0dc02e6659fa498f53994"
},
"downloads": -1,
"filename": "psrecord-1.1.tar.gz",
"has_sig": false,
"md5_digest": "823d263a0ed9fef9b0c6afefc6ef4878",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 56675,
"upload_time": "2018-06-16T14:36:55",
"url": "https://files.pythonhosted.org/packages/f6/cf/ce37317c288a267492df1d9650156af3323a460735824404431144af934c/psrecord-1.1.tar.gz"
}
]
}