10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello Gurus,
In solaris server, one folder say /appl/prod/usr/sendme get files those need to be processed. The script named checkFile.sh can process the each file.
This script checkFile.sh is not scheduled in crontab. But whenever file puts in sendme folder, the checkFile.sh is called and... (1 Reply)
Discussion started by: get_chandrakant
1 Replies
2. AIX
We encounted the following err msg
and then use
to fix this issue.
But before I finish the ipcrm cmd,the AIX systerm was restarted by using
.
After this,the cicscp cmd failed with the following:
I've tried execute it under debug mode,but got no useful information.
Who... (0 Replies)
Discussion started by: tiger_wen
0 Replies
3. Red Hat
Hi All,
Hope this is right area to ask this question.
I have a shell script (bash) "wrapper.sh", which contains few simple shell command
which executes a "server.sh" (conatins code to execute a java server) as a daemon.
Now what I want to kill this "server.sh" so that the server should... (2 Replies)
Discussion started by: jw_amp
2 Replies
4. UNIX for Dummies Questions & Answers
Hello guys and dolls, first post happening here...
Wanting to know where to start with Unix. Which Unix option/package is best for an absolute beginner and has a well documented, easy to grasp user guide(s).
I have dabbled in some programming (basic PHP) and I have an old desktop pc which I... (6 Replies)
Discussion started by: TheUltimateNoob
6 Replies
5. UNIX for Dummies Questions & Answers
hi world,
I am trying to learn how to program in c, I've gotten a few books and have been reading them, one even came with bloodshed dev-c compiler, it is not working, every time I build the hello world program it always comes back saying " G__~1.EXE: installation problem, cannot exec `cpp': No... (1 Reply)
Discussion started by: jsayres
1 Replies
6. UNIX for Dummies Questions & Answers
Hi im a 15 year old, interested in beggining things like this...my main inpiration came from this article...How To Become A Hacker
according to this my first language shouold be python...but i have ABSOLUTELY NO CLUE about where to dowload/learn it...is there anything else i should do along... (1 Reply)
Discussion started by: SonOfSparta
1 Replies
7. UNIX for Dummies Questions & Answers
Dear all,
I just found out that my company is thinking of installing a unix server and is considering either sun or ibm.
The thing is that i want to learn these two systems before they take a decision and maybe it will be a big career booster.
The problem is that i don't know anything about... (7 Replies)
Discussion started by: patslaiby
7 Replies
8. UNIX for Dummies Questions & Answers
hi, i had an applicatoin which is not running cos one of its daemon is not running.. i get the applicatoin to run by running the daemon first... its manual job... so quite cumbersome..
i have backups in the night, with the crontab -l entry with logs written. the logs indicated successful... (7 Replies)
Discussion started by: yls177
7 Replies
9. UNIX for Dummies Questions & Answers
I am new to all this UNIX thing and have a system with the following specs:
Pentium 1.7 GHz
128MB RAM
20 GB HDD
Windows ME
My questions are:
Can install and run UNIX in such a system?
Do I have to stop using Windows?
Is there a safe way to get the necessary software online?
... (5 Replies)
Discussion started by: ayalai
5 Replies
10. Shell Programming and Scripting
Can anyone tell me what the command Banner means or does
Gibby9 (4 Replies)
Discussion started by: Gibby9
4 Replies
EvmConnWait(3) Library Functions Manual EvmConnWait(3)
NAME
EvmConnCheck, EvmConnWait, EvmConnDispatch, EvmConnFlush - Maintains connection with the EVM daemon
LIBRARY
EVM Support Library (libevm.so, libevm.a)
SYNOPSIS
#include <sys/time.h> #include <evm/evm.h>
EvmStatus_t EvmConnCheck (
EvmConnection_t connection,
EvmBoolean_t *IOWaiting);
EvmStatus_t EvmConnWait (
EvmConnection_t connection,
const struct timeval *timeout);
EvmStatus_t EvmConnDispatch (
EvmConnection_t connection);
EvmStatus_t EvmConnFlush (
EvmConnection_t connection);
EvmInt32_t *count);
OPERANDS
The EVM connection that is to be monitored. This is the return parameter. Possible values for this parameter are the following: There is
no outstanding I/O activity on the connection. There is outstanding I/O activity on the connection. The client should call EvmConnDis-
patch() to handle the outstanding activity. If this value is NULL, it specifies that EvmConnWait() should wait until there is activity on
the connection. If this value is not NULL, it specifies the amount of time that EvmConnWait() should wait for activity on the connection.
Receives a count of messages queued for sending to the EVM daemon.
DESCRIPTION
The EvmConnCheck() routine checks whether there is any I/O activity outstanding on the connection. If there is, IOWaiting is set to
EvmTRUE. The program should then call EvmConnDispatch() to handle it. If there is no outstanding I/O activity, IOWaiting is set to Evm-
FALSE. A response EvmTRUE from this function does not guarantee that an event has arrived; simply that there is a message on the connec-
tion that needs to be handled.
The EvmConnWait() routine blocks until activity is detected on the connection. If timeout is not NULL, it specifies the amount of time
that the function should wait for activity on the connection before returning with a status of EvmERROR_TIMEOUT.
The EvmConnDispatch() routine will handle one incoming I/O message on the connection, calling the client's callback function as needed. If
there is no message awaiting processing, the function returns immediately. Calling this function is not guaranteed to invoke the connec-
tion's callback function, and if the callback is invoked, it is not necessarily true that an event has arrived.
The EvmConnFlush() routine attempts to send to the EVM daemon any messages that are queued for output as a result of earlier EvmEventPost
calls on a connection that is marked as a non-blocking connection. The routine continues to send messages from the queue until either all
messages have been sent or the send buffer is full. On return, the count output parameter holds the number of messages still queued for
sending; if this number is more than zero, EvmConnFlush returns EvmERROR_QUEUED. See the EvmConnControl(3) reference page for more infor-
mation.
RETURN VALUES
A value in a structure member is invalid. One of the arguments to the function was invalid. A value in a structure member is invalid. An
operation failed because an attempt to acquire heap memory failed. A read error occurred while reading from the EVM daemon connection. A
write error occurred while writing to the EVM daemon connection. An error occurred on the EVM connection. Invoke EvmConnDestroy() to
destroy the connection. A timeout period expired. The current operation was interrupted by receipt of a signal. One or more messages is
queued for sending to the EVM daemon.
ERRORS
None
FILES
Default pathname for the domain socket.
SEE ALSO
Functions: connect(2), select(2), socket(2)
Routines: EvmConnControl(3), EvmConnCreate(3), EvmConnDestroy(3) EvmEventPost(3)
Event Management: EVM(5)
Event Callback: EvmCallback(5)
Event Connection: EvmConnection(5)
EVM Events: EvmEvent(5)
delim off
EvmConnWait(3)