-
Notifications
You must be signed in to change notification settings - Fork 0
Mac
Gian Luigi Romita edited this page Jan 22, 2023
·
4 revisions
- Homebrew The Missing Package Manager for macOS: https://brew.sh
- gifify: gifify is a shell script for converting screen recordings into GIFs
- ttygif: ttygif converts a ttyrec file into gif files
- System emulator and virtual machine host for iOS and macOS based off of QEMU. Allows you to run Windows, Linux, and more on Mac, iPhone, and iPad: https://github.com/utmapp/UTM
- backup folder path:
~/Library/Application Support/MobileSync/Backup/
- To set bash as the default shell on your Mac:
chsh -s /bin/bash
- To set zsh as the default shell on your Mac:
chsh -s /bin/zsh
cd /tmp
mkdir -p /tmp/fio
cat << EOF > "random-read-test.fio"
[random-read]
rw=randread
size=160m
nrfiles=640
numjobs=1
threads=30
directory=/tmp/fio
EOF
fio random-read-test.fio
# random-read: (groupid=0, jobs=1): err=24 (file:filesetup.c:805, func=open(/tmp/fio/random-read.0.251), error=Too many open files): pid=7449:
# read: IOPS=50.4k, BW=197MiB/s (206MB/s)(1008KiB/5msec)
# clat (nsec): min=1000, max=11000, avg=2261.90, stdev=962.89
# lat (nsec): min=1000, max=12000, avg=2309.52, stdev=997.72
# clat percentiles (nsec):
# | 1.00th=[ 1004], 5.00th=[ 1004], 10.00th=[ 2008], 20.00th=[ 2008],
# | 30.00th=[ 2008], 40.00th=[ 2008], 50.00th=[ 2008], 60.00th=[ 2008],
# | 70.00th=[ 2008], 80.00th=[ 2992], 90.00th=[ 2992], 95.00th=[ 2992],
# | 99.00th=[ 5984], 99.50th=[ 9024], 99.90th=[10944], 99.95th=[10944],
# | 99.99th=[10944]
# lat (usec) : 2=8.73%, 4=88.89%, 10=1.98%, 20=0.40%
# cpu : usr=0.00%, sys=75.00%, ctx=12, majf=0, minf=13
# IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
# submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
# complete : 0=0.4%, 4=99.6%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
# issued rwts: total=252,0,0,0 short=0,0,0,0 dropped=0,0,0,0
# latency : target=0, window=0, percentile=100.00%, depth=1
# Run status group 0 (all jobs):
# READ: bw=197MiB/s (206MB/s), 197MiB/s-197MiB/s (206MB/s-206MB/s), io=1008KiB (1032kB), run=5-5msec