09-04-2019
Yes, I read that.
What is your question exactly.
You have not asked a question. You have only stated what you "want"... that is not a question.
Try asking a question
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Neo,
can u please shorten the reply timer to like 1 min or so. It is prolly just me but i end up passing on replying to posts due to i hate waiting for my timer to reset w/ a 2.5 mins wait. (2 Replies)
Discussion started by: Optimus_P
2 Replies
2. AIX
anyone can help me how to implement the timer on AIX?
I tried with 'setitimer' and its related functions, but it does not work correctly,the program exited each time.
thanks (2 Replies)
Discussion started by: Frank2004
2 Replies
3. Shell Programming and Scripting
Hi!,
My shell script takes a quite a long time to execute.. Nothing appears on the screen during this period.. User are left guessing... whats going on????????????
Any ideas on how to create a small timer script which print a word on screen say " wait.. Program running" after every 10 seconds... (3 Replies)
Discussion started by: jyotipg
3 Replies
4. Shell Programming and Scripting
Hi all,
Wanted to a create a shell script
-----------------------------------------------------------------------
1) which when called will start a timer and wait for 48 hours.
after 48 hours it will call some function(say XYZ)
2) Whenever this shell script is called (can be called... (3 Replies)
Discussion started by: k_oops9
3 Replies
5. Shell Programming and Scripting
Hello fellows,
I am new in this forum, i would appreciate your assistance.
I need a timming system for my vnc desktops (Cybercafe timer stuff).
Each unix user login to my server only with vnc, and i want to write a program that can generate timer tickets and have control on the time used for... (0 Replies)
Discussion started by: foweja
0 Replies
6. UNIX for Advanced & Expert Users
Hello fellows,
I am new in this forum, i would appreciate your assistance.
I need a timming system for my vnc desktops (Cybercafe timer stuff).
Each unix user login to my server only with vnc, and i want to write a program that can generate timer tickets and have control on the time used for... (1 Reply)
Discussion started by: foweja
1 Replies
7. UNIX for Dummies Questions & Answers
hello all
since a process running in kernel mode cannnot be preempted by any other process what would be the status of Timer interrupt that occurs when the time quantum of a process is elapsed?
thanks (2 Replies)
Discussion started by: compbug
2 Replies
8. Shell Programming and Scripting
Is there a way to make a timer?
E.g Please give the seconds...
... (6 Replies)
Discussion started by: aekaramg20
6 Replies
9. UNIX for Dummies Questions & Answers
is there a timer function in unix without using C?
for example i want to display a message after 5 seconds
how do i do that? (2 Replies)
Discussion started by: khestoi
2 Replies
10. Shell Programming and Scripting
How do you set timer as output to the command line so that you get an output like
Has been waiting for 5 seconds
Has been waiting for 6 seconds
...
Where only the number changes. (2 Replies)
Discussion started by: locoroco
2 Replies
USLEEP(3) Library Functions Manual USLEEP(3)
NAME
usleep - suspend execution for interval
SYNOPSIS
usleep(useconds)
unsigned useconds;
DESCRIPTION
The current process is suspended from execution for the number of microseconds specified by the argument. The actual suspension time may
be an arbitrary amount longer because of other activity in the system or because of the time spent in processing the call.
The routine is implemented by setting an interval timer and pausing until it occurs. The previous state of this timer is saved and
restored. If the sleep time exceeds the time to the expiration of the previous timer, the process sleeps only until the signal would have
occurred, and the signal is sent a short time later.
This routine is implemented using setitimer(2); it requires eight system calls each time it is invoked. A similar but less compatible
function can be obtained with a single select(2); it would not restart after signals, but would not interfere with other uses of setitimer.
SEE ALSO
setitimer(2), getitimer(2), sigpause(2), ualarm(3), sleep(3), alarm(3)
NOTES (PDP-11)
On the PDP-11, setitimer(2) rounds the number of microseconds up to seconds resolution, therefore usleep doesn't give you any more resolu-
tion than sleep(3). Select(2) offers clock resolution (usually 60Hz in the U.S.A. and 50Hz elsewhere) and so should be used instead.
4.3 Berkeley Distribution August 26, 1988 USLEEP(3)