#311510 - 23/06/2008 13:58
Mac newbie question: Background system processes?
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
I use the latest BitTorrent client software to grab the current Doctor Who episodes. Depending on where I happen to be that Saturday, I do it either on a PC or on a Mac.
I noticed on the PC that it installed a secondary product called "DNA" which is a new feature, a background streaming server based on BitTorrent technology. This is a separate feature from BitTorrent, and is unrelated to the file sharing aspects of BitTorrent. Unlike BitTorrent itself, DNA runs without my knowledge and without an icon to indicate its presence. This made me angry, so I googled around and found out how to remove it. (btdna.exe /uninstall)
Even if it hadn't had the convenient uninstall command line built in, there are a few different ways on the PC that I can detect the presence of such a thing and prevent it from running. Being a long-time PC user, I know most of these methods.
But when it comes to similar sleuthing on the Mac, I've got no idea where to start. I'm assuming, since I installed the same BitTorrent version on the Mac as I did on the PC, the Mac version must also include this background streaming service. How do I find it and exterminate it?
I asked this question a few days ago on the BitTorrent forums, hoping to get an answer that was specific to BitTorrent. But I've had no responses, and now I'm curious about the generic case. In the generic sense (i.e., for any process, not just DNA), what are the steps to determine what's running in the background, and how would you remove such a background service, on the Mac?
PS: Please, no discussions about which BitTorrent client I *should* be using instead of the one I am using. We can do that in another thread if you want.
|
Top
|
|
|
|
#311511 - 23/06/2008 14:26
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
|
List all the running processes: Find the naughty process id then: To kill it off.
Edited by andym (23/06/2008 14:29)
_________________________
Cheers,
Andy M
|
Top
|
|
|
|
#311512 - 23/06/2008 14:31
Re: Mac newbie question: Background system processes?
[Re: andym]
|
carpal tunnel
Registered: 10/06/1999
Posts: 5916
Loc: Wivenhoe, Essex, UK
|
Though of course you'll need to do more than that to stop the process getting run again in the future.
_________________________
Remind me to change my signature to something more interesting someday
|
Top
|
|
|
|
#311513 - 23/06/2008 14:41
Re: Mac newbie question: Background system processes?
[Re: andy]
|
carpal tunnel
Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
|
Yes, but that's probably a considerably longer reply. I'd be interested to see if there was anything running in the first place.
_________________________
Cheers,
Andy M
|
Top
|
|
|
|
#311514 - 23/06/2008 15:33
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
|
What Andy said... But from a GUI, you can run Activity Monitor. From there you can also quit or force quit processes and applications. The most obvious places to look for evidence of such a process launching at startup is in the various locations used to store your list of start items. The first place is Login Items: System Preferences -> Accounts -> Your User Account -> Login Items tab Items listed in there get launched when your user account gets logged in. Remove an item to stop it from being launched. Note that some programs also have preferences to control this, so you might want to look at the prefs for your BT client. That will also make sure the login item doesn't get auto-repaired the next time you launch the BT client. You can also look in: /Library/Preferences/com.apple.loginitems.plist That's where some items that get launched for ALL users get launched at login. The file is best viewed with Property List Editor which is part of the developer tools install. From there you can read about launchd which is now beyond the scope of my quick reply. http://developer.apple.com/macosx/launchd.htmlBruno
|
Top
|
|
|
|
#311515 - 23/06/2008 17:18
Re: Mac newbie question: Background system processes?
[Re: hybrid8]
|
carpal tunnel
Registered: 08/06/1999
Posts: 7868
|
I always have Activity Monitor running on every PC (pet peeve, PC is a personal computer, not Windows) machine running OS X that I use. One handy thing with it is to set the dock icon to show CPU History (under the view menu). This lets me keep an eye on the processor usage without needing something like iStat Menus.
|
Top
|
|
|
|
#311516 - 23/06/2008 17:28
Re: Mac newbie question: Background system processes?
[Re: drakino]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
I always have Activity Monitor running on every PC (pet peeve, PC is a personal computer, not Windows) machine running OS X that I use. Pet peeve: redundant noun phrases: "I always have Activity Monitor running on every personal computer machine running OS X that I use."
_________________________
Bitt Faulk
|
Top
|
|
|
|
#311517 - 23/06/2008 17:47
Re: Mac newbie question: Background system processes?
[Re: wfaulk]
|
carpal tunnel
Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
|
Pet peeve: redundant noun phrases: Tom might have just accidentally inserted the brace one word too early. Maybe he meant "Windows machine)"
|
Top
|
|
|
|
#311518 - 23/06/2008 17:48
Re: Mac newbie question: Background system processes?
[Re: drakino]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
Agreed, but it's common usage to say "Mac" or "PC" to distinguish between the two platforms, the terms are even used that way in Apple's own TV ads, so you can't really fault me there. Back to topic: Thanks very much, everyone, for the detailed and useful answers. I'll give that stuff a shot when I get back home to the Mac this evening.
|
Top
|
|
|
|
#311520 - 23/06/2008 18:25
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 08/06/1999
Posts: 7868
|
Pet peeve: redundant noun phrases: Fair enough. It's what I get for going back and rewording that sentence. the terms are even used that way in Apple's own TV ads, so you can't really fault me there. The ads annoy me just as much for the same reason. Just like someone asking "So is that an iPod for the car" when talking about the empeg :-)
|
Top
|
|
|
|
#311529 - 24/06/2008 09:54
Re: Mac newbie question: Background system processes?
[Re: drakino]
|
addict
Registered: 24/07/2002
Posts: 618
Loc: South London
|
Historially yes, but the meanings of many words adapt over time.
Much like "Pop Music" (aka. Popular Music) now generally defines a particular genre of music, rather than something just being "popular".
Mac & PC? I consider them to be different even though I'm more than aware of the underlying meaning.
I do, however usually use the word "Wintel" to avoid any ambiguity!
|
Top
|
|
|
|
#311531 - 24/06/2008 14:15
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
Okay, the results of ps -A shows nothing in the process list that remotely resembles the BTDNA process. So I guess it wasn't installed on the Mac version after all.
Thanks for your help, everyone!
|
Top
|
|
|
|
#311533 - 24/06/2008 15:48
Re: Mac newbie question: Background system processes?
[Re: drakino]
|
journeyman
Registered: 02/04/2002
Posts: 56
Loc: Las Vegas
|
"pet peeve, PC is a personal computer, not Windows machine" Yes, that is the original definition. But the common substitution of simply saying "PC" instead of "PC running a Microsoft OS" began when IBM named their first PC (in the original sense) the "IBM PC". IBM PC compatible machines were called "PC clones", and later also simply "PCs". Subsequently, any machine running a Microsoft OS from DOS through all the various versions of Windows has been identified as a "PC". It's somewhat analogous to why we often call the U.S.A. "America". Because although there are many other nations in North, Central and South America; none of them has the actual word "America" in their names.
|
Top
|
|
|
|
#311534 - 24/06/2008 17:42
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
Okay, the results of ps -A shows nothing in the process list that remotely resembles the BTDNA process. So I guess it wasn't installed on the Mac version after all. Wait. The Mac OS is all about least-privilege these days. Do I need to execute some kind of an elevation command, prior to the ps -A command, so that it will show all processes for all users and system items?
|
Top
|
|
|
|
#311535 - 24/06/2008 17:52
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
|
Looking at the man page: -A : Display information about other users' processes including those without controlling terminals You should be good.
_________________________
Cheers,
Andy M
|
Top
|
|
|
|
#311536 - 24/06/2008 18:36
Re: Mac newbie question: Background system processes?
[Re: andym]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
|
Top
|
|
|
|
#311537 - 24/06/2008 19:59
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 08/06/1999
Posts: 7868
|
Also, Activity Monitor, when set to "All Processes" does the same thing as ps -A.
Pretty much no harm in letting users see what the machine is running, unless someone is putting their password as a command line argument into a program that doesn't mask that out of the process listing.
Never did understand Microsoft's decision to force an elevation to see all processes in Vista. The 30+ years of UNIX users being able to see everything hasn't been a problem.
|
Top
|
|
|
|
#311538 - 24/06/2008 20:14
Re: Mac newbie question: Background system processes?
[Re: drakino]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
Never did understand Microsoft's decision to force an elevation to see all processes in Vista. Perhaps to keep malware from searching for and then doing naughty things to other processes? I dunno how that stuff works.
|
Top
|
|
|
|
#311539 - 24/06/2008 20:50
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Which it would need elevated privileges to do, which, if it has them, you're already screwed.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#311540 - 25/06/2008 01:17
Re: Mac newbie question: Background system processes?
[Re: tfabris]
|
carpal tunnel
Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
|
Never did understand Microsoft's decision to force an elevation to see all processes in Vista. Perhaps to keep malware from searching for and then doing naughty things to other processes? I dunno how that stuff works. More likely so corporate spyware can remain hidden.
_________________________
Glenn
|
Top
|
|
|
|
#311542 - 25/06/2008 04:14
Re: Mac newbie question: Background system processes?
[Re: gbeer]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31596
Loc: Seattle, WA
|
|
Top
|
|
|
|
#311543 - 25/06/2008 11:50
Re: Mac newbie question: Background system processes?
[Re: drakino]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Never did understand Microsoft's decision to force an elevation to see all processes in Vista. What about someone who'd prefer that his wife and kids don't see that he's running MonkeyPr0nDownloader.exe in his account?
_________________________
-- roger
|
Top
|
|
|
|
#311544 - 25/06/2008 12:06
Re: Mac newbie question: Background system processes?
[Re: Roger]
|
carpal tunnel
Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
|
What about someone who'd prefer that his wife and kids don't see that he's running MonkeyPr0nDownloader.exe in his account? What kind of self-respecting, porn-downloading man doesn't have his own personal computer, off-limits to the wife, and should you have them, kids? Besides, if you can't share your porn with your wife and kids, you've got one messed up family.
|
Top
|
|
|
|
#311545 - 25/06/2008 15:15
Re: Mac newbie question: Background system processes?
[Re: hybrid8]
|
pooh-bah
Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
|
Agree with Bruno - wives and kids should have accounts in VMs, so they can't break anything:-)
_________________________
Rory MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi MkII, 240Gb in Mark Lord dock MkII, 80Gb SSD in dock
|
Top
|
|
|
|
#311560 - 26/06/2008 03:53
Re: Mac newbie question: Background system processes?
[Re: frog51]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
Agree with Bruno - wives and kids should have accounts in VMs, so they can't break anything:-) Well, it was a hypothetical, but the wife has her own non-admin account, so she can't break anything except her own account; and Charlie's motor skills aren't up to using a computer yet (he's only 7 weeks old, give him time).
_________________________
-- roger
|
Top
|
|
|
|
#311630 - 28/06/2008 09:51
Re: Mac newbie question: Background system processes?
[Re: Roger]
|
veteran
Registered: 01/10/2001
Posts: 1307
Loc: Amsterdam, The Netherlands
|
Charlie's motor skills aren't up to using a computer yet (he's only 7 weeks old, give him time). "Give him time"? What kind of parents are you? You are not doing him any favours by being touchy-feely at the wrong time. Don't you realize that kids need to be given crucial life skills early enough to stay competitive in tomorrow's global workspace and knowledge economy?
|
Top
|
|
|
|
|
|