![Mac command line show free space](https://loka.nahovitsyn.com/124.jpg)
The top command is useful to check memory and CPU usage per process.
st: Time stolen from a virtual machine.
#Mac command line show free space install#
This article shows three ways to install Xcode Command Line Tools, including the newest approach using. Before Linux 2.5.41, this includes IO-wait time. Developers need to install Xcode Command Line Tools before they can develop software on a Mac.
us: Time spent running non-kernel code. CPU – These are percentages of total CPU time. cs: number of context switches per second. in: number of interrupts per second, including the clock. bo: Blocks sent to a block device (blocks/s). bi: Blocks received from a block device (blocks/s). buff: the amount of memory used as buffers. b: number of processes in uninterruptible sleep. r: number of processes waiting for run time. The detailed description listed below provides an explanation for each value in case you need assistance in analyzing the results. Stats: Pages free: 90009 Pages purgeable: 139593 Pages purged: 7496548 Swap I/O: Swapins: 470466 Swapouts: 530913 Page Q counts: Pages active: 407739 Pages inactive: 148277 Pages speculative: 16200 Pages throttled: 0 Pages wired down: 263064. The table below lists the most useful variations of the free command. See the output of my system (i5, 4 GB RAM) The system has 2147483648 (524288 pages with a page size of 4096). The free command has multiple options to format the output so that it better matches your requirements. The key figure being the available value as it displays how much memory is still available for running new applications. Memory reserved by the OS to allocate as buffers when process need themĮstimation of how much memory is available for starting new applications, without swapping.Ĭompared to the /proc/meminfo file, the free command provides less information. Unused memory (free= total – used – buff/cache) Memory currently in use by running processes (used= total – free – buff/cache) The data represents the used/available memory and the swap memory figures in kilobytes.