{"id":15692941,"url":"https://github.com/code-hex/chair","last_synced_at":"2025-03-30T12:43:46.061Z","repository":{"id":57600427,"uuid":"106113399","full_name":"Code-Hex/chair","owner":"Code-Hex","description":"isucon tool","archived":false,"fork":false,"pushed_at":"2017-10-20T08:22:07.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T14:38:25.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/Code-Hex.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":"2017-10-07T16:38:08.000Z","updated_at":"2018-11-12T15:39:18.000Z","dependencies_parsed_at":"2022-08-24T12:50:49.943Z","dependency_job_id":null,"html_url":"https://github.com/Code-Hex/chair","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/Code-Hex%2Fchair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2Fchair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2Fchair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2Fchair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Hex","download_url":"https://codeload.github.com/Code-Hex/chair/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246320138,"owners_count":20758407,"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-03T18:40:42.325Z","updated_at":"2025-03-30T12:43:46.031Z","avatar_url":"https://github.com/Code-Hex.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"logo\" src=\"https://user-images.githubusercontent.com/6500104/31577054-c9f68064-b142-11e7-9e5a-e41046f330f7.png\" height=\"140\" /\u003e\n  \u003ch3 align=\"center\"\u003eChair\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eThis chair helps you when you play \u003ca href=\"http://isucon.net/\"\u003eisucon\u003c/a\u003e.\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"/LICENSE\"\u003e\u003cimg alt=\"Software License\" src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n---\n\n# Usage\n\n```\nUsage:\n  chair [flags]\n  chair [command]\n\nAvailable Commands:\n  dump        Dump mysql schema or data\n  help        Help about any command\n  info        show machine information\n  setup       Run initial setup for isucon environment\n  show        Show some configuration content\n  tldr        tldr some command\n\nFlags:\n  -h, --help      help for chair\n      --version   show version (default true)\n```\n\n## SubCommands\n### dump\n`dump` command dumps mysql schema or data.\n```\nUsage:\n  chair dump [flags]\n\nExamples:\n    chair dump [flags] all\n    chair dump [flags] schema\n    chair dump [flags] data\n\nFlags:\n  -d, --database string   specify mysql database\n  -h, --help              help for dump\n  -H, --host string       specify mysql hostname (default \"127.0.0.1\")\n  -p, --pass string       specify mysql password\n  -P, --port int          specify mysql port number (default 3306)\n  -u, --user string       specify mysql username\n```\n\n### info\n`info` command checks information you are using machine.\n```\nUsage:\n  chair info [flags]\n\nFlags:\n  -h, --help            help for info\n  -t, --time duration   specify time to measure cpu utilization (default 1s)\n```\n\n### setup\n`setup` command will download some binary, generate script to help you.  \nIf you want to run, you should run as a superuser.\n```\nUsage:\n  chair setup [flags]\n\nExamples:\n    sudo chair setup\n\nFlags:\n  -h, --help   help for setup\n```\n\n### show\n`show` command shows a part of configuration for mysql and nginx.\n```\nUsage:\n  chair show [flags]\n\nExamples:\n    chair show sql-default\n    chair show nginx-access-log\n    chair show sql-(default|slow-log|maybe-nice|cache|fix57-groupby)\n    chair show nginx-(access-log|event|outside-maybe-nice|static)\n```\n\n### tldr\n`tldr` command shows tldr for some command to help you.\n```\nUsage:\n  chair tldr [flags]\n\nExamples:\n    chair tldr alp\n    chair tldr pt-query-digest\n\nFlags:\n  -h, --help   help for tldr\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-hex%2Fchair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-hex%2Fchair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-hex%2Fchair/lists"}