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
EvmSrvStart(3) Library Functions Manual EvmSrvStart(3)
NAME
EvmSrvStart, EvmSrvMessageGet - Event service functions
LIBRARY
EVM Support Library (libevm.so, libevm.a)
SYNOPSIS
#include <evm/evm.h>
EvmStatus_t EvmSrvStart( char *service_name, char *arg_string, EvmTransport_t *transport, EvmConnection_t *connection);
EvmStatus_t EvmSrvMessageGet( EvmConnection_t connection, EvmEvent_t *event, char **msg, char **errmsg, EvmInt32_t
*info);
OPERANDS
The name for this service. It must be a service declared in the EVM daemon configuration file. If this parameter is not NULL, it is
written to the connection when the service is started. This specifies the type of connection to be made to the daemon. You usually should
set this argument to NULL for the default connection to the local daemon. For remote connection, set it to the address of an EvmTrans-
port_t structure, transport, initialized in the following manner: char *hostname = "yoursys"; transport.type = EvmTRANSPORT_TCPIP; trans-
port.data.tcpip.portNumber = -1; transport.data.tcpip.hostName = hostname; For EvmSrvStart() this is the return parameter. The calling
routine should pass this value to EvmConnDestroy() when it is done with the connection.
For EvmSrvMessageGet() this is the service connection that will be read for a message. If this parameter is not NULL on return, it
contains an EVM event returned by the service. If this parameter is not NULL on return, it contains a character string returned by
the service. If this parameter is not NULL on return, it contains an error message character string returned by the service. If
this parameter is not NULL on return, it contains numeric information returned by the service.
DESCRIPTION
The EvmSrvStart() routine creates a service connection to the EVM daemon, requesting that the service identified as service_name be
started. If the service is known to the daemon, it is started as a child process of the daemon, and the connection is transferred to the
service process. If the arg_string is not NULL, the function then appends a newline character to it and writes it to the connection.
The EvmSrvMessageGet() routine reads a single EVM service protocol message from the service connection identified by connection and returns
it to the caller. The message may be a procedural protocol message, indicating that the service has started or terminated, or it may carry
data. Procedural messages are handled by the API function. Data messages may be any one of the following: An EVM event returned to the
caller in event A character string returned to the caller in msg An error character string returned to the caller in errmsg
In each of these cases, the data will be returned to the caller only if the address passed to the function as the corresponding argument is
not NULL.
The function returns a non-null value in at most one of these return arguments, and sets the others to NULL. If the incoming message does
not include data (for example, if it is a protocol message indicating that the service is terminating) all three of the arguments are set
to NULL.
The message may carry one information item, which is returned if info is not NULL. This value is used in the service termination protocol
message to indicate the service process's exit code.
NOTES
This routine is not currently supported for general use.
RESTRICTIONS
None
RETURN VALUES
A data message was received, and is available in one of the three data return arguments, if a non-null pointer was supplied as the appro-
priate argument. The service indicated that it was terminating. If the caller passed a non-null data argument, the service process's exit
code is returned in the info parameter. The service connection was closed by the service before a service termination message was
received. This value is returned if the caller continues to attempt the call after the service has been terminated.
ERRORS
None
FILES
None
SEE ALSO
Commands: evmget(1)
Routines: EvmConnDestroy(3)
Files: evmdaemon.conf(4)
Event Management: EVM(5)
Event Connection: EvmConnection(5)
EVM Events: EvmEvent(5)
delim off
EvmSrvStart(3)