neekey / table-parser

A parser to parse table style output from shell
MIT License
25 stars 13 forks source link

PID returns UID for a `ps -lx` on my Mac Sierra #11

Open ChrisCinelli opened 6 years ago

ChrisCinelli commented 6 years ago

I am using node-ps. It returns the UID in PID.

This is a sample of an output on my ps lx( I was careful to use the same spacing):


  UID   PID  PPID CPU PRI NI      VSZ    RSS WCHAN  STAT   TT       TIME COMMAND
110274890   593     1   0   4  0  2526928  14752 -      S      ??    0:01.73 /usr/sbin/cfprefsd agent
110274890   601     1   0  37  0  2542396   6204 -      S      ??    0:01.06 /usr/libexec/UserEventAgent (Aqua)
110274890   612     1   0  37  0  2514516   2972 -      S      ??    0:00.80 /usr/sbin/distnoted agent
``
Sushindhran commented 6 years ago

Any chance this is being worked on?

Empact commented 6 years ago

Sorry for spamming the feed with my commits. Learned my lesson not to cite issues in commit messages. :P