{"id":23455354,"url":"https://github.com/mistic100/rainmeter-topprocesses","last_synced_at":"2025-04-14T00:26:40.406Z","repository":{"id":66460775,"uuid":"42614512","full_name":"mistic100/Rainmeter-TopProcesses","owner":"mistic100","description":"A Rainmeter plugin to show n-number of top processes by either memory or CPU consumption.","archived":false,"fork":false,"pushed_at":"2019-06-06T17:04:22.000Z","size":100,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T14:47:50.588Z","etag":null,"topics":["plugin","rainmeter"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mistic100.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-09-16T21:30:37.000Z","updated_at":"2025-03-07T02:38:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"d85cccda-f9d2-4d31-ac49-3d000c769f77","html_url":"https://github.com/mistic100/Rainmeter-TopProcesses","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistic100%2FRainmeter-TopProcesses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistic100%2FRainmeter-TopProcesses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistic100%2FRainmeter-TopProcesses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistic100%2FRainmeter-TopProcesses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mistic100","download_url":"https://codeload.github.com/mistic100/Rainmeter-TopProcesses/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248800113,"owners_count":21163404,"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","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":["plugin","rainmeter"],"created_at":"2024-12-24T03:30:51.384Z","updated_at":"2025-04-14T00:26:40.398Z","avatar_url":"https://github.com/mistic100.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"TopProcesses.dll\n================\n\nA Rainmeter plugin to show n-number of top processes by either memory or CPU consumption.\n\nThe plugin was created by Chad Voelker and made compatible with Rainmeter 3.2 by Grant Pannell.\nThe only source I found were for version 2.0.0, not compatible with Rainmeter 3.2. \nI decompiled the 2.2.0 DLL in order to have a working base for future improvements.\n\n# Usage\n\nThe example bellow display the top four processes by CPU usage.\n\n```\n12,8%: Photoshop\n9,2%: firefox\n3,4%: MsMpEng\n0,9%: Spotify\n```\n\n```ini\n[MeasureTopCPU]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\n\n; Indicates if this init entry should re-look at the process list\n; If you have more than one config entry, only ONE needs to do the ReQuery\n; 1 = Yes, 0 = No\nReQuery=1\n\n; Merge values of processes with the same name\n; e.g. values of \"firefox#1\" and \"firefox#2\" are merged with \"firefox\"\nDedupe=1\n\n; Run in asynchronous mode, see bellow\nAsync=0\n\n; Pipe-delimited processess to exclude from the list (can handle wildcards, use * character)\n; GlobalIgnoredProcesses is MORE efficient than SpecificIgnoredProcesses as it filters globally\n; If you use GlobalIgnoredProcesses to filter, processes will be excluded from all measures using the TopProcesses plugin\n; GlobalIgnoredProcesses will only be applied to the measure with ReQuery=1\nGlobalIgnoredProcesses=rundll32|wscript|userinit|Rainmeter|svchost*\n\n; Pipe-delimited processess to exclude from the list (can handle wildcards, use * character)\n; SpecificIgnoredProcesses is LESS efficient than GlobalIgnoredProcesses as it filters per measure.\n; The processes below will ONLY be filtered for this measure\n; SpecificIgnoredProcesses can be used on any measure, regardless of ReQuery value\nSpecificIgnoredProcesses=\n\n; Metric for which to determine top processes (CPU or Memory)\nMetricType=CPU\n\n; The top processes to find can be a single number (e.g. 0 = top one process) or a range (0-4 = top five processes)\nProcNums=0-3\n\n; Format in which to return the results... any string including the following keys: %pName %pID %CPU %Memory\n; You can also get a substring of a key; e.g. to trim the name to 8 chars use this format: s(%pName,0,7)\nFormat=\"%CPU%: %pName\"\n\n[TopCPUText]\nMeter=String\nMeterStyle=Style\nMeasureName=MeasureTopCPU\n```\n\n\n## Asynchronous mode\n\nQuerying the Windows management database is a expansive process and can cause micro-freezes in all your skins (Rainmeter is single-threaded).\n\nTopProcesses can query the database in a separated thread and provide the result afterward with the `Async=1` option.\n\n**When using this mode you should use child-measures to a lower update rate in order to have the most up-to-date info available.**\n\nThis example runs the main measure in asynchronous mode every 5 seconds, and gets the result every 1 second with a child-measure.\n\n```ini\n[Rainmeter]\nUpdate=1000\n\n[MeasureTopMain]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\nReQuery=1\nAsync=1\nUpdateDivider=5\n\n[MeasureTopChild]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\nUpdateDivider=1\nProcNums=0-3\nFormat=\"%CPU%: %pName\"\n```\n\n\n## Advanced usage\n\nIf you want more control on the data display (eg: number of decimals, decimal symbol) you can use the `%RawCPU` and `%RawMemory` formats. When used with a single process (`ProcNums=0`, `ProcNums=1`, ...) these will return a numeric value which can be formatted as needed.\n\nThe example bellow displays the top two processes by memory usage, with different color on the process names and Rainmeter's autoscale.\n\n```ini\n; This measure is not used directly, exist to fetch data\n[MeasureTopMain]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\nReQuery=1\nGlobalIgnoredProcesses=rundll32|wscript|userinit|dwm|Rainmeter|svchost*|System\nUpdateDivider=30\n\n; MEASURES\n[MeasureTopMemValue1]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\nMetricType=Memory\nProcNums=0\nFormat=\"%RawMemory\"\n\n[MeasureTopMemValue2]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\nMetricType=Memory\nProcNums=1\nFormat=\"%RawMemory\"\n\n[MeasureTopMemName1]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\nMetricType=Memory\nProcNums=0\nFormat=\"%pName\"\n\n[MeasureTopMemName2]\nMeasure=Plugin\nPlugin=Plugins\\TopProcesses.dll\nMetricType=Memory\nProcNums=1\nFormat=\"%pName\"\n\n; METERS\n[TopMemValue1]\nMeter=String\nMeasureName=MeasureTopMemValue1\nAutoScale=1\nStringAlign=Right\nText=\"%1B\"\nX=0\nY=0\nH=30\n\n[TopMemValue2]\nMeter=String\nMeasureName=MeasureTopMemValue2\nAutoScale=1\nStringAlign=Right\nText=\"%1B\"\nX=0r\nY=0R\nH=30\n\n[TopMemName1]\nMeter=String\nMeasureName=MeasureTopMemName1\nFontColor=200,100,100\nFontSize=14\nClipString=1\nX=0r\nY=-30r\nW=150\nH=30\n\n[TopMemName2]\nMeter=String\nMeasureName=MeasureTopMemName2\nFontColor=200,100,100\nFontSize=14\nClipString=1\nX=0r\nY=0R\nW=150\nH=30\n```\n\n\n# License\n\nUnknown\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmistic100%2Frainmeter-topprocesses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmistic100%2Frainmeter-topprocesses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmistic100%2Frainmeter-topprocesses/lists"}