{"id":15011694,"url":"https://github.com/somdipdey/systemperformance","last_synced_at":"2025-04-12T03:51:23.500Z","repository":{"id":83917560,"uuid":"100890515","full_name":"somdipdey/SystemPerformance","owner":"somdipdey","description":"Track System Performance (CPU / RAM / Memory / SQL Server) using this NuGet Package. Requires .Net framework 3.5+. It is an Open Source project under MIT License.","archived":false,"fork":false,"pushed_at":"2017-11-04T18:49:31.000Z","size":49,"stargazers_count":13,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"remote-master","last_synced_at":"2025-03-25T23:24:05.110Z","etag":null,"topics":["c-sharp","cpu-monitoring","dotnet-framework","memory-management","ms-sql-server","mssql","mssqlserver","nuget-package","performance","performance-analysis","ram","sql-server","system","t-sql"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/SystemPerformance/","language":"C#","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/somdipdey.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":"2017-08-20T21:46:53.000Z","updated_at":"2023-08-09T09:52:53.000Z","dependencies_parsed_at":"2023-06-03T03:30:28.430Z","dependency_job_id":null,"html_url":"https://github.com/somdipdey/SystemPerformance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somdipdey%2FSystemPerformance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somdipdey%2FSystemPerformance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somdipdey%2FSystemPerformance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/somdipdey%2FSystemPerformance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/somdipdey","download_url":"https://codeload.github.com/somdipdey/SystemPerformance/tar.gz/refs/heads/remote-master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514209,"owners_count":21116899,"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":["c-sharp","cpu-monitoring","dotnet-framework","memory-management","ms-sql-server","mssql","mssqlserver","nuget-package","performance","performance-analysis","ram","sql-server","system","t-sql"],"created_at":"2024-09-24T19:41:27.681Z","updated_at":"2025-04-12T03:51:23.474Z","avatar_url":"https://github.com/somdipdey.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SystemPerformance\nTrack System Performance (CPU / RAM / Memory / SQL Server) using this NuGet Package. Requires .Net 3.5+ framework. It is an Open Source project under MIT License.\n\n## Permissions Required\n\nTo monitor performance of SQL Server Objects you need the following permissions:\nOn SQL Server, requires VIEW SERVER STATE permission.\nOn SQL Database Premium Tiers, requires the VIEW DATABASE STATE permission in the database. On SQL Database Standard and Basic Tiers, requires the Server admin or an Azure Active Directory admin account.\n\n## Using The Package\n\nTo fetch performance of the device on which the assembly is running use the PerformanceTracker class. Refer to following example:\n\n\tvar thisDevice = new PerformanceTracker();\n\tthisDevice.Current_CPU_Usage; //returns a floating number denoting CPU usage of the device on which the assembly is being executed\n\tthisDevice.Percent_RAM_Used; //returns a floating number to denote the percentage of RAM being used on the device on which the assembly is being executed\t\n\nDatabase Server Performance Tracker Example:\n\n\tvar track_DBServer_Performance = new DB_Server_PerformanceTracker(\"MyConnectionString\");\n\ttrack_DBServer_Performance.Top20_Expensive_Queries; //returns a list of top 20 most expensive QUeries on the database server\n\nCheck the state of the Database Server using DatabaseServer class as follows:\n\n\tvar myDatabase = new DatabaseServer(\"MyConnectionString\", \"MyDatabaseName\");\n\tmyDatabase.IsConnected; //returns a boolean to denote whether the database connection is alright or not\n\tmyDatabase.IsDatabaseLocked; //returns a boolean to denoted whether the database is locked for use or not\n\nCheck each class in the project to discover many more features and ways to keep track of CPU / RAM / Disk (Memory) / SQL Server performance, all from one package only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomdipdey%2Fsystemperformance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomdipdey%2Fsystemperformance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomdipdey%2Fsystemperformance/lists"}