07-20-2013
Query regarding the notification i got
Hi,
I got a notification today carrying the below message:
Dear Manish00712,
You have received a reminder from The UNIX and Linux Forums.
Reason:
-------
Technical Question in Non-Technical Forum.
I had posted one question in Solaris Forum. I do not understand on why did i get this notification. Please let me know if i'm not abiding by any rules.
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
2. UNIX for Advanced & Expert Users
Hello experts,
I have a requirement of notifying my application everytime a network interface is brought up. My application supports Various Unix flavours e.g. RHEL, SLES, AIX, Solaris and Mac OS. I know that SLES supports /etc/sysconfig/network/if-up.d hook scripts that run once an interface is... (2 Replies)
Discussion started by: GajendraSharma
2 Replies
3. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
4. AIX
Hi All,
I am getting pages from EMS(Event Monitoring Servers) for "no watchdog notification"
I just wonder what cause this and what to look in the system.
this error was generated from production lpar which hosts p570
Thanks
Mann (4 Replies)
Discussion started by: chubby362002
4 Replies
5. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
6. Linux
I'm a bit new to scripting, but have been working on some scripts. I create a script to monitor the network interface for netstat -i, but not sure if I am getting what I need...I'd like to grab the entire column for RX-DRP and inform me of which interface is giving the RX-DRP errors...here is a... (5 Replies)
Discussion started by: sohk220
5 Replies
7. Shell Programming and Scripting
Hello everyone,
I have a server in another country, so I would like to run a notification sound, that I can hear in my computer after a job is finished, I found so many commands, like:
COMMAND HERE
spd-say 'Done'
But I cannot hear any sound, the command line does NOT return any error,... (6 Replies)
Discussion started by: Abu Rayane
6 Replies
LEARN ABOUT HPUX
mq_notify
mq_notify(2) System Calls Manual mq_notify(2)
NAME
mq_notify - register/cancel a notification request with a message queue
SYNOPSIS
DESCRIPTION
If the argument notification is not NULL, the system call registers the calling process to be notified of message arrival at an empty mes-
sage queue associated with the message queue descriptor mqdes. The notification specified by the notification argument will be sent to the
process when the message queue transitions from the empty state to the non-empty state.
If the type of notification specified in notification->sigev_notify is then the signal specified in notification->sigev_signo will be sent
to the process. If the flag is set for that signal number, then the value specified in notification->sigev_value will be the si_value com-
ponent of the siginfo_t structure passed to the signal catching function at the time of signal delivery.
At any time, only one process can be registered for notification with a message queue. If the calling process, or any other process has
already registered for notification with the specified message queue, subsequent attempts to register with that queue will fail.
If notification is NULL and the process is currently registered for notification with the specified message queue, the existing registra-
tion is canceled.
When the notification is sent to the registered process, its registration is removed. The message queue is then available for registra-
tion.
If there is some process blocked in waiting to receive a message from a message queue, the arrival of a message on the queue will satisfy
the even if the queue has a registered notification request. The resulting behavior is as if the message queue remains empty, and no noti-
fication is sent.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
RETURN VALUE
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values:
[EAGAIN] The system lacks sufficient signal queuing resources to honor the request.
[EBADF] The mqdes argument is not a valid message queue descriptor.
[EBUSY] A process is already registered for notification with the message queue.
[EINVAL] An attempt was made to cancel a non-existent notification request, or notification points to an invalid address.
[ENOSYS] is not supported by the implementation.
SEE ALSO
mq_open(2), mq_send(2), sigaction(2). signal(2), signal(5).
STANDARDS CONFORMANCE
mq_notify(2)