LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2009, 05:02 AM   #1
pjoshi
LQ Newbie
 
Registered: Nov 2009
Location: Pune, India
Distribution: RHEL AS 3
Posts: 7

Rep: Reputation: 0
Unhappy Multiple instances of the same application with different PID's


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 of an application.

I would like to know whether memory (RAM) utilized 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.

Prasad
 
Old 11-24-2009, 05:31 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,576

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
try pstree with fancy options
pstree aux?
 
Old 11-24-2009, 07:34 AM   #3
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
Please provide more infomation on things like this.


The OS, Program name, etc. Certain programs spawn children processes so it could be completely normal.
 
Old 11-25-2009, 12:54 AM   #4
pjoshi
LQ Newbie
 
Registered: Nov 2009
Location: Pune, India
Distribution: RHEL AS 3
Posts: 7

Original Poster
Rep: Reputation: 0
Slimm609,

Thanks for the suggestions. The OS we are using is RedHat Linux with kernal 2.4.21. The programs for which the Top command shows multiple instances are Open Office 3.0, Thunderbird 2.0, Netscape, Mozilla Firefox etc

Prasad
 
Old 11-25-2009, 04:36 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,576

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
That's kinda normal. In windows, everything is in the one exe, and when it is hacked, the hacker can do anything - hence hacks which read off the address book and mail them copies of the virus.

In linux, each program does one bit only as a rule. If that's hacked, the hacker only has access or permissions for one tiny area (e.g. incoming mail). Program suites observe this rule by using separate processes and libs for separate functions.

The behaviour you describe is not a problem. Investigate linux programming yourself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I manage CPU affinity FBO multiple instances of an application in RHEL v5.x? Kevin McLeod Linux - Newbie 2 02-05-2009 06:40 PM
Multiple Application Instances Think_UNIX General 0 09-26-2007 08:38 AM
kickstart; how-to info needed for multiple instances of RH OS's and multiple unique v Joe_Wulf Linux - Server 4 06-22-2007 12:18 AM
Why does ps -A show several instances of the same application? davidas Debian 2 04-19-2004 11:53 PM


All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration