{"id":17121388,"url":"https://github.com/hellojukay/proc","last_synced_at":"2025-07-14T09:42:57.650Z","repository":{"id":57543997,"uuid":"295963445","full_name":"hellojukay/proc","owner":"hellojukay","description":"display linux process information, simple lsof write in go.","archived":false,"fork":false,"pushed_at":"2022-09-08T03:51:06.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T02:33:21.993Z","etag":null,"topics":["lsof"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellojukay.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":"2020-09-16T07:56:42.000Z","updated_at":"2024-01-27T21:34:38.000Z","dependencies_parsed_at":"2022-08-27T18:52:31.533Z","dependency_job_id":null,"html_url":"https://github.com/hellojukay/proc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hellojukay/proc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojukay%2Fproc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojukay%2Fproc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojukay%2Fproc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojukay%2Fproc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellojukay","download_url":"https://codeload.github.com/hellojukay/proc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellojukay%2Fproc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265272535,"owners_count":23738496,"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":["lsof"],"created_at":"2024-10-14T18:01:47.454Z","updated_at":"2025-07-14T09:42:57.618Z","avatar_url":"https://github.com/hellojukay.png","language":"Go","readme":"# proc\nDisplay linux process information\n# Install\n```shell\ngo install github.com/hellojukay/proc@latest\n```\n# Usage\n## Show command line\n```shell\nhellojukay@local proc (master) $ sudo ./proc -p 765 -c\ncmdline     /bin/offlinenotepad -db /opt/offlinenotepad/notepad.db\nexe         /usr/bin/offlinenotepad\nworkspace   /opt/offlinenotepad\n```\n## Show environment\n```shell\nhellojukay@local proc (master) $ sudo ./proc -p 765 -e\nLANG                en_US.UTF-8\nLC_ADDRESS          zh_CN.UTF-8\nLC_MONETARY         zh_CN.UTF-8\nLC_IDENTIFICATION   zh_CN.UTF-8\nLC_MEASUREMENT      zh_CN.UTF-8\nLC_NAME             zh_CN.UTF-8\nLC_NUMERIC          zh_CN.UTF-8\nLC_PAPER            zh_CN.UTF-8\nLC_TELEPHONE        zh_CN.UTF-8\nLC_TIME             zh_CN.UTF-8\nPATH                /usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin\nINVOCATION_ID       9555009bb630491f98ba3cb78066624a\nJOURNAL_STREAM      8:24929\n```\n## Show open files\n```shell\nhellojukay@local proc (master) $ sudo ./proc -p 765 -f\n0    /dev/null\n1    socket:[24929]\n2    socket:[24929]\n3    /opt/offlinenotepad/notepad.db\n4    anon_inode:[eventpoll]\n5    pipe:[23218]\n6    pipe:[23218]\n7    socket:[23223]\n```\n\n## Show network \n```shell\nhellojukay@local proc (master) $ sudo ./proc -p 757 -n\nPROTOCOL       STATE               LOCAL          PORT      REMOTE               PORT\ntcp            TCP_ESTABLISHED     10.91.28.69    35450     42.2.21.58            156\ntcp            TCP_ESTABLISHED     10.91.28.69    35910     42.2.21.58            156\ntcp            TCP_ESTABLISHED     10.91.28.69    47454     172.24.6.35           443\ntcp            TCP_ESTABLISHED     10.91.28.69    35516     42.2.21.58            156\ntcp            TCP_ESTABLISHED     10.91.28.69    33254     42.2.21.58            156\ntcp            TCP_ESTABLISHED     10.91.28.69    34012     103.41.167.214        443\ntcp            TCP_ESTABLISHED     10.91.28.69    35476     42.2.21.58            156\ntcp6           TCP_LISTEN          ::             9090      ::                      0\ntcp6           TCP_LISTEN          ::             7890      ::                      0\ntcp6           TCP_LISTEN          ::             7891      ::                      0\ntcp6           TCP_LISTEN          ::             7892      ::                      0\ntcp6           TCP_ESTABLISHED     ::ffff:0:100:7f7890      ::ffff:0:100:7f     59248\ntcp6           TCP_ESTABLISHED     ::ffff:0:100:7f7890      ::ffff:0:100:7f     43126\ntcp6           TCP_ESTABLISHED     ::ffff:0:100:7f7890      ::ffff:0:100:7f     45594\ntcp6           TCP_ESTABLISHED     ::ffff:0:100:7f7890      ::ffff:0:100:7f     45568\ntcp6           TCP_ESTABLISHED     ::ffff:0:100:7f7890      ::ffff:0:100:7f     46028\ntcp6           TCP_ESTABLISHED     ::ffff:0:100:7f7890      ::ffff:0:100:7f     45634\ntcp6           TCP_ESTABLISHED     ::ffff:0:100:7f7890      ::ffff:0:100:7f     43372\ntcp6           TCP_CLOSE           ::             7891      ::                      0\ntcp6           TCP_CLOSE           ::             7892      ::                      0\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellojukay%2Fproc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellojukay%2Fproc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellojukay%2Fproc/lists"}