find a process occupy your server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • M D

    find a process occupy your server

    I want to find out how much my php program is occupying cpu process

    My web server allow ssh access. I remeber ps -aux( or something similar)
    lists all process running at the server.

    Which parameter i should be looking at?

    Thanks in advance.
    MD


  • Arkady Renko

    #2
    Re: find a process occupy your server

    M D wrote:
    I want to find out how much my php program is occupying cpu process
    >
    My web server allow ssh access. I remeber ps -aux( or something similar)
    lists all process running at the server.
    >
    Which parameter i should be looking at?
    >
    Thanks in advance.
    MD
    >
    >
    ps aux | grep httpd

    (assuming you're using apache)

    will be in the form

    executinguser PID %CPU %MEM [etc..]

    thats a start
    --
    --------------------
    Arkady Renko
    Network Admin
    To email me directly
    Remove all capitals
    and underscores from
    my posting address

    Comment

    Working...