{"id":19075234,"url":"https://github.com/martindai/my-attach","last_synced_at":"2026-06-17T18:31:50.637Z","repository":{"id":94738186,"uuid":"564634014","full_name":"MartinDai/my-attach","owner":"MartinDai","description":"包含javaagent和基于attach机制实现的动态增强简单示例","archived":false,"fork":false,"pushed_at":"2023-01-17T09:57:55.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T04:42:22.774Z","etag":null,"topics":["attach","javaagent"],"latest_commit_sha":null,"homepage":"","language":"Java","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/MartinDai.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":"2022-11-11T06:11:16.000Z","updated_at":"2024-12-28T10:19:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba2291f1-989f-4cb1-a451-8bcef9be279e","html_url":"https://github.com/MartinDai/my-attach","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MartinDai/my-attach","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fmy-attach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fmy-attach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fmy-attach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fmy-attach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinDai","download_url":"https://codeload.github.com/MartinDai/my-attach/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinDai%2Fmy-attach/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34461616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["attach","javaagent"],"created_at":"2024-11-09T01:53:56.650Z","updated_at":"2026-06-17T18:31:50.596Z","avatar_url":"https://github.com/MartinDai.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 包含javaagent和基于attach机制实现的动态增强简单示例\n\n## javaagent方式使用\n项目启动参数添加`-javaagent:/Users/martin/develop/projects/my-attach/agent/target/agent-1.0-SNAPSHOT-jar-with-dependencies.jar`\n\n## attach方式使用\n项目启动后得到pid\n执行`java -jar -Xbootclasspath/a:/Library/Java/JavaVirtualMachines/jdk1.8.0_333.jdk/Contents/Home/lib/tools.jar my-attach-core.jar \u003cPID\u003e /Users/martin/develop/projects/my-attach/agent/target/agent-1.0-SNAPSHOT-jar-with-dependencies.jar`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartindai%2Fmy-attach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartindai%2Fmy-attach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartindai%2Fmy-attach/lists"}