05-11-2010
Did you add the contrib publisher ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when i d/l files from net
"/usr/port/editor/koffice then make" i don't know what excactly have to do after
when it finnished d/l it and configure i guess what its done downloading file it configures :confused: the file
what do i have to do next
I use FREEBSD 4.5 (3 Replies)
Discussion started by: challenger
3 Replies
2. UNIX Desktop Questions & Answers
Hello,
I recently downloaded and installed fedora core 3, and I am triyng to install other software like movie players and so on, when ever I download software for this operating system, I recieve with the software a text file explaining how to install it. The installation instrucions are allways... (1 Reply)
Discussion started by: st_matan
1 Replies
3. SuSE
hi,
i have installed suse linux (10) at my home.
can anyone tell me how do i install the softwares like players , messengers etc.
i am new to linux ,i am learning now.
can anyone suggest or post any material so that i can easily go through and learn.
thanks in advance.
vishwa. (6 Replies)
Discussion started by: viswareddy.32
6 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
So I remotly log on to one of the unix boxes we have at work. I want to use a software that is not installed on the server. What's better? to install it locally in my home folder and use it, or to ask the system admin to install it on the server? and what's the main difference? I asuume... (1 Reply)
Discussion started by: Rachel Ross
1 Replies
5. UNIX Desktop Questions & Answers
Greetings, all. I'm a newcomer here, and I appreciate the forum to ask questions.
Here is the situation: I am installing software on a network hard-drive (NAS), to add functionality to it. The OS is in a read-only flash partition. Someone else hacked the firmware to install Busybox on this... (1 Reply)
Discussion started by: jhansen
1 Replies
6. Linux
What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies
7. Solaris
Hello,
I need to install a Jboss AS 4.2 asap. But I dont want to use the GUI. I need to install a solaris 10 server with the minimal packages but I dont know how deep I should customize and select the packages.
You guys , how you decide to select a package installation level ? Each server's... (7 Replies)
Discussion started by: shadowfaxxxx
7 Replies
8. HP-UX
Hi,
I'm using the command(swinstall -s product.pkg product1.cbin) to install software(product1). Here by default the installation is happening on the location(/opt/). Whereas I want the installation directory to be a different one (eg. /sw/).
Is there any specific command which will help me to... (1 Reply)
Discussion started by: Thunderbird288
1 Replies
9. Red Hat
I have installled and configured wine on rhel 6 - 64bit system...
When i run wine command i faced a problem :
wine : could not exec wineserver
and when i run wineserver command i got the following error :
/usr/local/wine/bin/wineserver : /lib/ld-linux-x86-64.so.2 : bad ELF interpreter NO... (1 Reply)
Discussion started by: anuajay1988
1 Replies
10. Solaris
I have Solaris 10 update 11 installed on a virtual machine which I use for my lunix class (I'm studying I.T. but have little unix experience). So I have root access*
I'm also do C programming in my course and would love to do it on my Solaris machine.
So I looked into installing GCC and... (5 Replies)
Discussion started by: goformickey
5 Replies
LEARN ABOUT OPENSOLARIS
sysevent_get_pub_name
sysevent_get_vendor_name(3SYSEVENT) System Event Library Functions sysevent_get_vendor_name(3SYSEVENT)
NAME
sysevent_get_vendor_name, sysevent_get_pub_name, sysevent_get_pid - get vendor name, publisher name or processor ID of event
SYNOPSIS
cc [flag ...] file ...-lsysevent [library ...]
#include <libsysevent.h>
char *sysevent_get_vendor_name(sysevent_t *ev);
char *sysevent_get_pub_name(sysevent_t *ev);
pid_t sysevent_get_pid(sysevent_t *ev);
PARAMETERS
ev handle to a system event object
DESCRIPTION
The sysevent_get_pub_name() function returns the publisher name for the sysevent handle, ev. The publisher name identifies the name of the
publishing application or kernel subsystem of the sysevent.
The sysevent_get_pid() function returns the process ID for the publishing application or SE_KERN_PID for sysevents originating in the ker-
nel. The publisher name and PID are useful for implementing event acknowledgement.
The sysevent_get_vendor_name() function returns the vendor string for the publishing application or kernel subsystem. A vendor string is
the company's stock symbol that provided the application or kernel subsystem that generated the system event. This information is useful
for filtering sysevents for one or more vendors.
The interface manages the allocation of the vendor and publisher name strings, but it is the caller's responsibility to free the strings
when they are no longer needed by calling free(3MALLOC). If the new vendor and publisher name strings cannot be created, sysevent_get_ven-
dor_name() and sysevent_get_pub_name() return a null pointer and may set errno to ENOMEM to indicate that the storage space available is
insufficient.
EXAMPLES
Example 1 Parse sysevent header information.
The following example parses sysevent header information from an application's event handler.
char *vendor;
char *pub;
void
event_handler(sysevent_t *ev)
{
if (strcmp(EC_PRIV, sysevent_get_class_name(ev)) != 0) {
return;
}
vendor = sysevent_get_vendor_name(ev);
if (strcmp("SUNW", vendor) != 0) {
free(vendor);
return;
}
pub = sysevent_get_pub_name(ev);
if (strcmp("test_daemon", pub) != 0) {
free(vendor);
free(pub);
return;
}
(void) kill(sysevent_get_pid(ev), SIGUSR1);
free(vendor);
free(pub);
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
malloc(3MALLOC), attributes(5)
SunOS 5.11 17 Mar 2004 sysevent_get_vendor_name(3SYSEVENT)