{"id":22998322,"url":"https://github.com/alhazred/ptcpstat","last_synced_at":"2025-04-02T13:24:15.580Z","repository":{"id":25857121,"uuid":"29296906","full_name":"alhazred/ptcpstat","owner":"alhazred","description":"Pfiles-based utility to get process id attached with particular port in illumos","archived":false,"fork":false,"pushed_at":"2015-01-15T19:21:09.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T04:29:19.468Z","etag":null,"topics":["c","illumos","solaris","stat","tcp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alhazred.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-15T12:41:40.000Z","updated_at":"2024-11-02T03:35:21.000Z","dependencies_parsed_at":"2022-08-24T14:15:31.475Z","dependency_job_id":null,"html_url":"https://github.com/alhazred/ptcpstat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazred%2Fptcpstat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazred%2Fptcpstat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazred%2Fptcpstat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alhazred%2Fptcpstat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alhazred","download_url":"https://codeload.github.com/alhazred/ptcpstat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246820923,"owners_count":20839325,"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":["c","illumos","solaris","stat","tcp"],"created_at":"2024-12-15T06:12:54.093Z","updated_at":"2025-04-02T13:24:15.542Z","avatar_url":"https://github.com/alhazred.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple pfiles-based utility to get process id attached with particular port in illumos:\n\n# ./ptcpstat\nPROTO           IP               PORT   PID    USER     COMMAND\n--------  -------------------    ----- ------ -------- ------------------\nAF_INET   127.0.0.1              25    692    root      /usr/lib/smtp/sendmail/sendmail -bl -q15m\nAF_INET6  ::1                    25    692    root      /usr/lib/smtp/sendmail/sendmail -bl -q15m\nAF_INET   127.0.0.1              587   692    root      /usr/lib/smtp/sendmail/sendmail -bl -q15m\nAF_INET6  ::                     22    605    root      /usr/lib/ssh/sshd\nAF_INET6  ::                     0     495    root      /usr/lib/inet/in.ndpd\nAF_INET   0.0.0.0                520   637    root      /usr/sbin/in.routed\nAF_INET   0.0.0.0                0     637    root      /usr/sbin/in.routed\nAF_INET   0.0.0.0                10004 685    root      /usr/bin/python2.6 /usr/lib/pkg.depotd --cfg svc:/application/pkg/server:test\nAF_INET   0.0.0.0                10000 9354   root      /usr/bin/python2.6 /usr/lib/pkg.depotd --cfg svc:/application/pkg/server:zfs\nAF_INET6  ::ffff:198.168.1.1     22    2315   root      /usr/lib/ssh/sshd\nAF_INET6  ::ffff:10.8.0.30       56027 2315   root      /usr/lib/ssh/sshd\nAF_INET   0.0.0.0                80    1402   root      /usr/bin/python2.6 /usr/lib/pkg.depotd --cfg svc:/application/pkg/server:defaul\nAF_INET6  ::ffff:198.168.1.1     22    2314   root      /usr/lib/ssh/sshd\nAF_INET6  ::ffff:10.8.0.30       56027 2314   root      /usr/lib/ssh/sshd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhazred%2Fptcpstat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falhazred%2Fptcpstat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falhazred%2Fptcpstat/lists"}