11-21-2001
LINE_MAX (limits)
Perderabo,
Thanks for the reply. I have obviously missed the point somewhere. The LINE_MAX setting here is 2048 chars. How does this figure relate to the 12,000 chars (plus cr's, linefeeds) that appears to be the restriction.
Below are some positive and negative examples. The closest wc value I have achieved so far is 11,810 (without a failure) and I know it fails when it hits 12,044.
Does your reply still stand, or have I missed something.
Unfortunately, source .c/.h filenames being what they are, can only be picked up by using the filename extension. Developers tend not select alphabetically ordered filenames, otherwise I would use a*.c etc.
Rgds David
ok
wright@w9054$ ls projects/$PROJECTPATH/*.[ch].met | wc
272 272 7840
wright@w9054$ pwd
/home/w9061disk/wright
----------------------------
ok
wright@w9054$ ls $PROJECTPATH/*.[ch].met | wc
272 272 7840
wright@w9054$ pwd
/home/w9061disk/wright
----------------------------
ok
wright@w9054$ PROJECTPATH=wright/projects/a318 ; export PROJECTPATH
wright@w9054$ ls $PROJECTPATH/*.[ch].met | wc
272 272 9744
wright@w9054$ pwd
/home/w9061disk
----------------------------
NICHT WAR
wright@w9054$ PROJECTPATH=w9061disk/wright/projects/a318 ; export PROJECTPATH
wright@w9054$ ls $PROJECTPATH/*.[ch].met | wc
/usr/bin/ksh: /usr/bin/ls: arg list too long
0 0 0
wright@w9054$ pwd
/home
wright@w9054$
------------------------------------------------------------------
OK
wright@w9054$ cd w9061disk/
wright@w9054$ PROJECTPATH=wright/projects/a318 ; export PROJECTPATH
wright@w9054$ ls $PROJECTPATH/*.[ch].met | wc
272 272 9744
wright@w9054$ pwd
/home/w9061disk
wright@w9054$
-----------------------------------
NICHT WAR
wright@w9054$ ls w9061disk/wright/projects/a318/*.[ch].met | wc
/usr/bin/ksh: /usr/bin/ls: arg list too long
0 0 0
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