![]() |
|
|
|
|
|||||||
| Answers to Frequently Asked Questions Please look in here before posting your questions. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to kill sleeping process | stevefox | Shell Programming and Scripting | 0 | 10-30-2006 02:14 AM |
| How to wakeup sleeping processes | stevefox | Shell Programming and Scripting | 11 | 10-25-2006 02:55 PM |
| perl: sleeping during a command | effigy | Shell Programming and Scripting | 3 | 03-04-2005 05:04 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
||||
|
sleeping less than a second
We get this question enough to make a faq article.
I like to use select() for this. These threads discuss using a perl one-liner. Sleep less than 1 second Anything smaller than sleep 1 And a C implemention: nodoff And see: How do I sleep() in a C program for less than one second? Also in ksh93, but not ksh88, sleep is a built-in that can accept a floating point argument. Example: "sleep .25" will sleep for 1/4 of a second. |
||||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|