|
| 1 | +--- |
| 2 | +audio: false |
| 3 | +lang: en |
| 4 | +layout: post |
| 5 | +title: System Information on macOS |
| 6 | +translated: false |
| 7 | +--- |
| 8 | + |
| 9 | +To get system information on your macOS, you can use several built-in tools and commands. Here are some methods to retrieve various types of system information: |
| 10 | + |
| 11 | +### 1. **System Information Utility** |
| 12 | +The System Information app provides a comprehensive overview of your Mac's hardware and software. |
| 13 | + |
| 14 | +- Open **Spotlight Search** by pressing `Cmd + Space` and type "System Information," then press Enter. |
| 15 | +- Alternatively, you can open it from the **Apple menu** > **About This Mac** > **System Report**. |
| 16 | + |
| 17 | +### 2. **About This Mac** |
| 18 | +This provides a quick overview of your Mac's specifications. |
| 19 | + |
| 20 | +- Click the **Apple menu** in the top-left corner of the screen. |
| 21 | +- Select **About This Mac**. This will show basic information like the macOS version, processor, memory, and serial number. |
| 22 | + |
| 23 | +### 3. **Terminal Commands** |
| 24 | +You can use the Terminal to get detailed system information using various commands. |
| 25 | + |
| 26 | +- Open **Terminal** from `Applications` > `Utilities` > `Terminal` or by searching for it in Spotlight. |
| 27 | + |
| 28 | +#### Basic System Information |
| 29 | +```sh |
| 30 | +system_profiler SPHardwareDataType |
| 31 | +``` |
| 32 | + |
| 33 | +#### Detailed System Information |
| 34 | +```sh |
| 35 | +system_profiler |
| 36 | +``` |
| 37 | + |
| 38 | +#### CPU Information |
| 39 | +```sh |
| 40 | +sysctl -n machdep.cpu.brand_string |
| 41 | +``` |
| 42 | + |
| 43 | +#### Memory Information |
| 44 | +```sh |
| 45 | +sysctl hw.memsize |
| 46 | +``` |
| 47 | + |
| 48 | +#### Disk Usage |
| 49 | +```sh |
| 50 | +df -h |
| 51 | +``` |
| 52 | + |
| 53 | +#### Network Information |
| 54 | +```sh |
| 55 | +ifconfig |
| 56 | +``` |
| 57 | + |
| 58 | +#### Battery Information (for laptops) |
| 59 | +```sh |
| 60 | +pmset -g batt |
| 61 | +``` |
| 62 | + |
| 63 | +#### List of Installed Software |
| 64 | +```sh |
| 65 | +ls /Applications |
| 66 | +``` |
| 67 | + |
| 68 | +#### macOS Version |
| 69 | +```sh |
| 70 | +sw_vers |
| 71 | +``` |
| 72 | + |
| 73 | +#### User Information |
| 74 | +```sh |
| 75 | +id |
| 76 | +``` |
| 77 | + |
| 78 | +#### List of Running Processes |
| 79 | +```sh |
| 80 | +ps aux |
| 81 | +``` |
| 82 | + |
| 83 | +#### List of Installed Brew Packages |
| 84 | +```sh |
| 85 | +brew list |
| 86 | +``` |
| 87 | + |
| 88 | +#### List of Installed Pip Packages |
| 89 | +```sh |
| 90 | +pip list |
| 91 | +``` |
| 92 | + |
| 93 | +#### List of Installed Gem Packages |
| 94 | +```sh |
| 95 | +gem list |
| 96 | +``` |
| 97 | + |
| 98 | +### 4. **Activity Monitor** |
| 99 | +This app provides real-time information about your Mac's CPU, memory, energy, disk, and network usage. |
| 100 | + |
| 101 | +- Open **Activity Monitor** from `Applications` > `Utilities` > `Activity Monitor` or by searching for it in Spotlight. |
| 102 | + |
| 103 | +### 5. **Disk Utility** |
| 104 | +This app provides information about your storage devices. |
| 105 | + |
| 106 | +- Open **Disk Utility** from `Applications` > `Utilities` > `Disk Utility` or by searching for it in Spotlight. |
| 107 | + |
| 108 | +### 6. **Third-Party Tools** |
| 109 | +There are also third-party applications like **iStat Menus** and **CoconutBattery** that provide detailed system information and monitoring capabilities. |
| 110 | + |
| 111 | +By using these methods, you can gather a wide range of system information on your macOS. |
0 commit comments