RAM files/processes

Discussion in 'Site & Server Administration' started by Namesniper, Dec 23, 2006.

  1. #1
    Hi,

    Can you please tell me which commands can show me which files are loading in RAM/which processes are runing along with their size,CPU usage, I/O etc ?

    TOP wont help in this case..

    Also is it possible to see the same for SWAP content ?
     
    Namesniper, Dec 23, 2006 IP
  2. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try this.

    top -c

    :D
     
    tanfwc, Dec 23, 2006 IP
  3. Namesniper

    Namesniper Well-Known Member

    Messages:
    365
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    118
    #3
    top: illegal option -- c
     
    Namesniper, Dec 23, 2006 IP
  4. nddb

    nddb Peon

    Messages:
    803
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #4
    free -m <-- shows memory usages, swap included
    vmstat 1 <-- shows IO to swap and other stuff
    ps aux <-- all processes and their mem sizes, cpu usage
    ps auxf <-- same thing in a tree format, shows you which are children of parents
    lsof <-- shows all open files
    lsof -i <-- shows open internet connections
    w <-- who is logged in and what they are running and system loads very quickly, ps shows the same thing in more detail
     
    nddb, Dec 23, 2006 IP