Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cirocosta/pidpath
Retrieves the absolute path to the executable of a running process
https://github.com/cirocosta/pidpath
golang linux macos
Last synced: 28 days ago
JSON representation
Retrieves the absolute path to the executable of a running process
- Host: GitHub
- URL: https://github.com/cirocosta/pidpath
- Owner: cirocosta
- Created: 2018-09-24T00:40:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-03T21:54:30.000Z (about 3 years ago)
- Last Synced: 2024-10-04T13:15:08.690Z (about 2 months ago)
- Topics: golang, linux, macos
- Language: Go
- Homepage: https://ops.tips/blog/macos-pid-absolute-path-and-procfs-exploration/#a-golang-binary-that-suits-linux-and-macos
- Size: 1.15 MB
- Stars: 22
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
pidpath - retrieves the absolute path to the executable of a running process
Usage:
pidpath
Example:
ps aux | grep bash
vagrant 3249 0.0 0.2 23156 5220 pts/0 Ss 22:57 0:00 -bashpidpath 3249
/bin/bashInstall:
go get github.com/cirocosta/pidpath
Know more:
https://ops.tips/blog/macos-pid-absolute-path-and-procfs-exploration/#a-golang-binary-that-suits-linux-and-macos