VMware Cloud Community
stratolynne
Contributor
Contributor

Question about ps command in ESXi 4.1

ps command in ESXi  4.1 ... is there another way to do a ps -ef | grep some server

Thanks

0 Kudos
4 Replies
rickardnobel
Champion
Champion

stratolynne wrote:

ps command in ESXi  4.1 ... is there another way to do a ps -ef | grep some server

Could you clarify the question? You want to search for some process but do not want to use ps?

My VMware blog: www.rickardnobel.se
0 Kudos
stratolynne
Contributor
Contributor

I do want to search for a process and use the ef options.  But when I do this command:

  ps -ef |grep process

I get ps: invalid option -- e

       ps: unknown option ?

       ps: invalid option -- f

       ps: unknown option ?

Does that make it more clear?

0 Kudos
rickardnobel
Champion
Champion

The ps command in 4.1 does not take any parameters I think (more available now in 5.0), but does not: ps | grep your-process work?

My VMware blog: www.rickardnobel.se
0 Kudos
stratolynne
Contributor
Contributor

Yes. Thanks for the response.

0 Kudos