{"id":50557,"library":"power-devops-perfstat","title":"perfstat - AIX Performance Statistics","description":"Package perfstat provides a Go interface to IBM AIX libperfstat for retrieving system performance statistics.","status":"active","version":"0.0.0-20221212215047-62379fc7944b","language":"go","source_language":null,"source_url":"https://github.com/power-devops/perfstat","tags":["aix","perfstat","performance","system"],"install":[{"cmd":"go get github.com/power-devops/perfstat","lang":"bash","label":"Install github.com/power-devops/perfstat"}],"dependencies":[],"imports":[{"symbol":"perfstat","correct":"github.com/power-devops/perfstat"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/power-devops/perfstat\"\n)\n\nfunc main() {\n\tstat, err := perfstat.CpuStat()\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\tfmt.Printf(\"CPU user: %d\\n\", stat.User)\n}","lang":"go","description":"Retrieve CPU statistics on AIX."},"warnings":[{"fix":"Ensure the required AIX library is present; the package will not compile on other platforms.","message":"This package only works on AIX systems with bos.perf.libperfstat installed.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'aix':2,13,20 'go':9 'ibm':12 'interfac':10 'libperfstat':14 'packag':5 'perform':3,18,22 'perfstat':1,6,21 'provid':7 'retriev':16 'statist':4,19 'system':17,23","created_at":"2026-06-15T04:58:37.888604+00:00","updated_at":"2026-06-15T04:58:37.888604+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/power-devops/perfstat","github":"https://github.com/power-devops/perfstat","docs":"https://pkg.go.dev/github.com/power-devops/perfstat#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}