public static String bytesToHumanReadable(long bytes) {
        int unit = 0;
        while (bytes >= KB && unit < UNITS.length() - 1) {
            bytes /= KB;
            unit++;
        }
        String bytesString = String.valueOf(bytes);
        return bytesString + UNITS.charAt(unit);
    }
@Test
    void bytesToHumanReadable() {
        Assertions.assertEquals("0B", OsUtils.bytesToHumanReadable(0L));
        Assertions.assertEquals("1001B", OsUtils.bytesToHumanReadable(1001L));
        Assertions.assertEquals("1k", OsUtils.bytesToHumanReadable(1024L));
        Assertions.assertEquals("1023k", OsUtils.bytesToHumanReadable(1024L * 1024L - 1L));
        Assertions.assertEquals("1m", OsUtils.bytesToHumanReadable(1024L * 1024L));
        Assertions.assertEquals("1g", OsUtils.bytesToHumanReadable(1024L * 1024L * 1024L));
        Assertions.assertEquals("1t", OsUtils.bytesToHumanReadable(1024L * 1024L * 1024L * 1024L));
    }