all options
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Source: sleepenh  ]

Package: sleepenh (1.8-1 and others)

Links for sleepenh

Screenshot

Debian Resources:

Download Source Package sleepenh:

Maintainer:

Similar packages:

1초 미만의 해상도로 지정된 날짜까지 대기

sleepenh는 누적 오류 없이, 일정한 시간 간격으로 반복되는 루프를 실행할 필요가 있는 쉘 스크립트를 위한 대기 프로그램입니다.

마이크로초 해상도를 지원합니다.

sleepenh의 두 호출 사이에 필요한 시간을 지정할 수도 있습니다.

아래 예제는 매 1.2초마다 'A'를 ttyS0으로 보냅니다.

  #!/bin/sh
  # 초기 타임스탬프를 얻기 위해 대기하지 않음 (또는 0을 대기)
  TIMESTAMP=$(sleepenh 0)
  while true; do
    # byte를 ttyS0으로 보낸다
    echo -n "A" > /dev/ttyS0;
    # 필요한 시간까지 대기
    TIMESTAMP=$(sleepenh $TIMESTAMP 1.200);
  done

더 자세한 사항은 메뉴얼 페이지를 읽으십시오.

Tags: Implemented in: C, User Interface: Command Line, Role: role::program, scope::utility, Purpose: Time and Clock

Other Packages Related to sleepenh

  • depends
  • recommends
  • suggests
  • enhances

Download sleepenh

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 1.8-1 8.3 kB82.0 kB [list of files]
amd64 1.8-1 8.2 kB30.0 kB [list of files]
arm64 1.8-1 8.3 kB81.0 kB [list of files]
armel 1.8-1 9.7 kB29.0 kB [list of files]
armhf 1.8-1 8.9 kB25.0 kB [list of files]
hppa (unofficial port) 1.8-1 8.5 kB25.0 kB [list of files]
i386 1.8-1 8.3 kB29.0 kB [list of files]
ia64 (unofficial port) 1.7-2 9.0 kB27.0 kB [list of files]
loong64 (unofficial port) 1.8-1 8.1 kB33.0 kB [list of files]
m68k (unofficial port) 1.8-1 8.0 kB25.0 kB [list of files]
mips64el 1.8-1 8.6 kB82.0 kB [list of files]
ppc64 (unofficial port) 1.8-1 8.6 kB82.0 kB [list of files]
ppc64el 1.8-1 8.6 kB82.0 kB [list of files]
riscv64 1.8-1 8.1 kB26.0 kB [list of files]
s390x 1.8-1 8.2 kB25.0 kB [list of files]
sh4 (unofficial port) 1.8-1 8.7 kB81.0 kB [list of files]
sparc64 (unofficial port) 1.8-1 8.4 kB1,042.0 kB [list of files]
x32 (unofficial port) 1.8-1 8.2 kB29.0 kB [list of files]