11-20-2001
You are bumping into LINE_MAX, the maximum length of a line. It is documented on the "limits" manpage. No, an administrator cannot change it.
You are going to need to switch algorithms. Don't try to have all of your filenames in one command line at once.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
can anyone explain me what virtual memory is ( for which we use vmstat commande line ) comparing with RAM ?
many thanks before. (2 Replies)
Discussion started by: big123456
2 Replies
2. Programming
Hi,
First of all I appreciate this group very much for its informative discussions and posts.
Here is my question.
I have one process whose virtual memory size increases linearly from 6MB to 12MB in 20 minutes. Does that mean my process has memory leaks?
In what cases does the... (4 Replies)
Discussion started by: shriashishpatil
4 Replies
3. Programming
Hi Folks
can any body suggest how to allocate virtual memory any function for that (2 Replies)
Discussion started by: munnu
2 Replies
4. HP-UX
Hi!
I work with HP-UX and I have to monitorize the use of virtual memory for different processes.
(java processes for Tibco Adapter) And if these processes exceed a limit send a message to the syslog.
I donīt know how to monitorize this...
Should I do a script? or use an aplication, for example... (3 Replies)
Discussion started by: Kurohana
3 Replies
5. AIX
Hi,
Would any one be so kind to explain me :
are ulimits defined for each user seperately ? When ?
Specialy what is the impact of :
max locked memory
and
virtual memory
on performance of applications for a user.
Many thanks.
PS :
this is what I can see in MAN :
ulimit ]
... (5 Replies)
Discussion started by: big123456
5 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
Does anyone know what the best commands in the UNIX command line are for obtaining this info:
current CPU usage
memory usage
virtual memory usage
preferably with date and time parameters too?
thanks
ocelot (4 Replies)
Discussion started by: ocelot
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can anyone please help me workout how much virtual memory I have running on a T2000 running Solaris 10. Thanks
# df -h
swap 3.5G 1.0M 3.5G 1% /etc/svc/volatile
swap 3.5G 208K 3.5G 1% /tmp
swap 3.5G 56K ... (2 Replies)
Discussion started by: jamba1
2 Replies
8. UNIX for Advanced & Expert Users
Hi Experts
I encountered a situation recently. I wanted to discuss here and understand the reason behind this. My scenario is something like this:
yes > temp &
The above command keeps writing the output to the file temp. And this file keeps growing every second. And in the every... (4 Replies)
Discussion started by: guruprasadpr
4 Replies
9. Solaris
Hi All,
Please explain me about Virtual Memory.
Regards,
SKumar (1 Reply)
Discussion started by: nskumar
1 Replies
10. UNIX for Beginners Questions & Answers
So, I would ask you a piece of advice about which books or titles could give me comprehensive information about virtual memory in UNIX. Especially, I would found out that virtual address translation corresponds structures of kernel!
Thanks! (2 Replies)
Discussion started by: Fadedfate
2 Replies
LEARN ABOUT OPENSOLARIS
scf_limit
scf_limit(3SCF) Service Configuration Facility Library Functions scf_limit(3SCF)
NAME
scf_limit - limit information for Service Configuration Facility
SYNOPSIS
cc [ flag... ] file... -lscf [ library... ]
#include <libscf.h>
ssize_t scf_limit(uint32_t name);
DESCRIPTION
The scf_limit() function returns information about implementation-defined limits in the service configuration facility. These limits are
generally maximum lengths for various strings. The values returned do not change during the execution of a program, but they should not be
cached between executions.
The available values for name are:
SCF_LIMIT_MAX_FMRI_LENGTH
Return the maximum length of an FMRI the service configuration facility accepts.
SCF_LIMIT_MAX_PG_TYPE_LENGTH
Return the maximum length for property group types in the service configuration facility.
SCF_LIMIT_MAX_NAME_LENGTH
Return the maximum length for names in the service configuration facility. This value does not include space for the required terminat-
ing null byte.
SCF_LIMIT_MAX_VALUE_LENGTH
Return the maximum string length a scf_value_t can hold, not including the terminating null byte.
Lengths do not include space for the required terminating null byte.
RETURN VALUES
Upon successful completion, scf_limit() returns the requested value. Otherwise, it returns -1.
ERRORS
The scf_limit() function will fail if:
SCF_ERROR_INVALID_ARGUMENT The name argument is not a recognized request.
The scf_error(3SCF) function can be used to retrieve the error value.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
libscf(3LIB), scf_error(3SCF), attributes(5)
SunOS 5.11 17 Aug 2004 scf_limit(3SCF)