The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ps aux

Discussion in 'General Discussion' started by SACHIN, May 11, 2005.

  1. SACHIN

    SACHIN Guest

    hello,

    how can i see the CPU/Memory/MySQL Usage using command?
    1)login into whm
    2)server status
    3)CPU/Memory/MySQL Usage this is the option.

    how can i see 3rd option using command ?
    which command or option shall i run ?

    ps aux or something? please provide the option.

    Thank you,

    Waiting for reply
    :confused:
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    There are a number of options for you........

    shell>top
    shell>lsof -i ( it will show the all processes that are running with more details)
    shell>ps -aux
    (see man pages for more information)
     
    #2 nickb, May 11, 2005
    Last edited: May 11, 2005
  3. SACHIN

    SACHIN Guest

    Hello..

    Thank you for info..
    i know top
    i am chekcing man pages of ps but what is my basic question.
    how can get similer output like WHM
    when we click on whm option CPU/Memory/MySQL Usage
    it is showing user wise as well as sorted cpu wise.
    i am finding same output using command
    please help me for option.


    thank you in advance..


    :confused:
     
  4. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    You can use pipe like "grep" to sort out the details further.
    eg shell> ps -aux | grep root

    It will show all the processes running with root privileges.
     
  5. SACHIN

    SACHIN Guest

    Hello...

    ps auxww |root it is no showing required output

    I need following out put wih ps auxwww

    when i will run command i need all process info in details
    sorted by cpu usages
    it will show chld process too
    for example when you click on whm option what type of info you are getting i need same output.

    do the following things
    1)login into whm
    2)click on server status function
    3)click on CPU/Memory/MySQL Usage

    Main >> Server Status >> CPU/Memory/MySQL Usage
    you will get output with 5 columns
    1 will show username
    2 will show cpu usages and /domain name
    3 will show total cpu usage of particuler user and child process
    4 will show u mem usages
    5 will show u mysql usages

    i need out put like this using console

    waiting for reply

    Thank you,
     
    #5 SACHIN, May 12, 2005
    Last edited by a moderator: May 12, 2005
  6. linuxgirl

    linuxgirl Active Member

    Joined:
    Nov 20, 2004
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    waiting for answer

    waiting for answer


    :confused:

    :(
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You've already been given to tools that you need, i.e. top and ps. You could also look into account tools such as the sysstat applications. But this isn't cPanel related, this is basic Linux server management which you need to learn - there are plenty of tutorials on the web or books you can buy or indeed courses you can take for that purpose.
     
  8. biblos

    biblos Registered

    Joined:
    May 18, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1

Share This Page