When an app on your Mac is behaving in an unexpected way, our Support Humans may ask you to send along a Console Log. The log may tell us exactly what is going on behind the scenes and help us resolve the issue.
In some flavors of Unix, you feel as if you've been cast into an alternate universe when you open a terminal window and work on the command line. But with OS X and its Darwin core, there's often. I have a command line application which needs to run when the user logs in. I have added a XML file to the user's launch agent directory. The application runs but the problem is it opens the terminal when it runs. I want it to just run in the background without the user knowing it. This is my plist.
Using the Console on macOS Sierra and later
- Open the Console application (from the Utilities folder inside your Applications folder).
- Click the leftmost button in the toolbar to show the sidebar, if it’s hidden.
- Select All Messages in the tab bar.
- If the Activities button in the toolbar is enabled with a blue icon, click it to turn this off.
- Switch back to our Omni app, and try to trigger the issue. This will (hopefully!) print some output to the Console.
- Return to the Console, and select the recent error messages from the main window, or from the Menu Bar choose Edit > Select All.
- From the Menu Bar, choose Edit > Copy. Then, open the TextEdit application and Paste the copied logs into a new plain text document.
- Save the text document in .txt format, and attach this to your response so we can investigate further!
Using the Console on Mac OS X El Capitan v10.11 and earlier
Open the Console application (from the Utilities folder inside your Applications folder). It should open to All Messages, showing the log entries for everything that’s happened recently on your Mac. If you’ve previously narrowed the Console results, show the Log List and select All Messages before proceeding.
In the Finder, choose Go and then AirDrop on both the sending and receiving Mac. AirDropAlthough not the most reliable solution, AirDrop works fine for occasional sharing a file between Apple devices. It remote control software works with mac. Otherwise, everyone will be able to access it.
Switch back to our Omni app, and try to trigger the issue. This will (hopefully!) print some output to the Console.
Return to Console and from the Menu Bar choose File > Save A Copy As… and attach the file to your response so we can investigate further!
Last Modified: Jul 15, 2020Related Articles
This article describes some of the commonly used features of Activity Monitor, a kind of task manager that allows you see how apps and other processes are affecting your CPU, memory, energy, disk, and network usage.
Open Activity Monitor from the Utilities folder of your Applications folder, or use Spotlight to find it.
Overview
The processes shown in Activity Monitor can be user apps, system apps used by macOS, or invisible background processes. Use the five category tabs at the top of the Activity Monitor window to see how processes are affecting your Mac in each category.
Add or remove columns in each of these panes by choosing View > Columns from the menu bar. The View menu also allows you to choose which processes are shown in each pane:
- All Processes
- All Processes Hierarchically: Processes that belong to other processes, so you can see the parent/child relationship between them.
- My Processes: Processes owned by your macOS user account.
- System Processes: Processes owned by macOS.
- Other User Processes: Processes that aren’t owned by the root user or current user.
- Active Processes: Running processes that aren’t sleeping.
- Inactive Processes: Running processes that are sleeping.
- Windowed Processes: Processes that can create a window. These are usually apps.
- Selected Processes: Processes that you selected in the Activity Monitor window.
- Applications in the last 8 hours: Apps that were running processes in the last 8 hours.
CPU
The CPU pane shows how processes are affecting CPU (processor) activity:
Mac Console Background An Apply
Click the top of the “% CPU” column to sort by the percentage of CPU capability used by each process. This information and the information in the Energy pane can help identify processes that are affecting Mac performance, battery runtime, temperature, and fan activity.
More information is available at the bottom of the CPU pane:
- System: The percentage of CPU capability currently used by system processes, which are processes that belong to macOS.
- User: The percentage of CPU capability currently used by apps that you opened, or by the processes those apps opened.
- Idle: The percentage of CPU capability not being used.
- CPU Load: The percentage of CPU capability currently used by all System and User processes. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The color blue shows the percentage of total CPU capability currently used by user processes. The color red shows the percentage of total CPU capability currently used by system processes.
- Threads: The total number of threads used by all processes combined.
- Processes: The total number of processes currently running.
You can also see CPU or GPU usage in a separate window or in the Dock:
- To open a window showing current processor activity, choose Window > CPU Usage. To show a graph of this information in your Dock, choose View > Dock Icon > Show CPU Usage.
- To open a window showing recent processor activity, choose Window > CPU History. To show a graph of this information in your Dock, choose View > Dock Icon > Show CPU History.
- To open a window showing recent graphics processor (GPU) activity, choose Window > GPU History. Energy usage related to such activity is incorporated into the energy-impact measurements in the Energy tab of Activity Monitor.
Memory
The Memory pane shows information about how memory is being used:
More information is available at the bottom of the Memory pane:
- Memory Pressure: The Memory Pressure graph helps illustrate the availability of memory resources. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The current state of memory resources is indicated by the color at the right side of the graph:
- Green: Memory resources are available.
- Yellow: Memory resources are still available but are being tasked by memory-management processes, such as compression.
- Red: Memory resources are depleted, and macOS is using your startup drive for memory. To make more RAM available, you can quit one or more apps or install more RAM. This is the most important indicator that your Mac may need more RAM.
- Physical Memory: The amount of RAM installed in your Mac.
- Memory Used: The total amount of memory currently used by all apps and macOS processes.
- App Memory: The total amount of memory currently used by apps and their processes.
- Wired Memory: Memory that can’t be compressed or paged out to your startup drive, so it must stay in RAM. The wired memory used by a process can’t be borrowed by other processes. The amount of wired memory used by an app is determined by the app's programmer.
- Compressed: The amount of memory in RAM that is compressed to make more RAM memory available to other processes. Look in the Compressed Mem column to see the amount of memory compressed for each process.
- Swap Used: The space used on your startup drive by macOS memory management. It's normal to see some activity here. As long as memory pressure is not in the red state, macOS has memory resources available.
- Cached Files: Memory that was recently used by apps and is now available for use by other apps. For example, if you've been using Mail and then quit Mail, the RAM that Mail was using becomes part of the memory used by cached files, which then becomes available to other apps. If you open Mail again before its cached-files memory is used (overwritten) by another app, Mail opens more quickly because that memory is quickly converted back to app memory without having to load its contents from your startup drive.
For more information about memory management, refer to the Apple Developer website.
Energy
The Energy pane shows overall energy use and the energy used by each app:
- Energy Impact: A relative measure of the current energy consumption of the app. Lower numbers are better. A triangle to the left of an app's name means that the app consists of multiple processes. Click the triangle to see details about each process.
- Avg Energy Impact: The average energy impact for the past 8 hours or since the Mac started up, whichever is shorter. Average energy impact is also shown for apps that were running during that time, but have since been quit. The names of those apps are dimmed.
- App Nap: Apps that support App Nap consume very little energy when they are open but not being used. For example, an app might nap when it's hidden behind other windows, or when it's open in a space that you aren't currently viewing.
- Preventing Sleep: Indicates whether the app is preventing your Mac from going to sleep.
More information is available at the bottom of the Energy pane:
- Energy Impact: A relative measure of the total energy used by all apps. The graph moves from right to left and updates at the intervals set in View > Update Frequency.
- Graphics Card: The type of graphics card currently used. Higher–performance cards use more energy. Macs that support automatic graphics switching save power by using integrated graphics. They switch to a higher-performance graphics chip only when an app needs it. 'Integrated' means the Mac is currently using integrated graphics. 'High Perf.' means the Mac is currently using high-performance graphics. To identify apps that are using high-performance graphics, look for apps that show 'Yes' in the Requires High Perf GPU column.
- Remaining Charge: The percentage of charge remaining on the battery of a portable Mac.
- Time Until Full: The amount of time your portable Mac must be plugged into an AC power outlet to become fully charged.
- Time on AC: The time elapsed since your portable Mac was plugged into an AC power outlet.
- Time Remaining: The estimated amount of battery time remaining on your portable Mac.
- Time on Battery: The time elapsed since your portable Mac was unplugged from AC power.
- Battery (Last 12 hours): The battery charge level of your portable Mac over the last 12 hours. The color green shows times when the Mac was getting power from a power adapter.
As energy use increases, the length of time that a Mac can operate on battery power decreases. If the battery life of your portable Mac is shorter than usual, you can use the Avg Energy Impact column to find apps that have been using the most energy recently. Quit those apps if you don't need them, or contact the developer of the app if you notice that the app's energy use remains high even when the app doesn't appear to be doing anything.
Disk
The Disk pane shows the amount of data that each process has read from your disk and written to your disk. It also shows 'reads in' and 'writes out' (IO), which is the number of times that your Mac accesses the disk to read and write data.
The information at the bottom of the Disk pane shows total disk activity across all processes. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The graph also includes a pop-up menu to switch between showing IO or data as a unit of measurement. The color blue shows either the number of reads per second or the amount of data read per second. The color red shows either the number of writes out per second or the amount of data written per second.
To show a graph of disk activity in your Dock, choose View > Dock Icon > Show Disk Activity.
Network
The Network pane shows how much data your Mac is sending or receiving over your network. Use this information to identify which processes are sending or receiving the most data.
The information at the bottom of the Network pane shows total network activity across all apps. The graph moves from right to left and updates at the intervals set in View > Update Frequency. The graph also includes a pop-up menu to switch between showing packets or data as a unit of measurement. The color blue shows either the number of packets received per second or the amount of data received per second. The color red shows either the number of packets sent per second or the amount of data sent per second.
C# Console App
To show a graph of network usage in your Dock, choose View > Dock Icon > Show Network Usage.
Cache
In macOS High Sierra 10.13.4 or later, Activity Monitor shows the Cache pane when Content Caching is enabled in the Sharing pane of System Preferences. The Cache pane shows how much cached content that local networked devices have uploaded, downloaded, or dropped over time.
Use the Maximum Cache Pressure information to learn whether to adjust Content Caching settings to provide more disk space to the cache. Lower cache pressure is better. Learn more about cache activity.
The graph at the bottom shows total caching activity over time. Choose from the pop-up menu above the graph to change the interval: last hour, 24 hours, 7 days, or 30 days. Wysiwyg lighting design software mac.
Learn more
- Learn about kernel task and why Activity Monitor might show that it's using a large percentage of your CPU.
- For more information about Activity Monitor, open Activity Monitor and choose Help > Activity Monitor. You can also see a short description of many items in the Activity Monitor window by hovering the mouse pointer over the item.