GitHub-hosted macOS runner
ハードウェア
code:bash
bash-3.2$ sysctl machdep.cpu.brand_string
machdep.cpu.brand_string: Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
bash-3.2$ sysctl -a machdep.cpu
machdep.cpu.xsave.extended_state: 7 832 832 0
machdep.cpu.xsave.extended_state1: 0 0 0 0
machdep.cpu.tlb.data.small: 64
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.inst.small: 128
machdep.cpu.tlb.shared: 512
machdep.cpu.thermal.ACNT_MCNT: 0
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.invariant_APIC_timer: 1
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.sensor: 0
machdep.cpu.thermal.thresholds: 0
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.linesize_max: 4096
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.sub_Cstates: 16
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.size: 256
machdep.cpu.arch_perf.events: 255
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.fixed_number: 0
machdep.cpu.arch_perf.fixed_width: 0
machdep.cpu.arch_perf.number: 8
machdep.cpu.arch_perf.version: 1
machdep.cpu.arch_perf.width: 48
machdep.cpu.address_bits.physical: 43
machdep.cpu.address_bits.virtual: 48
machdep.cpu.tsc_ccc.denominator: 0
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.brand: 0
machdep.cpu.brand_string: Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz
machdep.cpu.core_count: 3
machdep.cpu.cores_per_package: 4
machdep.cpu.extfamily: 0
machdep.cpu.extfeature_bits: 4967106816
machdep.cpu.extfeatures: SYSCALL XD EM64T LAHF RDTSCP TSCI
machdep.cpu.extmodel: 3
machdep.cpu.family: 6
machdep.cpu.feature_bits: 18427078393948011519
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH MMX FXSR SSE SSE2 SS HTT SSE3 PCLMULQDQ MON VMX SSSE3 CX16 SSE4.1 SSE4.2 x2APIC POPCNT AES VMM PCID XSAVE OSXSAVE TSCTMR AVX1.0 RDRAND F16C
machdep.cpu.leaf7_feature_bits: 643 0
machdep.cpu.leaf7_feature_bits_edx: 3154117632
machdep.cpu.leaf7_features: RDWRFSGS TSC_THREAD_OFFSET SMEP ERMS MDCLEAR IBRS STIBP L1DF ACAPMSR SSBD
machdep.cpu.logical_per_package: 4
machdep.cpu.max_basic: 13
machdep.cpu.max_ext: 2147483656
machdep.cpu.microcode_version: 1070
machdep.cpu.model: 58
machdep.cpu.processor_flag: 0
machdep.cpu.signature: 198313
machdep.cpu.stepping: 9
machdep.cpu.thread_count: 3
machdep.cpu.vendor: GenuineIntel
2013年のゴミ箱 Mac Proのマイナーアップデートモデルと思われる
code:memory
bash-3.2$ vm_stat
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 1296353.
Pages active: 350544.
Pages inactive: 1330637.
Pages speculative: 390728.
Pages throttled: 0.
Pages wired down: 301437.
Pages purgeable: 7884.
"Translation faults": 6654388.
Pages copy-on-write: 418603.
Pages zero filled: 3536591.
Pages reactivated: 13355.
Pages purged: 754.
File-backed pages: 1772967.
Anonymous pages: 298942.
Pages stored in compressor: 0.
Pages occupied by compressor: 0.
Decompressions: 0.
Compressions: 0.
Pageins: 1356012.
Pageouts: 0.
Swapins: 0.
Swapouts: 0.
code:disk
bash-3.2$ df -h
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s5s1 380Gi 14Gi 187Gi 8% 553787 3981986613 0% /
devfs 184Ki 184Ki 0Bi 100% 638 0 100% /dev
/dev/disk1s4 380Gi 1.0Mi 187Gi 1% 1 3982540399 0% /System/Volumes/VM
/dev/disk1s2 380Gi 415Mi 187Gi 1% 2025 3982538375 0% /System/Volumes/Preboot
/dev/disk1s6 380Gi 2.6Mi 187Gi 1% 17 3982540383 0% /System/Volumes/Update
/dev/disk1s1 380Gi 176Gi 187Gi 49% 4690841 3977849559 0% /System/Volumes/Data
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /System/Volumes/Data/home
bash-3.2$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *408.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 407.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +407.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD - Data 188.5 GB disk1s1
2: APFS Volume Preboot 435.1 MB disk1s2
3: APFS Volume Recovery 623.4 MB disk1s3
4: APFS Volume VM 1.1 MB disk1s4
5: APFS Volume Macintosh HD 15.3 GB disk1s5
6: APFS Snapshot com.apple.os.update-... 15.3 GB disk1s5s1
runnerの起動処理
code:bash
bash-3.2$ ls -la /Users/runner/Library/LaunchAgents/runner-provisioner.plist
-rw-r--r-- 1 runner admin 936 Dec 8 10:54 /Users/runner/Library/LaunchAgents/runner-provisioner.plist
bash-3.2$ cat /usr/local/opt/runner/runprovisioner.sh
. ${HOME}/.bashrc
/usr/local/opt/$USER/provisioner/provisioner
bash-3.2$ file /usr/local/opt/runner/provisioner/provisioner
/usr/local/opt/runner/provisioner/provisioner: Mach-O 64-bit executable x86_64