-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use process cmd from ps-list (instead of/with) the name #16
Comments
I added support for this with PR #14 - if that gets merged then searching by full command will be possible with |
The reason I didn't use the command with arguments by default is that it's very verbose. It includes the full path to the binary. I could find no way to just extract the arguments as I couldn't split on a space as Ideally we would show the binary (without full path) and arguments by default, but as I said, I couldn't find a way to do it cleanly. We could maybe do it for known cases like |
I looked into this more, and I might have a solution to get the arguments without the full path. It seems |
:) I came to the same conclusion last night - wasn't sure how to sort it for Windows users though (and also don't have a window machine, so could not test) Shall I leave the changes to ps-list to you? Perhaps, if you're busy, we could look at the integration back into fkill-client in another merge and complete this PR #14 without it? |
Seems like it should be possible: http://superuser.com/questions/415360/how-do-i-find-out-command-line-arguments-of-a-running-program, but I'm not that concerned about it. We can leave it as PR welcome if any Windows users wants it.
I probably won't have time to do the |
I opened an issue on |
I'd like to counter that often the path of the binary is useful for searching, I often kill python processes by searching for the virtualenv the bin is located in. g.g. if I want to kill all processes for a particular project, I'll search for Maybe we could allow searching the full path, but display an abbreviated version if it's above a certain number of characters? |
@pirate Good point. I would differentiate plain binaries and apps though. For apps you don't care about the path, but you might for binaries. Maybe just doing You can see the full path with |
I think it would be easer to find a process if the full command is used instead of the name.
Indeed, if i have couple of node process running in background, i will have
but if the full command is displayed
an other display could be
The text was updated successfully, but these errors were encountered: