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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.