{"id":17383182,"url":"https://github.com/raffleberry/topmem","last_synced_at":"2026-05-08T14:14:30.868Z","repository":{"id":198621588,"uuid":"701177346","full_name":"raffleberry/topmem","owner":"raffleberry","description":"shows top 10 memory processes","archived":false,"fork":false,"pushed_at":"2023-12-01T06:03:56.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T20:49:28.829Z","etag":null,"topics":["linux","process","process-manager","python3","shellscript","task-manager","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raffleberry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2023-10-06T05:07:16.000Z","updated_at":"2023-10-06T15:01:05.000Z","dependencies_parsed_at":"2024-10-16T07:40:54.905Z","dependency_job_id":null,"html_url":"https://github.com/raffleberry/topmem","commit_stats":null,"previous_names":["raffleberry/topmem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raffleberry/topmem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffleberry%2Ftopmem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffleberry%2Ftopmem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffleberry%2Ftopmem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffleberry%2Ftopmem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raffleberry","download_url":"https://codeload.github.com/raffleberry/topmem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raffleberry%2Ftopmem/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268290600,"owners_count":24226642,"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-08-01T02:00:08.611Z","response_time":67,"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":["linux","process","process-manager","python3","shellscript","task-manager","ubuntu"],"created_at":"2024-10-16T07:40:51.042Z","updated_at":"2026-05-08T14:14:25.839Z","avatar_url":"https://github.com/raffleberry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# topmem\n### Installation\nfor ubuntu\n```sh\nsudo apt install python3-pip \u0026\u0026 pip install --user psutil\n```\n\n### options\n```sh\n$ topmem -h   \nusage: topmem [-h] [-g] [-a] [-f]\n\noptions:\n  -h, --help  show this help message and exit\n  -g          group memory usage by application\n  -a          view all processes\n  -f          print full program path\n```\n\n### shows top 10 memory processes\n```sh\n$ topmem     \n 1. 499.45 MB   3282    plasmashell                   \n 2. 403.13 MB   4043    chrome                        \n 3. 317.52 MB   4789    chrome                        \n 4. 282.29 MB   4668    spotify                       \n 5. 263.47 MB   4592    spotify                       \n 6. 254.33 MB   6402    code                          \n 7. 233.71 MB   3229    kded5                         \n 8. 227.07 MB   7084    chrome                        \n 9. 223.15 MB   4813    chrome                        \n10. 219.71 MB   4428    chrome                        \n                \n```\n\n### group all processes by application\n```sh\n$ topmem -g  \n 1. 2787.98 MB  (19)    chrome                        \n 2. 1327.10 MB  (12)    code                          \n 3. 1029.84 MB  (7)     spotify                       \n 4. 499.45 MB   (1)     plasmashell                   \n 5. 233.71 MB   (1)     kded5                         \n 6. 197.61 MB   (1)     kwin_x11                      \n 7. 139.55 MB   (1)     konsole                       \n 8. 126.64 MB   (1)     Xorg                          \n 9. 52.50 MB    (3)     python3                       \n10. 51.56 MB    (1)     kdeconnectd                   \n             \n```\n\n### show full program path\n```sh\n$ topmem -f \n 1. 499.45 MB   3282    /usr/bin/plasmashell          \n 2. 403.10 MB   4043    /opt/google/chrome/chrome     \n 3. 314.53 MB   4789    /opt/google/chrome/chrome     \n 4. 276.99 MB   4668    /usr/share/spotify/spotify    \n 5. 275.49 MB   6402    /usr/share/code/code          \n 6. 263.47 MB   4592    /usr/share/spotify/spotify    \n 7. 233.71 MB   3229    /usr/bin/kded5                \n 8. 227.63 MB   7084    /opt/google/chrome/chrome     \n 9. 221.46 MB   4813    /opt/google/chrome/chrome     \n10. 219.71 MB   4428    /opt/google/chrome/chrome     \n\n```\n\n### show pid of grouped processes\n```sh\n$ topmem -gp \n 1. 2788.35 MB  (19)    chrome                        \n                4043    403.10 MB\n                4789    314.53 MB\n                7084    227.38 MB\n                4813    225.72 MB\n                4428    219.71 MB\n                4087    184.15 MB\n                4484    182.66 MB\n                4191    129.49 MB\n                4512    128.51 MB\n                4088    115.28 MB\n                4277    114.00 MB\n                7140    104.75 MB\n                4212    100.65 MB\n                4835    80.62 MB\n                9296    67.93 MB\n                4060    59.38 MB\n                4059    58.75 MB\n                4091    55.78 MB\n                4064    15.96 MB\n\n 2. 1302.75 MB  (12)    code                          \n                6402    235.12 MB\n                6655    175.79 MB\n                6316    167.79 MB\n                6353    165.98 MB\n                6610    154.81 MB\n                6439    87.70 MB\n                6609    80.34 MB\n                8942    73.12 MB\n                6361    63.34 MB\n                6324    44.00 MB\n                6323    43.88 MB\n                6326    10.88 MB\n\n 3. 1027.43 MB  (7)     spotify                       \n                4668    283.53 MB\n                4592    263.47 MB\n                4613    188.47 MB\n                4646    109.32 MB\n                4595    73.88 MB\n                4596    73.88 MB\n                4641    34.89 MB\n\n 4. 499.32 MB   (1)     plasmashell                   \n                3282    499.32 MB\n\n 5. 233.71 MB   (1)     kded5                         \n                3229    233.71 MB\n\n 6. 197.49 MB   (1)     kwin_x11                      \n                3232    197.49 MB\n\n 7. 139.55 MB   (1)     konsole                       \n                6113    139.55 MB\n\n 8. 126.64 MB   (1)     Xorg                          \n                2888    126.64 MB\n\n 9. 52.50 MB    (3)     python3                       \n                705     21.25 MB\n                631     18.50 MB\n                9374    12.75 MB\n\n10. 51.56 MB    (1)     kdeconnectd                   \n                3300    51.56 MB\n                    \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraffleberry%2Ftopmem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraffleberry%2Ftopmem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraffleberry%2Ftopmem/lists"}