{"id":36628104,"url":"https://github.com/fujitsu/crash-gcore","last_synced_at":"2026-01-12T09:34:23.293Z","repository":{"id":45567920,"uuid":"327150844","full_name":"fujitsu/crash-gcore","owner":"fujitsu","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T01:01:36.000Z","size":477,"stargazers_count":17,"open_issues_count":4,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-17T02:19:50.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fujitsu.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2021-01-05T23:59:17.000Z","updated_at":"2025-02-17T01:01:41.000Z","dependencies_parsed_at":"2025-02-17T02:19:50.796Z","dependency_job_id":"f9c4c43d-011b-47d9-8552-567ff9e0ef5e","html_url":"https://github.com/fujitsu/crash-gcore","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/fujitsu/crash-gcore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujitsu%2Fcrash-gcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujitsu%2Fcrash-gcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujitsu%2Fcrash-gcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujitsu%2Fcrash-gcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fujitsu","download_url":"https://codeload.github.com/fujitsu/crash-gcore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujitsu%2Fcrash-gcore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-12T09:34:23.231Z","updated_at":"2026-01-12T09:34:23.287Z","avatar_url":"https://github.com/fujitsu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Author: HATAYAMA, Daisuke \u003cd.hatayama@jp.fujitsu.com\u003e\n\nSummary\n~~~~~~~\ngcore extension module provides a means to create ELF core dump for\nuser-mode process that is contained within crash kernel dump, designed\nto behave as kernel's ELF core dumper.\n\nSupport Range \n~~~~~~~~~~~~~\n | ARCH           | X86, X86_64                                  |\n | Kernel Version | RHEL4.8, RHEL5.5, RHEL6.0 and Vanilla 2.6.36 |\n\nExternal Link \n~~~~~~~~~~~~~\n- crash utility\n  - http://people.redhat.com/anderson/\n- crash extension modules\n  - http://people.redhat.com/anderson/extensions.html\n\nTODO  \n~~~~\n- Improvement on register collection for active tasks\n- Improvement on callee-saved register collection on x86_64\n- Support tasks running in IA32e compatibility mode\n\nHelp \n~~~~\nNAME\n  gcore - gcore - retrieve a process image as a core dump\n\nSYNOPSIS\n  gcore \n  gcore [-v vlevel] [-f filter] [pid | taskp]*\n  This command retrieves a process image as a core dump.\n\nDESCRIPTION\n  \n    -v Display verbose information according to vlevel:\n  \n           progress  library error  page fault\n       ---------------------------------------\n         0\n         1    x\n         2                  x\n         4                                x    (default)\n         7    x             x             x\n  \n    -f Specify kinds of memory to be written into core dumps according to\n       the filter flag in bitwise:\n  \n           AP  AS  FP  FS  ELF HP  HS\n       ------------------------------\n         0\n         1  x\n         2      x\n         4          x\n         8              x\n        16          x       x\n        32                      x\n        64                          x\n       127  x   x   x   x   x   x   x\n \n        AP  Anonymous Private Memory\n        AS  Anonymous Shared Memory\n        FP  File-Backed Private Memory\n        FS  File-Backed Shared Memory\n        ELF ELF header pages in file-backed private memory areas\n        HP  Hugetlb Private Memory\n        HS  Hugetlb Shared Memory\n\n  If no pid or taskp is specified, gcore tries to retrieve the process image\n  of the current task context.\n  \n  The file name of a generated core dump is core.\u003cpid\u003e where pid is PID of\n  the specified process.\n  \n  For a multi-thread process, gcore generates a core dump containing\n  information for all threads, which is similar to a behaviour of the ELF\n  core dumper in Linux kernel.\n  \n  Notice the difference of PID on between crash and linux that ps command in\n  crash utility displays LWP, while ps command in Linux thread group tid,\n  precisely PID of the thread group leader.\n  \n  gcore provides core dump filtering facility to allow users to select what\n  kinds of memory maps to be included in the resulting core dump. There are\n  7 kinds memory maps in total, and you can set it up with set command.\n  For more detailed information, please see a help command message.\n  \nEXAMPLES\n  Specify the process you want to retrieve as a core dump. Here assume the\n  process with PID 12345.\n  \n    crash\u003e gcore 12345\n    Saved core.12345\n    crash\u003e\n  \n  Next, specify by TASK. Here assume the process placing at the address\n  f9d7000 with PID 32323.\n  \n    crash\u003e gcore f9d78000\n    Saved core.32323\n    crash\u003e\n  \n  If multiple arguments are given, gcore performs dumping process in the\n  order the arguments are given.\n  \n    crash\u003e gcore 5217 ffff880136d72040 23299 24459 ffff880136420040\n    Saved core.5217\n    Saved core.1130\n    Saved core.1130\n    Saved core.24459\n    Saved core.30102\n    crash\u003e\n  \n  If no argument is given, gcore tries to retrieve the process of the current\n  task context.\n  \n    crash\u003e set\n         PID: 54321\n     COMMAND: \"bash\"\n        TASK: e0000040f80c0000\n         CPU: 0\n       STATE: TASK_INTERRUPTIBLE\n    crash\u003e gcore\n    Saved core.54321\n  \n  When a multi-thread process is specified, the generated core file name has\n  the thread leader's PID; here it is assumed to be 12340.\n  \n    crash\u003e gcore 12345\n    Saved core.12340\n  \n  It is not allowed to specify two same options at the same time.\n  \n    crash\u003e gcore -v 1 1234 -v 1\n    Usage: gcore\n      gcore [-v vlevel] [-f filter] [pid | taskp]*\n      gcore -d\n    Enter \"help gcore\" for details.\n  \n  It is allowed to specify -v and -f options in a different order.\n  \n    crash\u003e gcore -v 2 5201 -f 21 ffff880126ff9520 5205\n    Saved core.5174\n    Saved core.5217\n    Saved core.5167\n    crash\u003e gcore 5201 ffff880126ff9520 -f 21 5205 -v 2\n    Saved core.5174\n    Saved core.5217\n    Saved core.5167\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujitsu%2Fcrash-gcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffujitsu%2Fcrash-gcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujitsu%2Fcrash-gcore/lists"}