HD speed test script for wago edge and wago PLC

https://github.com/espenbo/wagoEdgeStart/tree/main/hd_speed_test

PFC200 test

=== Terminal Graph (MB/s) ===
LABEL (dev|mnt|size)                     | WRITE    | BAR
----------------------------------------------------------------------------------------------
/dev/mmcblk1p8|/home|256MB               | 4.00     | ################################################## (4 MB/s)
                                         |          | ################################################## (4 MB/s)

/dev/mmcblk1p8|/home|1024MB              | 4.00     | ################################################## (4 MB/s)
                                         |          | ################################################## (4 MB/s)

Wago Edge


=== Terminal Graph (MB/s) ===
LABEL (dev|mnt|size)                     | WRITE    | BAR
----------------------------------------------------------------------------------------------
/dev/sdb1|/srv|4096MB                    | 234.46   | ########################################### (234.46 MB/s)
                                         |          | ################################################## (267.01 MB/s)

/dev/sda2|/|1024MB                       | 235.40   | ############################################ (235.4 MB/s)
                                         |          | ################################################# (263.92 MB/s)

/dev/sda2|/|4096MB                       | 235.27   | ############################################ (235.27 MB/s)
                                         |          | ################################################ (259.08 MB/s)

/dev/sdb1|/srv|1024MB                    | 233.26   | ########################################### (233.26 MB/s)
                                         |          | ################################################# (265.97 MB/s)

/dev/sdb1|/srv|256MB                     | 226.55   | ########################################## (226.55 MB/s)
                                         |          | ################################################ (258.59 MB/s)

/dev/sda2|/|256MB                        | 228.57   | ########################################## (228.57 MB/s)
                                         |          | ############################################### (253.47 MB/s)


interesting are those done on the internal memory and the SD card ?

Yes, you can both the internal flash (eMMC) and an SD card by writing/reading a temporary file on the filesystem.

The script search for devices that are connected and lists them.
Then you pick wiche device you would like to test.

I have tride to make it so it works with busybox(PLC) and bash(Edge Debian)