Output of the "ps w" command

I am using customized OpenWRT, in which no option works for the ps command except w.

When I enter ps w, it’s showing all the running processes, but if I type, for example, ps w | grep kkkk it’s showing an output 4414 (username) 1032 R grep kkkk.

Obviously this process doesn't exist.

Can anybody please explain this?

Actually, I wanted to get the list of daemon processes running in OpenWRT.

2

2 Answers

It is showing you the grep kkkk process that you are running!

I know this is an old post, but maybe someone needs this. u can install procps-ng-ps

opkg update && opkg install procps-ng-ps

ps -l

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like