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

Processes plugin fails to parse output of /proc/[pid]/stat because it contains '|' #3617

Closed
swbsf opened this issue Dec 22, 2017 · 3 comments

Comments

@swbsf
Copy link

swbsf commented Dec 22, 2017

Hi, you had similar issue with different characters, now it's a pipe :)

  • OS : Debian Jessie
  • Kernel : 4.14.7-sunxi
  • arch: ARM (Olimex Lime2)

Tested on 4.10.1-sunxi, and no issue.

Dec 21 15:13:21 localhost telegraf[791]: 2017-12-21T15:13:21Z I! processes: Unknown state [ I ] in file /proc/1069/stat

# cat /proc/99/stat 99 (ipv6_addrconf) I 2 0 0 0 -1 69238880 0 0 0 0 0 0 0 0 0 -20 1 0 382 0 0 4294967295 0 0 0 0 0 0 0 2147483647 0 1 0 0 17 1 0 0 0 0 0 0 0 0 0 0 0 0 0

Probably specific to this kernel, still, that's weird.

@swbsf
Copy link
Author

swbsf commented Dec 22, 2017

Just realized it's not a pipe but a big i :
I

@phemmer
Copy link
Contributor

phemmer commented Dec 22, 2017

See #3530

@swbsf
Copy link
Author

swbsf commented Dec 22, 2017

Whoops, ok let's close that one then.

@swbsf swbsf closed this as completed Dec 22, 2017
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