Wednesday 2 August 2017

What Is launchd, and Why Is It Running on My Mac?

What Is launchd, and Why Is It Running on My Mac?

You’re scrolling through Activity Monitor when you notice a process you’re not familiar with: launchd. Should you be worried? No: this is actually a core part of macOS.

This article is part of our ongoing series explaining various processes found in Activity Monitor, like kernel_task, hidd, mdsworker, installd, WindowServer, blued, and many others. Don’t know what those services are? Better start reading!

This particular process, launchd, is the service management framework used by macOS, similar in some ways to Service Control Manager on Windows or systemd on many Linux distributions. A “service” is anything running in the background; on macOS these are commonly referred to as daemons and generally have names ending with the letter “d.” Most everything your Mac does—connecting to networks, showing things on the display, and backing up your files—is done by a daemon on some level.

When you turn on your Mac, launchd is one of the first things launched, after the kernel. This is why launchd has the Process ID, or PID, of 1, on every Mac system.

What Is launchd, and Why Is It Running on My Mac?

The only lower number is 0, which belongs to the kernel, represented here as kernel_task.

After launching, launchd proceeds to to launch all of the other daemons your Mac needs in order to run. After you Mac starts up, launchd continues running in the background to check that daemons are still running, and to launch any daemons needed later to run your various programs.

It’s very rare for launchd to take up many system resources, and when it does happen, rebooting your Mac is usually enough to fix it. Occasionally a buggy program trying to launch faulty daemons can cause launchd to use up a bunch of CPU. If you’ve installed something recently, try removing that and seeing if it helps.

For the most part, launchd isn’t anything users need to think about, but it is possible to interface with it directly thanks to launchctl, a Termianl tool for interfacing with launcd. Type launchctl list and you’ll see a list of every background service currently running on your Mac.

What Is launchd, and Why Is It Running on My Mac?

Messing with this much more is not a good idea unless you’re a very advanced user, but anyone interested can type launchctl help for a list of potential subcommands, or reading this advanced launchd tutorial.

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Labels

404 AdBlock Add-on Airtel GPRS Trick Airtel SMS Trick Alexa Amazon Amazon Kindle Amazon Prime Android Android 8 Android Oreo antivirus Apple Apple Mac ASCII Audacity Audio Authotkey Backup Balance Transfer in Vodafone Battery Bing Blogger Blogging Bookmarklet Browser Camera Chromebook clock Cloud colors command lines Computer Computer Tricks configuration Contact Creative Commons Credit Card CSS devolop DIY Doodle DOS Download Dropbox E-Mail eBook Email Email Attachment Embed Encryption English Error Evernote Eyes Facebook Facebook Tricks Feedburner Flipkart Font Foursquare Free Internet Free sms trick in Vodafone G Mail Gadget Game Getty Images GIF Gists Github Google Google AdSense Google Analytics Google Apps Google Chrome Google Contacts Google Currents Google DNS Google Docs Google Drive Google Earth Google Font Google Forms Google Images Google Map Google Photos Google Play Store Google Plus Google Print Google Reader Google Script Google Sheets Google Spreadsheet Google Translate GPRS Setting GPS Hacking Health App HelloFax Hindi Hoodie HTML Icons idea Image Editing Images IMEI Indian Railways Infographics Instagram Internet Internet Explorer Internet Tricks iOS iPad iPhone IRCTC iTunes iTV JavaScript JioCinema JioTV Junglee Kindle Language Translation Laptop Laptop. TV Life Time FREE GPRS Life-Style Link Linkedln Linux logo Make Money Online Microdoft Powerpoint Microdoft Word Microsoft Office Microsoft Outlook Mobile Mosaic Music Name Networking nexus Notepad OCR Online Shopping Open DNS OS Outlook Password PDF Petya Phillips Hue Lights Photogtraphy Pixel Play Station Podcasts Pokemon Pokemon Go Polls Print Productivity Proxy Server Pushbullet QR Code Ransomware Reddit Reliance Hack GPRS Reliance Jio RGB Ringtone Router RSS Safe Mode Samsung Galaxy S Scrabble Screen Capture Screen Sharing Screencast Secrets Security Send free sms from PC SEO Sierra Skype Slideshare SMBv1 SMS Snapchat Snapdeal Social Media Solution Sound Device Speech Recognition Sql Steam Sync Synology NAS Tata Docomo GPRS trick Teleprompter Torrent Trick Tricks TV Twitter UltraISO Unicode Unknown Extension Unlimited 2GB Unlimited 3GB Unlimited GPRS USB USB Security Key Video Editing virtual desktop Virus attack VLC Vodafone 110% working trick for GPRS Vodafone 3g Vodafone GPRS VPN wallpapers WannaCry Web Design Web Domain Website Wget Whatsapp WiFi Wikipedia Windows Windows 10 Windows 10 S Windows KN Windows Tricks windows updates Winows N Wolfarm Alpha WordPress XBox YouTube Zip
Twitter Delicious Facebook Digg Stumbleupon Favorites More