1 Reply Latest reply: Feb 2, 2013 3:59 AM by Catch_22 RSS

    How to find memory taken by a process using top command

    975148
      I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example:

      Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers
      Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached

      PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
      16514 applmgr 25 0 2197m 1.7g 10m S 0.3 13.0 15:20.67 java
      30692 crestelo 22 0 2901m 1.4g 9284 S 0.0 11.0 3:03.68 java
      30431 crestelo 25 0 2043m 1.4g 161m S 50.9 11.0 79:02.73 java
      30869 crestelo 25 0 2860m 1.2g 9292 S 0.0 9.6 7:11.18 java
      16655 applmgr 23 0 1934m 1.1g 10m S 0.3 8.9 2:17.49 java
      16319 crestelo 19 0 1541m 299m 44m S 0.0 2.3 2:52.11 java

      I hope, my question is clear as to how to find the memory taken by a process using top command.

      Please revert with the reply to my query.

      Regards