10 More Discussions You Might Find Interesting
1. HP-UX
Hey guys how do you run eclipse on HP-UX 11i?
there's a startup.jar and an eclipse file ( which is not an executable )
I get different errors try to run the jar file with different java versions.
I have all the possible java vm's installed. (0 Replies)
Discussion started by: binary0x01
0 Replies
2. HP-UX
I have to access to hp integrity bl870c server blade and i have no hp-ux 11i v2 or 11i v3 DVD's where can i get a DVD or download it . as i have no direct contact with vendor .
thanks (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies
3. HP-UX
Hi,
I want to install HP 11i v3 OS on PA-RISC systems, which already have HP11i v1 operating system. I want to know that what are software and hardware requirements I will need for doing this?
Thanks in Advance
Mike (1 Reply)
Discussion started by: Mike1234
1 Replies
4. HP-UX
Hey,
i want install HP UX 11i on HP C8000. When i start the C8000 i get a prompt. On this Prompt i write
BOot P1
P1 is my DVD-ROM (IDE). I get the Message "ERROR: Not a boot path". When i write SEArch the Prompt said:
P0 scsiA.6 HP73.4MAT3073NP
P1 ide.1 ... (2 Replies)
Discussion started by: numx
2 Replies
5. HP-UX
Could you please tell me if Informix 7.20 UD2 works on HP-UX 11i and if applications that works on HP-UX 10.20 and Informix 7.20 UD2 works on HP-UX 11i. Thanks a lot. (0 Replies)
Discussion started by: Irene Martínez
0 Replies
6. HP-UX
Hi,
Newbie here......I am an new guy on HP-Ux... may i ask all the the guru's and who has eperienced here to enlightened me on how to use the CSTM command.
My goal is to view the current HW installed on the Server.
Thanks in advance. (1 Reply)
Discussion started by: renobal
1 Replies
7. HP-UX
Hi,
could somebody confirm that HP 11i 64 is a 64 bits system ?
Thank you (1 Reply)
Discussion started by: aribault
1 Replies
8. HP-UX
Hello, i trying to get HP-UX 11i v2 for PA-RISC. I`im to poor to buy this system, so I`am asking that someone can help me.
best regards
email removed (1 Reply)
Discussion started by: mruczas
1 Replies
9. HP-UX
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
10. UNIX for Dummies Questions & Answers
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
cmpt_change(3) Library Functions Manual cmpt_change(3)
NAME
cmpt_change(), cmpt_get() - set and get process' compartment
SYNOPSIS
Parameters
cid Compartment ID.
pid Process ID of the target process or for the calling process.
DESCRIPTION
The and functions query and manipulate the compartment of a process.
The function returns the given process' compartment ID. If is passed as the pid parameter, the compartment ID of the calling process is
returned.
The function changes the calling process' compartment ID to be the value of cid.
Security Restrictions
In order for the function to be effective, the calling process must possess the privilege. See privileges(5) for more information about
privileges.
RETURN VALUE
returns the following values:
Successful completion.
The function returns a valid compartment ID.
Function failed.
is set to indicate the error.
returns the following values:
Successful completion.
Function failed.
is set to indicate the error.
ERRORS
If any of the following conditions occur, the functions fail and set
Invalid compartment ID specified.
The function failed to allocate sufficient memory for its operation.
The process does not have the
privilege.
pid is not valid.
EXAMPLES
#include <errno.h>
#include <sys/cmpt.h>
main()
{
cmpt_t c = cmpt_getbyname("init");
if (cmpt_change(c) == -1 )
{
perror("could not enter init compartment");
exit(1);
}
printf("The process is now running in compartment %d
",
cmpt_get(0));
}
DEPENDENCIES
These functions are a part of the library.
SEE ALSO
cmpt_getbynum(3), cmpt_getbyname(3), compartments(4), compartments(5), privileges(5).
cmpt_change(3)