•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 425,924 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,697 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 12367 | Replies: 1
![]() |
•
•
Join Date: May 2004
Posts: 177
Reputation:
Rep Power: 5
Solved Threads: 9
The sleep command in unix is guaranteed to sleep a minimum.
Due to the way quanta (time slices) work in OS schedulers, other processes may get the cpu ahead of the sleeper who just awoke.
ie., there is no guarantee of an upper limit. sleep 1 may last longer than 1 second.
Linux sleep calls nanosleep - read the man page for that.
Due to the way quanta (time slices) work in OS schedulers, other processes may get the cpu ahead of the sleeper who just awoke.
ie., there is no guarantee of an upper limit. sleep 1 may last longer than 1 second.
Linux sleep calls nanosleep - read the man page for that.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Shell Scripting Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Implementing a unix shell running commands (Java)
- help... for LINUX/UNIX users only (Shell Scripting)
- new to shell scripting, need some help (Shell Scripting)
- Making a UNIX Shell, so inexperienced at it (C++)
- i want help about the Simulate a Linux/UNIX shell, called MASH in the C (C)
- "shell scripting tutorials?" (Shell Scripting)
- Bourne / Bash Unix/Linux shell scripting tutorial (Shell Scripting)
Other Threads in the Shell Scripting Forum
- Previous Thread: Help with getopt/getopts
- Next Thread: Writing to a FAT12 boot sector


Linear Mode