Comments (8)
Thanks for pointing me to the fork, @gabriel .
BTW @mitchellh you have a pull request open for fixing this on OSX.
Regarding Linux, I think the issue is reading /proc/$pid/stat
instead of /proc/$pid/cmdline
from go-ps.
or use https://github.com/shirou/gopsutil
from go-ps.
Looks great! Can you point me to where I should merge any changes?
from go-ps.
You could create a pull request (or compare changes) and then pick and choose what changes you want? master...keybase:master
If you need, I could also prepare a pull-request which has these fixes (and adds more tests etc), but might be a week or so before I can get to it.
from go-ps.
Still confirming this as a problem. Do you need a hand?
Ran into a bug downstream with goss because of this.
from go-ps.
I can confirm it does truncate the names in linux.
from go-ps.
Fix for now is to just import github.com/keybase/go-ps
@mitchellh seems to have abandoned this repo
from go-ps.
do we have fix available for linux ? Are we going to merge it as I still see the same problem in github.com/mitchellh/go-ps ?
from go-ps.
Related Issues (20)
- Cross-compiling for process_darwin.h HOT 1
- Add Children(recursive) method HOT 1
- Does it have Plan9 support ?
- Releases + Tags
- Path() failed with os.PathError if the executable is already deleted
- Fails on FreeBSD i386: undefined: processes HOT 2
- Not an issue, just some thanks.
- package not ps HOT 1
- Path
- If the process cannot be found, it is better to return an error HOT 1
- Support cmdline under linux? HOT 1
- Retrieving the full path of a process HOT 1
- WSL: Show native Windows processes
- Exclude package managers HOT 1
- Executable names corrupted on Linux HOT 1
- Out-of-memory during Process32NextW returns no error and truncated process list
- Incomplete process names from wine
- Offer process termination HOT 1
- possible to use go-ps on android
- Not showing 32 bit processes on 64 bit Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-ps.