{"id":16139852,"url":"https://github.com/damies13/robotframework-perfmon","last_synced_at":"2025-03-18T16:31:15.237Z","repository":{"id":41990983,"uuid":"482376626","full_name":"damies13/robotframework-perfmon","owner":"damies13","description":"Robot Framework wrapper for pyperfmon","archived":false,"fork":false,"pushed_at":"2023-02-24T14:27:58.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T10:52:36.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/damies13.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}},"created_at":"2022-04-16T22:42:29.000Z","updated_at":"2023-02-01T01:41:34.000Z","dependencies_parsed_at":"2022-08-12T01:40:27.041Z","dependency_job_id":null,"html_url":"https://github.com/damies13/robotframework-perfmon","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damies13%2Frobotframework-perfmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damies13%2Frobotframework-perfmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damies13%2Frobotframework-perfmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damies13%2Frobotframework-perfmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damies13","download_url":"https://codeload.github.com/damies13/robotframework-perfmon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940108,"owners_count":20372045,"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":[],"created_at":"2024-10-09T23:49:57.170Z","updated_at":"2025-03-18T16:31:14.951Z","avatar_url":"https://github.com/damies13.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["System and Network Management"],"readme":"# robotframework-perfmon\n\n[![Latest PyPI version](https://img.shields.io/pypi/v/robotframework-perfmon.svg)](https://pypi.python.org/pypi/robotframework-perfmon/) [![Number of PyPI downloads](https://img.shields.io/pypi/dm/robotframework-perfmon.svg)](https://pypistats.org/packages/robotframework-perfmon)\n\nRobot Framework wrapper for pyperfmon, provides a simple way to collect windows performance monitor (perfmon) counter statistics from a windows machine, usually the AUT servers.\n\n- [Installation](#installation)\n- [Example Usage](#example-usage)\n- [Keyword Documentation](#keyword-documentation)\n\n## Installation\n\n```\npip install robotframework-perfmon\n```\n\n## Example Usage\nSimple example usage:\n```robotframework\n*** Settings ***\nLibrary\t\tPerfmonLibrary\n\n*** Variables ***\n${AUTServer} \tMyAUTServer\n\n*** Test Cases ***\nCheck Memory\n\t${mempct}= \tGet Counter \tMemory\\\\% Committed Bytes In Use \t${AUTServer}\n\tShould Be True \t${mempct[1]} \u003c 80\n\nCheck CPU\n\t${cputotpct}= \tGet Counter \tProcessor\\\\_Total\\\\% Processor Time \t${AUTServer}\n\tShould Be True \t${cputotpct[1]} \u003c 80\n\n```\n\n## Keyword Documentation\n|Keyword|Description|\n|---|---|\n| Connect To | Establishes a connection to a remote windows machine. \u003cbr\u003e The most likely reasons for  using this keyword are: \u003cbr\u003e - You need to use different credentials to connect to the remote windows machine \u003cbr\u003e - You want to avoid the connection time overhead on reading the first performance counter \u003cbr\u003e All arguments are optional with the default values used if omitted \u003cbr\u003e - `hostname` the windows machine to connect to. Default: localhost \u003cbr\u003e - `username` the windows user to connect with, when specifying a domain you will need to escape the \\\\ as \\\\\\\\. Default: current logged in user. \u003cbr\u003e - `password` the password for the specified windows user. If username no specified password is not used. Default: None \u003cbr\u003e example usage: \u003cbr\u003e ``` Connect To\thostname \tdomnain\\\\username \tpassword ``` \u003cbr\u003e ``` Connect To \thostname ``` \u003cbr\u003e It is suggested to use this keyword in [Suite setup](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#toc-entry-260) |\n| Get Counter | Get the performance monitor counter's value, the value is returned as a tuple of `('counterpath', value)` \u003cbr\u003e `counterpath` argument is required, `hostname` argument is optional with the default value used if omitted \u003cbr\u003e - `counterpath` the path to the windows performance counter, can be in either format \u003cbr\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; `\u003cobject\u003e\\\\\u003ccounter\u003e` or \u003cbr\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; `\u003cobject\u003e\\\\\u003cinstance\u003e\\\\\u003ccounter\u003e` \u003cbr\u003e - `hostname` the windows machine to connect to. Default: localhost |\n| Get Objects | Get a list of available performance monitor counter objects \u003cbr\u003e All arguments are optional with the default values used if omitted \u003cbr\u003e - `hostname` the windows machine to connect to. Default: localhost |\n| Get Counters | Get a list of available performance monitor counters for specified object \u003cbr\u003e `object` argument is required, `hostname` argument is optional with the default value used if omitted \u003cbr\u003e - `object` the object to get a list of windows performance counters for. \u003cbr\u003e - `hostname` the windows machine to connect to. Default: localhost |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamies13%2Frobotframework-perfmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamies13%2Frobotframework-perfmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamies13%2Frobotframework-perfmon/lists"}