whoislaunched

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.5 - CODING/DEVELOP
Introduced first in SolidGeometry 4.5, Creation date: 2019-03-22, Last change: 2025-07-20

shows on MAC OSX the current list of 3rd party tasks (non-apple) launched Agents/Daemons


Only for toolbox developer (2025-08-09) - Not intended to be released

Description

It shows the active processes
Use whoisPID('LABEL','remove')

See Also: whoislaunchagent , sudokill , whoisTCP , userIP

Example Illustration

 missing image of whoislaunched()

Syntax

whoislaunched([])

Examples


whoislaunched




Copyright 2019-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This MATLAB function, whoislaunched, is designed to display a list of active third-party (non-Apple) processes on a macOS system. It is part of the SolidGeometry library and is categorized under auxiliary procedures. The function does not take any specific input parameters, as indicated by the use of varargin, which allows for a variable number of input arguments, but none are explicitly used in the function.

The function begins by printing a header message to the console, indicating that it will list third-party tasks currently launched on the computer. This is done using the fprintf function with a file identifier of 2, which directs the output to the standard error stream.

The core of the function is a system call executed via the system command. The command 'launchctl list | grep -v -e ''com.apple''' is used to retrieve a list of all processes managed by launchctl, excluding those that are part of Apple's own services. The grep -v -e ''com.apple'' part filters out any lines containing com.apple, effectively showing only third-party processes.

After executing the system command, the function prints additional messages to the console. These messages provide guidance on how to use related functions, such as whosisPID and whoislaunchagent, to manage or remove process labels from the launch list. The function suggests using whosisPID with a process ID (PID) or label to remove processes or find launch agents, and whoislaunchagent to find and remove launch agents.

Overall, the function is a utility for macOS users to monitor and manage third-party processes, providing a simple interface to view and interact with these processes through related functions.

Algorithm explaination created using ChatGPT on 2025-08-19 01:39. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-08-09