ns_sleep(3aolserver) AOLserver Built-In Commands ns_sleep(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_sleep - commands
SYNOPSIS
ns_sleep seconds
_________________________________________________________________DESCRIPTION
This function causes the thread to sleep for the number of seconds specified in seconds.
The value of seconds should be a positive integer (or zero, in which case the function returns immediately). An error will result if sec-
onds is not specified, if a negative integer is specified, or if a non-integer is specified.
SEE ALSO nsd(1)KEYWORDS AOLserver 4.0 ns_sleep(3aolserver)
Check Out this Related Man Page
ns_log(3aolserver) AOLserver Built-In Commands ns_log(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_log, ns_logctl - commands
SYNOPSIS
ns_log severity message
_________________________________________________________________DESCRIPTION
While the AOLserver is running it logs various events from Notices to Fatal errors. Usually the AOLserver is running in the background, in
which case these messages are placed in the server log. In absence of an ServerLog key in the AOLserver nsd.ini file, this file is the
/log/error.log under the AOLserver installation directory. When the AOLserver is running in the foreground the messages are redirected to
stderr.
ns_log writes the message to the server error log file. Allowable values for severity are:
Notice - Something interesting occurred.
Warning - Something that could mean something bad occurred.
Error - Something bad occurred.
Fatal - Something extremely bad occurred. The server will shut down after logging the message.
Bug - Something occurred that implies that there is a bug in the code.
Debug - If the server is in Debug mode, the message is printed. Debug mode is specified in the [ns/parameters] section of the configuration
file. Otherwise, the message is not printed.
SEE ALSO nsd(1), info(n)
KEYWORDS AOLserver 4.0 ns_log(3aolserver)
unistd.h declares the prototype of the sleep function. where is the sleep function actually defined? where is the control transfered when we include a sleep call in it?? (2 Replies)
Hi All,
I need a script which compares the sysdate and the file date(Last updated time stamp) and if the time difference is greater than 10 mins i need to delete that file. Can anyone help me pls??????
Ashok. (5 Replies)
Hi,
With the help of below script im able to get the count of all the .xml files but that count is not specific to a day ie its the total count of all .xml files what i want is specific to 1 day and that of every half an hr ie from 23 feb 2009 7 am till 23rd feb 2009 2300 am and from 07:00 to... (1 Reply)
Hello to all, I have a small question about AIDE logs.
I installed aide on RHEL :
# yum install aide -y
Ok, then run aide --init with default config file (/etc/aide.conf) I collect mail with statistic (Bash scripts with aide --check) AND SEEN THIS ! :
AIDE found differences between... (2 Replies)
Dear All,
I am running a c++ code that will generate various output files.
After generating each and every file I wanted to process that file and remove using shell.
How can I do that?
example for post script:
#!/bin/sh
for dirName in ab ac ad ae;
do
grep -r -n... (15 Replies)
OS : Red Hat Linux 6.4
Shell : Bash
We have a file called status.txt which will have only 1 line. The content will be the string "Processing" for most of the day.
# cat status.txt
Processing
#I want to write a shell script (notify.sh) which will be executing a grep every 10 minutes .
... (7 Replies)
Hi!
At first I'm new to this forum and I'm not sure if this post is correct in this place.
I have a problem trying to change 2 C instructions for system calls. The code that I have is that:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include... (4 Replies)
I would like to modify this so the buzzer starts at 15% and goes up to 30% in volume while it is playing.
amixer -D pulse sset Master 30% > /dev/null 2>&1
cvlc --play-and-exit /usr/share/sounds/My_Sounds/Alarm-sound-buzzer.mp3 > /dev/null 2>&1
echo 'TIME IS UP.' gxmessage -fg blue... (2 Replies)