Category filter

Script to List Internet-connected Apps and Processes on Mac

High speed network connectivity is necessary for the efficient and smooth functioning of organizations. However, some apps and processes may consume loads of data and cause bandwidth-hogging within the Enterprise. Hence, the organization may need to track down apps connected to the internet and terminate them to reduce network traffic. Hexnode makes it easier to identify apps and processes connected to the internet by deploying scripts on macOS devices.

Scripting Language – Bash

File extension – .sh


The Sample Scripts provided below are adapted from third-party Open-Source sites.

List apps and processes

To view the output from the Hexnode portal, head on to the Manage tab, select required device, go to the Action History tab, and click on Show Output corresponding to the executed script.


  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

  • Sample Script Repository