09-08-2015
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When telneting to a SUN box and incorrectly spelling your password, there is a delay of approx. 5 seconds. Is there any way to shorten this time?
OS solaris 7 (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
2. Programming
Hello(again), but I was wondering how you would obtain a keyboard stroke from a user with no delay(they don't have to hit enter) and then place that stroke into a variable?
Lets say you tell the user to hit, on the numpad, a number. Then that number is placed into a variable w/o the user hitting... (2 Replies)
Discussion started by: mbolthouse
2 Replies
3. UNIX for Dummies Questions & Answers
Working on AIX 4.3
I have an active exe that accepts files for processing on our RS6000. Day to day i store these files in a secure place and at the end of the day I mv them one by one. After some reading and ofcourse trial and error i figured out that this helps...
mv `ls -l |head -l | awk... (2 Replies)
Discussion started by: buRst
2 Replies
4. Programming
Hi,
I have a doubt in introducing a delay in the programs.
We know that we do have a sleep() function/api using which
we can bring a delay in terms of seconds.
A minimum delay can be atleast 1 second.
Now I'm bothered about how to introduce a delay that is just
less than a second. Like... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies
5. Programming
How to delay a process.
I need to to delay a process from 3sec.
At that 3sec other back ground processes also should stop.
(just sit 3sec for idle & then starts execution as normally)
I use sleep(3)-But it not stop the bg processes
I try to use loop but it not gurantee to wait 3sec.
... (2 Replies)
Discussion started by: ugp
2 Replies
6. Shell Programming and Scripting
Dear all,
if we want to run a command every 5 mins to check if the process is working fine or not...
like in c, we can use a simple while loop with a delay for 5 mins...
how can we accomplish this is solaris 8/9
thanks
br/asad (5 Replies)
Discussion started by: asadlone
5 Replies
7. Shell Programming and Scripting
Hi,
In my shell script, (as per the requirement), I am creating few files, and the processes are launched parallelly . (by using "&" at the end of the command line). As per the logic, I need to remove these files as well, after creating.
But, the problem is, due to parallel processing,... (3 Replies)
Discussion started by: jitendriya.dash
3 Replies
8. SCO
We have an OpenServer 5.0.5 system that has worked forever, but I'm hearing complaints of logon delays for users now. Normally they would telnet in and the logon screen would pop up, but now it sometimes takes a minute or more, and the user must hit the enter key to get it to appear. Everything... (11 Replies)
Discussion started by: citygov
11 Replies
9. UNIX for Dummies Questions & Answers
I have a list of URLs that I need to download in a file.
I know I can use the -i option to load the URLs from the file, but how can I make Wget wait a couple secs between each URL download? (4 Replies)
Discussion started by: rlopes
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to understand what would happen if ther is a loop without any delay like sleep statement, I feel that would add a lot of load onto the CPU. Trying to understand how the load is reduced by the introduction of sleep().
Thanks and regards
Zulfi (3 Replies)
Discussion started by: zulfi123786
3 Replies
LEARN ABOUT FREEBSD
delay.4th
DELAY.4TH(8) BSD System Manager's Manual DELAY.4TH(8)
NAME
delay.4th -- FreeBSD debugging boot module
DESCRIPTION
The file that goes by the name of delay.4th is a set of commands designed to add debugging capabilities to loader(8). The commands of
delay.4th by themselves are not enough for most uses. Please refer to the examples below for the most common situations, and to loader(8)
for additional commands.
Before using any of the commands provided in delay.4th, it must be included through the command:
include delay.4th
This line is present in /boot/beastie.4th file, so it is not needed (and should not be re-issued) in a normal setup.
The commands provided by it are:
delay_execute Executes the [string] procedure stored in the delay_command environment variable after loader_delay seconds.
If the optional delay_showdots environment variable is set, a continuous series of dots is printed.
During the duration, the user can either press Ctrl-C (or Esc) to abort or ENTER to proceed immediately.
The environment variables that effect its behavior are:
delay_command
The command to be executed by delay_execute.
loader_delay
The duration (in seconds) to delay before executing delay_command.
delay_showdots
If set, will cause delay_execute to print a continuous series of dots during the delay duration.
FILES
/boot/loader The loader(8).
/boot/delay.4th delay.4th itself.
/boot/loader.rc loader(8) bootstrapping script.
EXAMPLES
Introducing a 5-second delay before including another file from /boot/loader.rc:
include /boot/delay.4th
set delay_command="include /boot/other.4th"
set delay_showdots
set loader_delay=5
delay_execute
SEE ALSO
loader.conf(5), beastie.4th(8), loader(8), loader.4th(8)
HISTORY
The delay.4th set of commands first appeared in FreeBSD 9.0.
AUTHORS
The delay.4th set of commands was written by Devin Teske <dteske@FreeBSD.org>.
BSD
May 18, 2011 BSD