Find the answer to your Linux question:
Results 1 to 4 of 4
hi, can someone tell me what this command does? Code: ps -elf | grep php...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2005
    Location
    Singapore
    Posts
    234

    Linux command


    hi,
    can someone tell me what this command does?
    Code:
     ps -elf | grep php
    Proper Planing is a way of success

  2. #2
    Linux User Tommaso's Avatar
    Join Date
    Oct 2005
    Posts
    292
    Here is a link that explains pf and all of its options (its the equivalent of typing 'man pf' in your terminal)

    http://www.linux-tutorial.info/modul...&sec=1&page=ps

    not quite sure what grep is though

  3. #3
    Just Joined!
    Join Date
    Oct 2005
    Location
    North Carolina, USA
    Posts
    45
    grep is being used to filter the ps command output so only lines having "php" in them are displayed.

    So the command displays a line of info about any running process that have "php" in the name of the executable or as a parameter. So, in theory, I think you would see info on running processes associated with php.

  4. #4
    Linux Newbie
    Join Date
    Dec 2005
    Location
    Singapore
    Posts
    234
    Quote Originally Posted by michael56
    grep is being used to filter the ps command output so only lines having "php" in them are displayed.

    So the command displays a line of info about any running process that have "php" in the name of the executable or as a parameter. So, in theory, I think you would see info on running processes associated with php.
    Thks
    Proper Planing is a way of success

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •