{"id":27334913,"url":"https://github.com/dmuth/mac-osx-ram-usage","last_synced_at":"2025-07-30T19:33:25.249Z","repository":{"id":138470749,"uuid":"177899694","full_name":"dmuth/mac-osx-ram-usage","owner":"dmuth","description":"Uses Splunk and Docker to get a real-time look at OS/X Ram Usage","archived":false,"fork":false,"pushed_at":"2020-09-03T22:21:53.000Z","size":314,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T14:51:27.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmuth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-27T01:58:16.000Z","updated_at":"2024-10-24T16:27:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0a74494-cf0c-496a-b456-d06bd57c03f8","html_url":"https://github.com/dmuth/mac-osx-ram-usage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmuth/mac-osx-ram-usage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fmac-osx-ram-usage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fmac-osx-ram-usage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fmac-osx-ram-usage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fmac-osx-ram-usage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmuth","download_url":"https://codeload.github.com/dmuth/mac-osx-ram-usage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmuth%2Fmac-osx-ram-usage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267928981,"owners_count":24167430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-12T14:46:37.457Z","updated_at":"2025-07-30T19:33:25.232Z","avatar_url":"https://github.com/dmuth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Mac OS/X RAM Usage\n\nThis app lets you graph RAM usage of applications on your Mac.  It was built\nand tested on Mac OS/X 10.13.6.\n\n\n## Screenshots\n\n\u003ca href=\"./img/ram.png\" \u003e\u003cimg src=\"./img/ram.png\" alt=\"OS/X Ram Usage, top 5 processes\" width=\"250\" \n\t/\u003e\u003c/a\u003e \u003ca href=\"./img/ram-evernote.png\" \u003e\u003cimg src=\"./img/ram-evernote.png\" alt=\"Evernote RAM usage\" width=\"250\" \n\t/\u003e\u003c/a\u003e \u003ca href=\"./img/ram-slack.png\" \u003e\u003cimg src=\"./img/ram-slack.png\" alt=\"Slack client RAM usage\" width=\"250\" /\u003e\u003c/a\u003e\n\n\n## Requirements\n\n- Python 3\n- Docker\n\n\n## Installaton\n\n- Clone this repo\n- Run `pip3 install -r ./requirements.txt` to install the necessary Python modules\n\n\n## Usage\n\n- Run `sudo ./get-ram-loop.sh` in one shell to start fetching RAM usage in logs.\n   - You will be prompted for your password--this is normal so that the script can sudo to root.\n   - If you want to run without `sudo`, that is fine, but you will get stats only on your processes.\n- Run `start-splunk.sh` to start up Splunk.\n   - You will be presented with a list of how Splunk is configured.  If you're happy, press ENTER, if not, press ctrl-C and adjust your environment variables.\n\nOnce Splunk is started, it will spin up an instance of \n\u003ca href=\"https://github.com/dmuth/splunk-lab\"\u003eSplunk Lab\u003c/a\u003e and then run Splunk.\nIf you already have Splunk Lab, this will take about 10 seconds, if not, it could take\na minute or more for the Docker container to be downloaded.\n\nOnce started, the Splunk instance can be accessed at https://localhost:8000/, unless\nyou chose a different port.\n\n\n## How It Works\n\nI wrote a version of PS in Python called **Better PS**, and it uses the\n\u003ca href=\"https://pypi.org/project/psutil/\"\u003ePSUtil module\u003c/a\u003e to query the process list\nand extract important process attributes and then print them up in a format that Splunk\ncan parse natively.  This is far FAR saner than trying to parse the output of `ps`.\n\n\n## Why are you using SSL for talking to localhost?\n\nWhy are you not?\n\n\n## Credits\n\n- \u003ca href=\"https://www.splunk.com/\"\u003eSplunk\u003c/a\u003e\n- \u003ca href=\"https://pypi.org/project/psutil/\"\u003ePSUtil\u003c/a\u003e\n\n\n## Contact\n\nFeel free to hit me up on \u003ca href=\"https://twitter.com/dmuth\"\u003e,\n\u003ca href=\"https://facebook.com/dmuth\"\u003eFacebook\u003c/a\u003e,\nor \u003ca href=\"https://www.dmuth.org/contact\"\u003evia email\u003c/a\u003e if you \nwould like to get in touch.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmuth%2Fmac-osx-ram-usage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmuth%2Fmac-osx-ram-usage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmuth%2Fmac-osx-ram-usage/lists"}