Skip to content
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

nginx not displayed fully in p.cmdline #639

Closed
ccsalway opened this issue Jun 25, 2015 · 2 comments
Closed

nginx not displayed fully in p.cmdline #639

ccsalway opened this issue Jun 25, 2015 · 2 comments

Comments

@ccsalway
Copy link

This is what it looks like in ps aux

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     21475  0.0  0.0  96104  1404 ?        Ss   Jun23   0:00 nginx: master process /usr/sbin/nginx

but this is what it looks like in psutil.Process

>>> import psutil
>>> p = psutil.Process(21475)
>>> p.cmdline()
['nginx: master process /usr/sbin/ngin']

It has chopped the x of the end. I'm guessing it's because the amount of characters per list item isnt enough.

@giampaolo
Copy link
Owner

This was introduced in #634. I should have fixed it in 3a620d9. Can you please confirm it works as expected?

@giampaolo
Copy link
Owner

I'm assuming this is fixed. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants