Linux Tweak 2

Benchmark ssh

dd if=/dev/zero of=/home/garfi/test.data bs=1M count=100 conv=fdatasync
    104857600 octets (105 MB, 100 MiB) copiés, 0,180896 s, 580 MB/s

    dd if=/dev/zero of=/home/garfi/test.data bs=1M count=1000 conv=fdatasync
    1048576000 octets (1,0 GB, 1000 MiB) copiés, 1,45612 s, 720 MB/s

    dd if=/dev/zero of=/home/garfi/test.data bs=1M count=10000 conv=fdatasync
    10485760000 octets (10 GB, 9,8 GiB) copiés, 13,4457 s, 780 MB/s

    dd if=/dev/zero of=/home/garfi/test.data bs=1M count=100000 conv=fdatasync
    104857600000 octets (105 GB, 98 GiB) copiés, 144,601 s, 725 MB/s

Clone disk over ssh

dd if=/dev/sda | gzip | ssh garfi@192.168.0.139 'gzip -d | dd of=/dev/sdb'

Set localtime rtc

timedatectl set-local-rtc 1

Decimale droit & chmod

0 ---
1 --x
2 -w-
3 -wx
4 r--
5 r-x
6 rw-
7 rwx

Dernière édition le 2025-02-09 00:49

Propulsé par Wiki|Docs

This page was last edited on 2025-02-09 00:49

Jules
Free licence

Propulsé par Wiki|Docs