memfo


Namememfo JSON
Version 1.0.2 PyPI version JSON
download
home_page
SummaryDisplay Tool for /proc/meminfo
upload_time2024-01-29 12:30:07
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords /proc/meminfo ram meminfo memory statistics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            >**Quick Start**
* **On python 3.11+, install with**: `pipx upgraded memfo || pipx install memfo`
* **On python 3.8 to 3.10, install with**: `pip install --upgrade --user memfo`
* **After install, run**: `memfo` and enter `?` for help.
# memfo -- /proc/meminfo Viewer for Linux

`memfo` is a viewer for `/proc/meminfo` that shows meminfo:
* as a continuously updated display of current and past values,
* with numbers represented in chosen units,
* with selected fields at the top in the frozen section of the display,
* with the ability to hide certain fields, and
* more.

## Example memfo Output
```
u:MiB d:show-values z=show-if-zero e:enter-edit ?=help
        0s        10s        20s        28s        37s        47s 01/28 12:51:27
      +0.0       +0.0       +0.0       +0.0       +0.0   32,060.8 MemTotal
    +222.7     -106.9     -106.4     -103.4      -71.3   22,325.0 MemAvailable
──────────────────────────────────────────────────────────────────────────────────────
    +222.6     -106.6     -103.8     -101.1      -68.9   15,776.4 MemFree
      +0.0       +0.0       +0.0       +0.0       +0.0       93.6 Buffers
     -24.0       -0.3       -2.6       -2.2       -2.4    7,726.8 Cached
    -322.8      +14.5      +24.9      +22.9       -4.2    7,989.8 Active
      +0.1       -0.3       -2.6       -2.3       -2.4    5,464.2 Inactive
    -322.8      +14.5      +24.9      +22.9       -4.2    5,833.6 Active(anon)
```
NOTES:
* the columns are absolute or delta values for the given statistic for that interval; in this case, deltas are shown.
* the stats above the line can are chosen by the "edit" menu.

## Command Line Options
You selection of statistics to put in the non-scrolled region and hidden is saved a config file. If you choose another config file on start up, you can have set of statistics per for each use case.
```
$ memfo -h
usage: memfo [-h] [-u {KiB,MB,MiB,GB,GiB,human}] [-c CONFIG]
                [-i INTERVAL_SEC] [--vmalloc-total] [-z] [-d] [--DB]
options:
  -h, --help            show this help message and exit
  -u {KiB,MB,MiB,GB,GiB,human}, --units {KiB,MB,MiB,GB,GiB,human}
                        units of memory [dflt=MiB]
  -c CONFIG, --config CONFIG
                        use "{config}.ini" for configuration
  -i INTERVAL_SEC, --interval-sec INTERVAL_SEC
                        loop interval in seconds [dflt=1.0]
  --vmalloc-total       Show "VmallocTotal" row (which is mostly useless)
  -z, --zeros           Show lines with all zeros
  -d, --dump            "print" the data only once rather than "display" it
  --DB                  add some debugging output
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "memfo",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "/proc/meminfo,RAM,meminfo,memory statistics",
    "author": "",
    "author_email": "Joe Defen <joedef@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/09/e5/2bd75ee831fc2cff0a77e02775adb8449113d7911742261d1db1dca94856/memfo-1.0.2.tar.gz",
    "platform": null,
    "description": ">**Quick Start**\n* **On python 3.11+, install with**: `pipx upgraded memfo || pipx install memfo`\n* **On python 3.8 to 3.10, install with**: `pip install --upgrade --user memfo`\n* **After install, run**: `memfo` and enter `?` for help.\n# memfo -- /proc/meminfo Viewer for Linux\n\n`memfo` is a viewer for `/proc/meminfo` that shows meminfo:\n* as a continuously updated display of current and past values,\n* with numbers represented in chosen units,\n* with selected fields at the top in the frozen section of the display,\n* with the ability to hide certain fields, and\n* more.\n\n## Example memfo Output\n```\nu:MiB d:show-values z=show-if-zero e:enter-edit ?=help\n        0s        10s        20s        28s        37s        47s 01/28 12:51:27\n      +0.0       +0.0       +0.0       +0.0       +0.0   32,060.8 MemTotal\n    +222.7     -106.9     -106.4     -103.4      -71.3   22,325.0 MemAvailable\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n    +222.6     -106.6     -103.8     -101.1      -68.9   15,776.4 MemFree\n      +0.0       +0.0       +0.0       +0.0       +0.0       93.6 Buffers\n     -24.0       -0.3       -2.6       -2.2       -2.4    7,726.8 Cached\n    -322.8      +14.5      +24.9      +22.9       -4.2    7,989.8 Active\n      +0.1       -0.3       -2.6       -2.3       -2.4    5,464.2 Inactive\n    -322.8      +14.5      +24.9      +22.9       -4.2    5,833.6 Active(anon)\n```\nNOTES:\n* the columns are absolute or delta values for the given statistic for that interval; in this case, deltas are shown.\n* the stats above the line can are chosen by the \"edit\" menu.\n\n## Command Line Options\nYou selection of statistics to put in the non-scrolled region and hidden is saved a config file. If you choose another config file on start up, you can have set of statistics per for each use case.\n```\n$ memfo -h\nusage: memfo [-h] [-u {KiB,MB,MiB,GB,GiB,human}] [-c CONFIG]\n                [-i INTERVAL_SEC] [--vmalloc-total] [-z] [-d] [--DB]\noptions:\n  -h, --help            show this help message and exit\n  -u {KiB,MB,MiB,GB,GiB,human}, --units {KiB,MB,MiB,GB,GiB,human}\n                        units of memory [dflt=MiB]\n  -c CONFIG, --config CONFIG\n                        use \"{config}.ini\" for configuration\n  -i INTERVAL_SEC, --interval-sec INTERVAL_SEC\n                        loop interval in seconds [dflt=1.0]\n  --vmalloc-total       Show \"VmallocTotal\" row (which is mostly useless)\n  -z, --zeros           Show lines with all zeros\n  -d, --dump            \"print\" the data only once rather than \"display\" it\n  --DB                  add some debugging output\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Display Tool for /proc/meminfo",
    "version": "1.0.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/joedefen/memfo/issues",
        "Homepage": "https://github.com/joedefen/memfo"
    },
    "split_keywords": [
        "/proc/meminfo",
        "ram",
        "meminfo",
        "memory statistics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae481ade42a47a0f3c0ee4f072c5ab849caf9ee6ebabd81b1863c119edde6dfa",
                "md5": "9e064b9c9b9b203126ae98104e6ad3e1",
                "sha256": "1134b670bb5307944c895e03b3226b4eb748b5ec51310a2c6ae0ec27c689ef95"
            },
            "downloads": -1,
            "filename": "memfo-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9e064b9c9b9b203126ae98104e6ad3e1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 16612,
            "upload_time": "2024-01-29T12:30:06",
            "upload_time_iso_8601": "2024-01-29T12:30:06.693986Z",
            "url": "https://files.pythonhosted.org/packages/ae/48/1ade42a47a0f3c0ee4f072c5ab849caf9ee6ebabd81b1863c119edde6dfa/memfo-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09e52bd75ee831fc2cff0a77e02775adb8449113d7911742261d1db1dca94856",
                "md5": "f79de45444a45fb6f7b3126ee336780b",
                "sha256": "f394f68521ccaf111a5643c76c760cacc43e6c4de3bc99f22bda04988cd61334"
            },
            "downloads": -1,
            "filename": "memfo-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f79de45444a45fb6f7b3126ee336780b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 15320,
            "upload_time": "2024-01-29T12:30:07",
            "upload_time_iso_8601": "2024-01-29T12:30:07.771291Z",
            "url": "https://files.pythonhosted.org/packages/09/e5/2bd75ee831fc2cff0a77e02775adb8449113d7911742261d1db1dca94856/memfo-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-29 12:30:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "joedefen",
    "github_project": "memfo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "memfo"
}
        
Elapsed time: 0.29924s