Question on difference between Linux and Windows application process management
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Question on difference between Linux and Windows application process management
Hello,
I find a difference between Linux and Windows application process manageme
1) under Windows, we can not remove an exe file when it is running; while under Linux, we can do so.
2) under Windows, we can kill a runnnig exe file at its runtime while under Linux, we cannot do so except we specifically noted its process name.
Any help would be appreciated. Thanks!
I find a difference between Linux and Windows application process manageme
What exactly is your question?
Quote:
Originally Posted by rubinliutoo
1) under Windows, we can not remove an exe file when it is running; while under Linux, we can do so.
This is filesystem behaviour differences, not process management. Under windows open files can't be deleted (one of the reasons for frequent reboots after driver installs, etc). Under Linux every file can be deleted at any time (if you have suitable access rights), but file contents will be still available for all programs that opened that file - until they close file, and it'll be gone.
Quote:
Originally Posted by rubinliutoo
2) under Windows, we can kill a runnnig exe file at its runtime while under Linux, we cannot do so except we specifically noted its process name.
YOu can kill almost anything with "killall" and "kill" commands, (using either program name, or process identifier) - if you have suitable rights for that.
This is filesystem behaviour differences, not process management. Under windows open files can't be deleted (one of the reasons for frequent reboots after driver installs, etc). Under Linux every file can be deleted at any time (if you have suitable access rights), but file contents will be still available for all programs that opened that file - until they close file, and it'll be gone.
Exactly professional awswer to me.
thanks very much your nice help.
Quote:
Originally Posted by ErV
YOu can kill almost anything with "killall" and "kill" commands, (using either program name, or process identifier) - if you have suitable rights for that.
as to this part, I need to add more details:
we are using 2 application control software (one for Windows,another one for Linux), user can add some application into blacklist in these 2 application control software to block un-wanted applications from running.
while we find a difference between Linux and Windows platform, under Applicaiton control for Linux:
1)Application control is running normally with application blacklist functioning
2)Start an application named A successfully
3)Then user add this application A into Application control blacklist
4)After this User will find the application A is still running, while if user newly start an application A, it will be blocked.
Question: under Windows Platform, after adding an application into blacklist, its running application will be blocked soon.
So here, can you give some help on this issue?
thanks a lot again.
Last edited by rubinliutoo; 06-26-2008 at 11:57 PM.
Sounds like you've got a 3rd party tool to do 'Application control/blacklisting' . It all depends how its coded.
If I'm wrong, please explain how this control/blacklist DOES work/is implemented (on Linux).
as to this part, I need to add more details:
we are using 2 application control software (one for Windows,another one for Linux), user can add some application into blacklist in these 2 application control software to block un-wanted applications from running.
while we find a difference between Linux and Windows platform, under Applicaiton control for Linux:
1)Application control is running normally with application blacklist functioning
2)Start an application named A successfully
3)Then user add this application A into Application control blacklist
4)After this User will find the application A is still running, while if user newly start an application A, it will be blocked.
Question: under Windows Platform, after adding an application into blacklist, its running application will be blocked soon.
So here, can you give some help on this issue?
thanks a lot again.
I can't provide any help, because:
1) You didn't provide name of management software.
2) I don't know how exactly it is implemented and how it blocks applications from being run (and I'm not in the mood for looking into source code (if available), sorry.). If "application control software" comes with source code, you could try to find/fix problem yourself - by looking into source code and changing it. If "appplication control software" doesn't have source, then your only solution will be asking program creator (or technical support) for help/explanation.
Basically, blacklisting program could use "killall" (see "man killall" for details) to kill all processes that were blacklisted recently, but it looks like it isn't trying to do that. So, I guess it's a bug (or "feature"?) of "application control software", not an OS difference.
I can't provide any help, because:
1) You didn't provide name of management software.
2) I don't know how exactly it is implemented and how it blocks applications from being run (and I'm not in the mood for looking into source code (if available), sorry.). If "application control software" comes with source code, you could try to find/fix problem yourself - by looking into source code and changing it. If "appplication control software" doesn't have source, then your only solution will be asking program creator (or technical support) for help/explanation.
Basically, blacklisting program could use "killall" (see "man killall" for details) to kill all processes that were blacklisted recently, but it looks like it isn't trying to do that. So, I guess it's a bug (or "feature"?) of "application control software", not an OS difference.
thanks your comments very much.
I have got the point, the application blocking mechanism is as follows:
1) user can add an applications 's k-menu entry (a desktop file )into application blocking list to get it blocked, so application control SW will block its k-menu entry not this appliation instead
2) so if this application is running, it is impossible to get it blocked again other than re-modify sources code, but this will be a tendious work.
thank again.
Last edited by rubinliutoo; 07-01-2008 at 12:04 AM.
Sounds like you've got a 3rd party tool to do 'Application control/blacklisting' . It all depends how its coded.
If I'm wrong, please explain how this control/blacklist DOES work/is implemented (on Linux).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.