pjoshi Posted July 15, 2009 Share Posted July 15, 2009 Hi, top command shows the multiple instances (min 7-8 instances) of the same application with different PID wherein the PS command shows only one instance. I would like to know whether memory (RAM) utilised by the application is only once as shown in 'SIZE' column or multiplied by the number of instances shown in the top command. If this is the case a large volume of memory is getting blocked in this process. How can I overcome this? Thanks in anticipation. Link to comment https://forums.phpfreaks.com/topic/166017-top-command/ Share on other sites More sharing options...
ijug.net Posted July 15, 2009 Share Posted July 15, 2009 Run ps -aef command it will show all of them Link to comment https://forums.phpfreaks.com/topic/166017-top-command/#findComment-875642 Share on other sites More sharing options...
pjoshi Posted July 16, 2009 Author Share Posted July 16, 2009 I executed the command ps -aef, but that ended up in showing all the processes that are running. My query was when I give top command it shows multiple instances of the same application with different PID. So is it utilizing the memory (RAM) only once (as per the size mentioned in the application) or the size gets multiplied by number of time the top command displays the application. Link to comment https://forums.phpfreaks.com/topic/166017-top-command/#findComment-876382 Share on other sites More sharing options...
trq Posted July 16, 2009 Share Posted July 16, 2009 Each instance of a program uses (and top lists) its own allocation of memory. Link to comment https://forums.phpfreaks.com/topic/166017-top-command/#findComment-876453 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.