hi,
i have in my /etc/group an unix group full.
i need to add new user in this group.
users need to have the same gid and the same name...
is it possible ?
can i create a concatenation with an other group or something else ?
thx (1 Reply)
I have installed vnc on my computer but do not want every one to be able to incite a vncserver
how can I limit users of the vncserver command to only a specifc group? (1 Reply)
Hello Every One. :D
Can any 1 tell how to configure unix so that only specified IP's can connect to that machine using telnet. :rolleyes: I guess there is also sum stratgy to limit it by time. such as from 9 a.m to 5 p.m. :eek:
This is imp 4 me. plz help
Thanks
Shaikh Naveed
Islamabad.... (5 Replies)
Trying to limit 1 login per account...
Setup:
We have 2 auth logins, one to the AIX (telnet)then into a distribution mgmt software, the users do not have a shell to log into on the AIX itself, so placing a script such as:
active=`who | awk '{printf",%s,\n",$1}' | grep ,$LOGNAME, | wc -l`
... (0 Replies)
hello, i'm trying to figure out a way to limit the output from an SQL query that is counting the number of occurances of a value in a field and the problem is when i run this query against a huge file with many unique values the output is pretty huge.
Is there a way i can specifically LIMIT the... (2 Replies)
How can i remove a file using shell script when its size exceeds 10MB. Given that file is located in different location to the shell script where it is running? (4 Replies)
Hi,
I can able to view the limit of ARG_MAX ENV variable using the command:
getconf ARG_MAX
can we modify the value of ARG_MAX somewhere or is that common value depending upon the version of kernel ? (1 Reply)
// AIX 6.1 & Power 7 server
I have maxuproc set to 16384.
lsattr -El sys0 -a maxuproc
maxuproc 16384 Maximum number of PROCESSES allowed per user True
What is the maximum number of maxuproc we can go for?
If I increase maxuproc to the higher number, what would be ramifications?
I... (1 Reply)
Discussion started by: Daniel Gate
1 Replies
LEARN ABOUT OPENSOLARIS
pthread_attr_getstack
pthread_attr_getstack(3C) Standard C Library Functions pthread_attr_getstack(3C)NAME
pthread_attr_getstack, pthread_attr_setstack - get or set stack attributes
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include <pthread.h>
int pthread_attr_getstack(const pthread_attr_t *restrict attr,
void **restrict stackaddr, size_t *restrict stacksize);
int pthread_attr_setstack(pthread_attr_t * attr, void *stackaddr,
size_t stacksize);
DESCRIPTION
The pthread_attr_getstack() and pthread_attr_setstack() functions, respectively, get and set the thread creation stack attributes stackaddr
and stacksize in the attr object.
The stack attributes specify the area of storage to be used for the created thread's stack. The base (lowest addressable byte) of the stor-
age is stackaddr, and the size of the storage is stacksize bytes. The stacksize argument must be at least {PTHREAD_STACK_MIN}. The stack-
addr argument must be aligned appropriately to be used as a stack; for example, pthread_attr_setstack() might fail with EINVAL if (stack-
addr & 0x7) is not 0. All pages within the stack described by stackaddr and stacksize are both readable and writable by the thread.
RETURN VALUES
Upon successful completion, these functions return a 0; otherwise, an error number is returned to indicate the error.
The pthread_attr_getstack() function stores the stack attribute values in stackaddr and stacksize if successful.
ERRORS
The pthread_attr_setstack() function will fail if:
EINVAL The value of stacksize is less than {PTHREAD_STACK_MIN}.
The pthread_attr_setstack() function may fail if:
EACCES The stack page(s) described by stackaddr and stacksize are not both readable and writable by the thread.
EINVAL The value of stackaddr does not have proper alignment to be used as a stack, or (stackaddr + stacksize) lacks proper alignment.
USAGE
These functions are appropriate for use by applications in an environment where the stack for a thread must be placed in some particular
region of memory.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO pthread_attr_init(3C), pthread_attr_setdetachstate(3C), pthread_attr_setstacksize(3C), pthread_create(3C), attributes(5)SunOS 5.11 23 Mar 2005 pthread_attr_getstack(3C)