Check running application process on Mac

(imported topic written by Boon91)

Hi

Can I know how to check if a specific application is running at startup on Mac?

Thank you

(imported comment written by jessewk)

There are lots of different ways to define “running at startup” on a Mac. Here are a few that work on Leopard. Sorry I don’t have a 10.4 or 10.3 machine to test with:

Login Items:

Q: (strings 
"Name" of dictionaries of values of arrays 
"CustomListItems" of dictionaries 
"SessionItems" of dictionaries of it , preceding text of first 
"Library" of pathname of it) of files 
"com.apple.loginitems.plist" of (folders 
"Preferences" of folders 
"Library" of folders of folders 
"/Users"; folder 
"/Library/Preferences") A: GrowlHelperApp, /Users/jwk/  A: iTunesHelper, /Users/jwk/  A: Synergy, /Users/jwk/  A: GrowlHelperApp, /Users/jwk/

Login Items (10.4 and 10.3, I think. Untested):

(strings 
"Path" of dictionary of it, preceding text of first 
"Library" of pathname of it) of files 
"com.apple.loginwindow.plist" of (folders 
"Preferences" of folders 
"Library" of folders of folders 
"/Users"; folder 
"/Library/Preferences")

Launch Agents:

Q: (strings 
"Label" of dictionaries of it, preceding text of first 
"Library" of pathname of it) of files of ( folders 
"/Library/LaunchAgents"; folders 
"/System/Library/LaunchAgents"; folders 
"LaunchAgents" of folders 
"Library" of folders of folders 
"/Users") A: com.hp.launchurlagent, /  A: com.apple.AddressBook.abd, /System/  A: com.apple.AirPortBaseStationAgent, /System/  A: com.apple.alf.useragent, /System/  A: com.apple.ATSServer, /System/  A: com.apple.coreservices.uiagent, /System/  A: com.apple.DictionaryPanelAgent, /System/  A: com.apple.dotmac.notification, /System/  A: com.apple.dotmacsync.uihandler, /System/  A: com.apple.familycontrols.useragent, /System/  A: com.apple.FileSyncAgent, /System/  A: com.apple.ATS.FontValidator, /System/  A: com.apple.ATS.FontValidatorConduit, /System/  A: com.apple.gssd-agent, /System/  A: com.apple.helpdata, /System/  A: com.apple.imklaunchagent, /System/  A: com.apple.installdb.user, /System/  A: com.apple.java.updateSharingD_debug, /System/  A: com.apple.KerberosHelper.LKDCHelper, /System/  A: com.apple.metadata.mdwrite.plist, /System/  A: com.apple.netauth.useragent, /System/  A: com.apple.NetworkDiagnostics, /System/  A: com.apple.pboard, /System/  A: com.apple.pbs, /System/  A: com.apple.PCIESlotCheck, /System/  A: com.apple.pictd, /System/  A: com.apple.PreferenceSyncAgent, /System/  A: com.apple.ProblemReporter, /System/  A: com.apple.PubSub.Agent, /System/  A: com.apple.qtkitserver, /System/  A: com.apple.quicklook, /System/  A: com.apple.RemoteDesktop.agent, /System/  A: com.apple.RemoteUI, /System/  A: com.apple.ReportCrash, /System/  A: com.apple.ReportCrash.SafetyNet, /System/  A: com.apple.ReportPanic, /System/  A: com.apple.ScreenSharing.server, /System/  A: com.apple.scrod, /System/  A: com.apple.seatbelt.compiler, /System/  A: com.apple.ServerScanner, /System/  A: com.apple.Spotlight, /System/  A: com.apple.syncservices.SyncServer, /System/  A: com.apple.syncservices.uihandler, /System/  A: com.apple.UserEventAgent-Aqua, /System/  A: com.apple.UserEventAgent-LoginWindow, /System/  A: com.apple.CoreMIDIServer, /System/  A: edu.mit.Kerberos.CCacheServer, /System/  A: edu.mit.Kerberos.KerberosAgent, /System/  A: org.openbsd.ssh-agent, /System/  A: org.x.X11, /System/

Launch Daemons:

Q: (strings 
"Label" of dictionaries of it, preceding text of first 
"Library" of pathname of it) of files of folders ( 
"/Library/LaunchDaemons"; 
"/System/Library/LaunchDaemons") A: com.bigfix.BESAgent, /  A: com.vmware.launchd.vmware, /  A: com.apple.bootpd, /System/  A: com.apple.AirPort.wps, /System/  A: com.apple.airportd, /System/  A: com.apple.airport.updateprefs, /System/  A: com.apple.alf, /System/  A: com.apple.AOSHelper, /System/  A: com.apple.AppleFileServer, /System/  A: com.apple.atrun, /System/  A: com.apple.ATSServer, /System/  A: com.apple.audio.coreaudiod, /System/  A: com.apple.autofsd, /System/  A: com.apple.automountd, /System/  A: com.apple.backupd-attach, /System/  A: com.apple.backupd-auto, /System/  A: com.apple.backupd-wake, /System/  A: com.apple.backupd, /System/  A: com.apple.BluedServer, /System/  A: com.apple.bootlog, /System/  A: com.apple.bsd.dirhelper, /System/  A: com.apple.configd, /System/  A: com.apple.configureLocalKDC, /System/  A: com.apple.CoreRAID, /System/  A: com.apple.coreservicesd, /System/  A: com.apple.dashboard.advisory.fetch, /System/  A: com.apple.DirectoryServices, /System/  A: com.apple.DirectoryServicesLocal, /System/  A: com.apple.diskarbitrationd, /System/  A: com.apple.distnoted, /System/  A: com.apple.dnsextd, /System/  A: com.apple.docsetinstalld, /System/  A: com.apple.DumpPanic, /System/  A: com.apple.dyld, /System/  A: com.apple.dynamic_pager, /System/  A: com.apple.efax, /System/  A: com.apple.familycontrols, /System/  A: com.apple.FileSyncAgent.sshd, /System/  A: com.apple.firmwaresyncd, /System/  A: com.apple.fseventsd, /System/  A: com.apple.gssd, /System/  A: com.apple.hdiejectd, /System/  A: com.apple.hidd, /System/  A: com.apple.IFCStart, /System/  A: com.apple.IIDCAssistant, /System/  A: com.apple.installdb.system, /System/  A: com.apple.InternetSharing, /System/  A: com.apple.java.updateSharingD, /System/  A: com.apple.kdcmond, /System/  A: com.apple.kdumpd, /System/  A: com.apple.KerberosAutoConfig, /System/  A: com.apple.KernelEventAgent, /System/  A: com.apple.kextd, /System/  A: com.apple.kuncd, /System/  A: com.apple.lockd, /System/  A: com.apple.loginwindow, /System/  A: com.apple.mDNSResponder, /System/  A: com.apple.mDNSResponderHelper, /System/  A: com.apple.metadata.mds, /System/  A: com.apple.mio.AVCAssistant, /System/  A: com.apple.mio.IIDCVideoAssistant, /System/  A: com.apple.mio.VDCAssistant, /System/  A: com.apple.netauth.sysagent, /System/  A: com.apple.newsyslog, /System/  A: com.apple.nfsd, /System/  A: com.apple.nis.rpc.yppasswdd, /System/  A: com.apple.nis.ypbind, /System/  A: com.apple.nis.ypserv, /System/  A: com.apple.notifyd, /System/  A: com.apple.ocspd, /System/  A: com.apple.ODSAgent, /System/  A: com.apple.pcastagentd, /System/  A: com.apple.periodic-daily, /System/  A: com.apple.periodic-monthly, /System/  A: com.apple.periodic-weekly, /System/  A: com.apple.portmap, /System/  A: com.apple.RemoteDesktop.PrivilegeProxy, /System/  A: com.apple.ReportCrash.DirectoryService, /System/  A: com.apple.ReportCrash, /System/  A: com.apple.ReportCrash.SafetyNet, /System/  A: com.apple.RFBRegisterMDNS_RemoteManagement.server, /System/  A: com.apple.RFBRegisterMDNS_ScreenSharing.server, /System/  A: com.apple.scsid, /System/  A: com.apple.seatbelt.compilerd, /System/  A: com.apple.SecurityServer, /System/  A: com.apple.service_helper, /System/  A: com.apple.smb.server.preferences, /System/  A: com.apple.smbfs_load_kext, /System/  A: com.apple.spindump, /System/  A: com.apple.stackshot, /System/  A: com.apple.statd.notify, /System/  A: com.apple.syslogd, /System/  A: com.apple.systemkeychain, /System/  A: com.apple.SystemStarter, /System/  A: com.apple.taskgated, /System/  A: com.apple.update, /System/  A: com.apple.usbmuxd, /System/  A: com.apple.UserNotificationCenter, /System/  A: com.apple.uucp, /System/  A: com.apple.webfilter, /System/  A: com.apple.WindowServer, /System/  A: com.apple.xgridagentd, /System/  A: com.apple.xgridcontrollerd, /System/  A: com.vix.cron, /System/  A: com.apple.comsat, /System/  A: com.apple.AEServer, /System/  A: com.apple.rexecd, /System/  A: com.apple.fingerd, /System/  A: com.apple.ftpd, /System/  A: com.apple.rlogind, /System/  A: org.samba.nmbd, /System/  A: com.apple.ntalkd, /System/  A: org.amavis.amavisd, /System/  A: org.amavis.amavisd_cleanup, /System/  A: org.apache.httpd, /System/  A: org.cups.cups-lpd, /System/  A: org.cups.cupsd, /System/  A: org.isc.named, /System/  A: org.net-snmp.snmpd, /System/  A: org.ntp.ntpd, /System/  A: org.postfix.master, /System/  A: org.samba.winbindd, /System/  A: com.apple.rshd, /System/  A: org.samba.smbd, /System/  A: com.openssh.sshd, /System/  A: com.apple.telnetd, /System/  A: com.apple.tftpd, /System/

Startup Items (i don’t have any of these):

Q: names of items of folders (
"/Library/StartupItems"; 
"/System/Library/StartupItems")

If somebody has a large environment to test these in, that would be great!

(imported comment written by jki91)

Boon

Can I know how to check if a specific application is running at startup on Mac?

You can get pretty good understanding what processes are running (and what are they for) on your Mac at

http://triviaware.com/macprocess