Sponsored Content
The Lounge What is on Your Mind? RudiC reaches over 4000 thanks in 6 years. Post 303020195 by Peasant on Saturday 14th of July 2018 11:47:25 PM
Old 07-15-2018
Good job RudiC.

Definitely one of the folks from whom i've learned a lot.
He always polite and 'cool', and his shell/awk foo is kung foo Smilie

Regards.
This User Gave Thanks to Peasant For This Post:
 

7 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

DLT 4000 drivers?

I am using a Quantum DLT 4000 tape drive on a PowerMac G4 with OS 10.1.5 I'd like to use the Terminal application, which is based on BSD 4.4, to see the tape drive and write backup tapes to it. First, is there a way to list all the devices attached to the computer? And secondly, is there a way... (0 Replies)
Discussion started by: derekc132002
0 Replies

2. UNIX for Advanced & Expert Users

Extendnet 4000 login Problem/Feature?

Hi there! I've been given a box that works as a DSL gateway/firewall running Extendnet 4000. Now, when logging in to the box through the web interface using default login (admin/admin) everything is fine. When I log in locally though, a wierd thing happens. My login seems to be successful,... (2 Replies)
Discussion started by: D-Lexy
2 Replies

3. UNIX for Dummies Questions & Answers

Unix Command to separate this years files and last years?

Hello - I have a folder that contains files from 2003 till 2010. I am trying to figure out a command that would seperate each years file and show me a count? Even if i can find a command that would give me year by year count, thats good enough too. Thanks (8 Replies)
Discussion started by: DallasT
8 Replies

4. Shell Programming and Scripting

Split string after 4000 char

Hi everybody! I have a large comma separated text file. This file incluede some column which largest than 4000 character(this is not the last column). I tried with sed but i can't do it. I would like to split to 4000 char this column. Thank You for your help! for example: (5 Replies)
Discussion started by: snayper
5 Replies

5. What is on Your Mind?

Congrats to RudiC - 3000 Thanks!

Congratulations to RudiC for crossing the magic boundary of being thanked 3000 times! As someone who often has profited greatly from your insight i stand in awe before this achievement. Thank you for your ongoing dedication and thank you for your willingness to share your knowledge! bakunin ... (15 Replies)
Discussion started by: bakunin
15 Replies

6. What is on Your Mind?

Congratulations RudiC for completing 4000+ THANKS in forums.

Hello All forum members, I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b: @Rudi sir, How are you sir? you ROCK, please keep up the great work sir :b: ... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

7. What is on Your Mind?

Don tops the 4000+ thanks...

Sometime today Don Cragun reached 4000+ thanks from different folks. Well done Don, I have learnt a lot from you and other guys on here. Big thanks from we who have benefitted from your expertise. (6 Replies)
Discussion started by: wisecracker
6 Replies
CHMEM(1)						      General Commands Manual							  CHMEM(1)

NAME
chmem - change memory allocation SYNOPSIS
chmem [+] [-] [=] amount file EXAMPLES
chmem =50000 a.out # Give a.out 50K of stack space chmem -4000 a.out # Reduce the stack space by 4000 bytes chmem +1000 file1 # Increase each stack by 1000 bytes DESCRIPTION
When a program is loaded into memory, it is allocated enough memory for the text and data+bss segments, plus an area for the stack. Data segment growth using malloc , brk , or sbrk eats up stack space from the low end. The amount of stack space to allocate is derived from a field in the executable program's file header. If the combined stack and data segment growth exceeds the stack space allocated, the pro- gram will be terminated. It is therefore important to set the amount of stack space carefully. If too little is provided, the program may crash. If too much is provided, memory will be wasted, and fewer programs will be able to fit in memory and run simultaneously. MINIX does not swap, so that when memory is full, subsequent attempts to fork will fail. The compiler sets the stack space to the largest possible value (for the Intel CPUs, 64K - text - data). For many programs, this value is far too large. Nonrecursive programs that do not call brk , sbrk , or malloc , and do not have any local arrays usually do not need more than 8K of stack space. The chmem command changes the value of the header field that determines the stack allocation, and thus indirectly the total memory required to run the program. The = option sets the stack size to a specific value; the + and - options increment and decrement the current value by the indicated amount. The old and new stack sizes are printed. SEE ALSO
install(1), brk(2). CHMEM(1)
All times are GMT -4. The time now is 08:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy