LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
LinkBack Search this Thread
Old 06-26-2008, 07:43 AM   #1
rubinliutoo
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Unhappy 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!
 
Old 06-26-2008, 08:49 AM   #2
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 61
Quote:
Originally Posted by rubinliutoo View Post
Hello,

I find a difference between Linux and Windows application process manageme
What exactly is your question?

Quote:
Originally Posted by rubinliutoo View Post
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 View Post
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.
 
Old 06-26-2008, 11:52 PM   #3
rubinliutoo
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by ErV View Post
What exactly is your question?


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 View Post
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.
 
Old 06-30-2008, 01:10 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
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).
 
Old 06-30-2008, 01:45 AM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 61
Post

Quote:
Originally Posted by rubinliutoo View Post
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.
 
Old 07-01-2008, 12:00 AM   #6
rubinliutoo
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by ErV View Post
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.
 
Old 07-01-2008, 12:02 AM   #7
rubinliutoo
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by chrism01 View Post
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).
thanks your nice help.

I have got the points ,see as my above comments.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Process management in linux? samengr Linux - General 1 03-11-2008 08:04 AM
Question regarding process management misbahuddin Linux - Software 2 12-05-2005 10:06 AM
Process Management in Linux rjmendez Linux - General 5 08-11-2004 03:05 AM
A question about the difference between Linux and Windows Kernels ludwig W General 29 04-16-2004 03:44 AM
Some Question on linux process management.. ttianhuat Linux - Newbie 4 01-29-2004 10:35 PM


All times are GMT -5. The time now is 08:40 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration