This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| vmstat=$(vm_stat) | |
| page_size=$(echo "$vmstat"|grep 'page size'|cut -d ' ' -f 8) | |
| free_pages=$(echo "$vmstat"|awk '/^Pages free/ {print substr($3, 1, length($3)-1)}') | |
| inactive_pages=$(echo "$vmstat"|awk '/^Pages inactive/ {print substr($3, 1, length($3)-1)}') | |
| speculative_pages=$(echo "$vmstat"|awk '/^Pages speculative/ {print substr($3, 1, length($3)-1)}') | |
| file_pages=$(echo "$vmstat"|awk '/^File-backed pages/ {print substr($3, 1, length($3)-1)}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| value | host_statistics_pages | host_statistics_mb | vm_stat_mb | vm_stat_pages | |
|---|---|---|---|---|---|
| free | 10637 | 41 | 39 | 10178 | |
| inactive | 1415946 | 5531 | 5533 | 1416664 | |
| wired | 686800 | 2682 | 2682 | 686822 | |
| active | 1424004 | 5562 | 5561 | 1423734 | |
| external | 734911016 | 2870746 | 2302 | 589350 | |
| speculative | 1 | 0 | 23 | 6022 | |
| total | 4194304 | 16384 | 16384 | 4194304 | |
| available_fcache | 734921652 | 2870787 | 2318 | 593506 | |
| available_inact | 1426582 | 5572 | 5550 | 1420820 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val application = Energy4Java().newApplication( | |
| ApplicationAssembler { factory -> | |
| factory.newApplicationAssembly("Application 1") { | |
| mode = Application.Mode.development | |
| version = "1" | |
| setMetaInfo(Object()) | |
| val layer1 = layer("Layer 1") { | |
| module("Module 1/A") { | |
| values(Some::class) { | |
| withTypes(Some::class) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <scheme name="Solarized Light for IntelliJ Darcula" version="142" parent_scheme="Default"> | |
| <option name="FONT_SCALE" value="1.0" /> | |
| <metaInfo> | |
| <property name="created">2018-10-26T11:42:59</property> | |
| <property name="ide">idea</property> | |
| <property name="ideVersion">2018.3.0.0</property> | |
| <property name="modified">2018-10-26T11:43:09</property> | |
| <property name="originalScheme">Solarized Light for IntelliJ Darcula</property> | |
| </metaInfo> | |
| <option name="LINE_SPACING" value="1.2" /> |
OlderNewer