SLeep

Suspend the CLI task for specified amount of time

SLeep

Shortest form: sl.

Pause the shell for a while.

sleep [quiet] [<seconds> [<usec>]]

<seconds> defaults to 1; <usec> adds microseconds. Both must be non-negative numbers; anything else, or an extra argument, is an error. Unless quiet comes first (spelt out), it prints Sleeping for <n> second(s) or Sleeping for <s>.<us> seconds. Only the shell waits; the rest of syncd keeps running. Read-only.

Hardware-validated

drivshell> sleep 2
Sleeping for 2 seconds

Hardware-validated

drivshell> sleep quiet 0 500000

Built-in help

Parameters: [quiet] [seconds [usec]]
    If quiet is specified, no output is generated, otherwise, the
    message "sleeping for # seconds" is printed. Seconds specifies
    the number of seconds to sleep.  Usec specifies an additional
    number of microseconds to sleep (0-999999).

Further reading

SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), BCM_SDK命令.