{"id":15675318,"url":"https://github.com/hibariya/process_tail","last_synced_at":"2025-08-21T11:15:41.701Z","repository":{"id":26729799,"uuid":"30187355","full_name":"hibariya/process_tail","owner":"hibariya","description":"☆彡","archived":false,"fork":false,"pushed_at":"2015-02-25T01:53:46.000Z","size":331,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T03:17:12.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/hibariya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T13:05:39.000Z","updated_at":"2020-06-17T12:45:22.000Z","dependencies_parsed_at":"2022-08-31T17:01:50.570Z","dependency_job_id":null,"html_url":"https://github.com/hibariya/process_tail","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/hibariya/process_tail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibariya%2Fprocess_tail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibariya%2Fprocess_tail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibariya%2Fprocess_tail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibariya%2Fprocess_tail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hibariya","download_url":"https://codeload.github.com/hibariya/process_tail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibariya%2Fprocess_tail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271469227,"owners_count":24765124,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"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":[],"created_at":"2024-10-03T15:58:17.430Z","updated_at":"2025-08-21T11:15:41.679Z","avatar_url":"https://github.com/hibariya.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProcessTail [![Build Status](https://travis-ci.org/hibariya/process_tail.svg?branch=master)](https://travis-ci.org/hibariya/process_tail)\n\nhttps://github.com/hibariya/process_tail\n\n## Description\n\nProcessTail traces other process' write(2) system call and copy its buffer.\nSo we can get other process outputs.\n\n## Problems\n\n* SEGV occurs infrequently\n* Windows is not supported\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'process_tail'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install process_tail\n\n## Usage\n\nOn Mac OSX, you'll have to use `sudo`.\n\n### Get outputs as an IO object\n\n```ruby\nProcessTail.each pid do |tid, fd, str|\n  puts tid # pid or tid of this process (thread)\n  puts fd  # File descripter number\n  puts str # Output string\nend\n```\n\n### Show outputs instantly\n\n```bash\n$ process_tail $(pgrep PROCESS_NAME)\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/hibariya/process_tail/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhibariya%2Fprocess_tail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhibariya%2Fprocess_tail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhibariya%2Fprocess_tail/lists"}