07-31-2009
9 More Discussions You Might Find Interesting
1. IP Networking
Ok someone has to be able to help me here.
I have the latest webmin, and i have bind
i have a domain name called
thedigitaldream.co.uk
i have one server, just one as im poor
so the one server is gunna be the dns, email, web and ftp server. Its only for a small site anyway so it will... (16 Replies)
Discussion started by: matt2kjones
16 Replies
2. UNIX for Advanced & Expert Users
Hi all,
Using shell script and awk statements, I manage to get the month and year of the Patch Bundle installed on the system. Now I have to compare month and year of Patch Bundle installed to the Patch Bundle which is desired on the workstation. I am able to do easily comparison of year but not... (1 Reply)
Discussion started by: pankschawla
1 Replies
3. Shell Programming and Scripting
Hi,
how can I format date function to find n (n=1 to 11) months ego ?
For exemple now we are in july and I want to have a variable presenting april.
How should it be :
month=`date +%b`?????
Many thanks before. (8 Replies)
Discussion started by: big123456
8 Replies
4. UNIX for Advanced & Expert Users
I have the script which appends month and year to the name of the
file. Now every time when I append the month-year combination I
have to subtract 2 months from the current date and then append
it, since we are sending our vendor 2 months prior worth of data
eveytime.
#! /usr/bin/ksh
... (5 Replies)
Discussion started by: mahekr2000
5 Replies
5. UNIX for Advanced & Expert Users
Hi all,
How can I get the list of all Threads and the Total count of threads under a particular process ?
Do suggest !!
Awaiting for the replies !!
Thanks
Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
7. Shell Programming and Scripting
Hi,
I need the date n months before currrent date
I need to store date in a varible say x
and then get the date 6 month before and get the result in the format 25-Aug-2009
Please Advice (7 Replies)
Discussion started by: mad_man12
7 Replies
8. Shell Programming and Scripting
Hi,
I have many files of monthly means from model simulation such as 1,2,3,4.....12, corresponding to jan, feb, mar,....., dec.
e.g. avg_1.nc, avg_2.nc, ............., avg_12.nc.
i want to write a shell script such that it should conveet number into months and year such as..... (4 Replies)
Discussion started by: mahesh shinde
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I would like to find out the number of months between two dates as below example.
date 1 = 03-02-2016
date 2 = 15-11-2015
I need 04 as months difference.
Any help on this is highly appreciated.
Thanks,
Keerti (3 Replies)
Discussion started by: keertis
3 Replies
poll.h(3HEAD) Headers poll.h(3HEAD)
NAME
poll.h, poll - definitions for the poll() function
SYNOPSIS
#include <poll.h>
DESCRIPTION
The <poll.h> header defines the pollfd structure, which includes the following members:
int fd the following descriptor being polled
short events the input event flags (see below)
short revents the output event flags (see below)
The <poll.h> header defines the following type through typedef:
nfds_t an unsigned integer type used for the number of file descriptors
The implementation supports one or more programming environments in which the width of nfds_t is no greater than the width of type long.
The names of these programming environments can be obtained using the confstr() function or the getconf utility. See confstr(3C) and get-
conf(1).
The following symbolic constants are defined, zero or more of which can be OR'ed together to form the events or revents members in the
pollfd structure:
POLLIN Data other than high-priority data can be read without blocking.
POLLRDNORM Normal data can be read without blocking.
POLLRDBAND Priority data can be read without blocking.
POLLPRI High priority data can be read without blocking.
POLLOUT Normal data can be written without blocking.
POLLWRNORM Equivalent to POLLOUT.
POLLWRBAND Priority data can be written.
POLLERR An error has occurred (revents only).
POLLHUP Device has been disconnected (revents only).
POLLNVAL Invalid fd member (revents only).
The significance and semantics of normal, priority, and high-priority data are file and device-specific.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
getconf(1), poll(2), confstr(3C), attributes(5), standards(5)
SunOS 5.10 9 Sep 2004 poll.h(3HEAD)