03-14-2012
There is nothing calling ulimit in that script. You should have a look at the batch_rlogin command.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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)
Discussion started by: farzolito
1 Replies
2. Shell Programming and Scripting
Hello All.
is there anyscript or way to limit hosts/ips for users?
freebsd4.4-stable
thanks (11 Replies)
Discussion started by: star
11 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: macdonto
1 Replies
4. UNIX for Dummies Questions & Answers
I'm setting up a file server for users. Does anyone know how I can limit each users directory to 500MB?
--------------
Runing Solaris 8 (3 Replies)
Discussion started by: merlin
3 Replies
5. SCO
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)
Discussion started by: shaikh.naveed
5 Replies
6. AIX
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)
Discussion started by: pheusion
0 Replies
7. Shell Programming and Scripting
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)
Discussion started by: bobk544
2 Replies
8. Shell Programming and Scripting
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)
Discussion started by: vel4ever
4 Replies
9. Solaris
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)
Discussion started by: penqueen
1 Replies
10. UNIX for Dummies Questions & Answers
// 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 SUSE
pthread_attr_getstacksize
PTHREAD_ATTR_GETSTACKSIZE(3P) POSIX Programmer's Manual PTHREAD_ATTR_GETSTACKSIZE(3P)
PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond-
ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME
pthread_attr_getstacksize, pthread_attr_setstacksize - get and set the stacksize attribute
SYNOPSIS
#include <pthread.h>
int pthread_attr_getstacksize(const pthread_attr_t *restrict attr,
size_t *restrict stacksize);
int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
DESCRIPTION
The pthread_attr_getstacksize() and pthread_attr_setstacksize() functions, respectively, shall get and set the thread creation stacksize
attribute in the attr object.
The stacksize attribute shall define the minimum stack size (in bytes) allocated for the created threads stack.
RETURN VALUE
Upon successful completion, pthread_attr_getstacksize() and pthread_attr_setstacksize() shall return a value of 0; otherwise, an error num-
ber shall be returned to indicate the error.
The pthread_attr_getstacksize() function stores the stacksize attribute value in stacksize if successful.
ERRORS
The pthread_attr_setstacksize() function shall fail if:
EINVAL The value of stacksize is less than {PTHREAD_STACK_MIN} or exceeds a system-imposed limit.
These functions shall not return an error code of [EINTR].
The following sections are informative.
EXAMPLES
None.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
pthread_attr_destroy(), pthread_attr_getstackaddr(), pthread_attr_getdetachstate(), pthread_create(), the Base Definitions volume of
IEEE Std 1003.1-2001, <limits.h>, <pthread.h>
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE
/The Open Group 2003 PTHREAD_ATTR_GETSTACKSIZE(3P)