07-26-2001
I'm not sure if you can extend the timeout period, but you can suspend telnet with the "z" option.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to keep track of this output
echo "dis chs(*)" | runmqsc | grep RUNNING | wc -l
I need to record that count once an hour 24 hours a day and write to a file with the date and time it was run. Any idea on how to do this. (5 Replies)
Discussion started by: csaunders
5 Replies
2. Shell Programming and Scripting
Hi,
I have a shell script which is to perform a check if all 4 particular type of files exists in a directory.
If ALL 4 files are present within a specific Timeframe, then tar these files and zip it.
If not all 4 files are present in the directory after the specific timeframe, then tar... (1 Reply)
Discussion started by: Danny Fang
1 Replies
3. Shell Programming and Scripting
hello,
I have the following basic script which input the period, but I would like to output is period -1.. how?
echo Please input period (yyyymm):
read PERIOD
OUTPUT=$PERIOD -1
echo " you request period -1 is $OUT"
input 200705
output 200704
input 200701
output 200612
The above... (4 Replies)
Discussion started by: happyv
4 Replies
4. Shell Programming and Scripting
Hello,
I'm able to trim down the log message to "192.168.1.0.", but can't get rid off the last period.
Can any one help me on the syntax to get rid of the last period?
Basically, I want "192.168.1.0" instead of "192.168.1.0."
Thanks, (4 Replies)
Discussion started by: dannytrinh
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
My apologies if this question is so trivial ... I guess there really is a room for dummies ... :o
Anyway, just wanting to know if someone can please explain what the dot (.) infront of the command or script does and why it works and does not work in the following?
... (1 Reply)
Discussion started by: newbie_01
1 Replies
6. Red Hat
how to increase quota grace period of a paticular user (4 Replies)
Discussion started by: ramuk
4 Replies
7. Shell Programming and Scripting
i need a text file which contains all dates between given period i.e 01.05.2011 to 12.06.2011
Pls help (1 Reply)
Discussion started by: suryanarayana
1 Replies
8. Shell Programming and Scripting
stupid question: trying to use sed to do the following...
$ echo '12345' | sed 's/./&./g'
1.2.3.4.5.
needed this instead: 1.2.3.4.5 but how? please advise (7 Replies)
Discussion started by: ux4me
7 Replies
9. Shell Programming and Scripting
All,
How to get the list of files through a unix command which exists / created / updated between 8 PM to 11:59 PM from a particular location.
Regards
Oracle User (3 Replies)
Discussion started by: Oracle_User
3 Replies
10. UNIX for Dummies Questions & Answers
The following is a sample of the data I am working with:
ID#___Hour
ID=10008 19
ID=10008 20
ID=10014 19
ID=10014 20
ID=21047 20
Need to get the following output:
ID#_______0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
ID=10008 ------------------**---
ID=10014 ... (4 Replies)
Discussion started by: c@rlos
4 Replies
LEARN ABOUT DEBIAN
aio_suspend
AIO_SUSPEND(2) BSD System Calls Manual AIO_SUSPEND(2)
NAME
aio_suspend -- suspend until asynchronous I/O operations or timeout complete (REALTIME)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <aio.h>
int
aio_suspend(const struct aiocb *const iocbs[], int niocb, const struct timespec *timeout);
DESCRIPTION
The aio_suspend() system call suspends the calling process until at least one of the specified asynchronous I/O requests have completed, a
signal is delivered, or the timeout has passed.
The iocbs argument is an array of niocb pointers to asynchronous I/O requests. Array members containing null pointers will be silently
ignored.
If timeout is not a null pointer, it specifies a maximum interval to suspend. If timeout is a null pointer, the suspend blocks indefinitely.
To effect a poll, the timeout should point to a zero-value timespec structure.
RETURN VALUES
If one or more of the specified asynchronous I/O requests have completed, aio_suspend() returns 0. Otherwise it returns -1 and sets errno to
indicate the error, as enumerated below.
ERRORS
The aio_suspend() system call will fail if:
[EAGAIN] the timeout expired before any I/O requests completed.
[EINVAL] The iocbs argument contains more than AIO_LISTIO_MAX asynchronous I/O requests, or at least one of the requests is not
valid.
[EINTR] the suspend was interrupted by a signal.
SEE ALSO
aio_cancel(2), aio_error(2), aio_return(2), aio_waitcomplete(2), aio_write(2), aio(4)
STANDARDS
The aio_suspend() system call is expected to conform to the IEEE Std 1003.1 (``POSIX.1'') standard.
HISTORY
The aio_suspend() system call first appeared in FreeBSD 3.0.
AUTHORS
This manual page was written by Wes Peters <wes@softweyr.com>.
BSD
June 2, 1999 BSD