10 More Discussions You Might Find Interesting
1. Solaris
Hi all
im new to solaris and i got the task to increase the size of the / partition.
its solaris 9 update6 running in a vmware esxi. i already added space on the VM, when im trying the "growfs" command im gettings error. see attached picture:
http://i.imgur.com/9ywWLNN.png
thanks for... (5 Replies)
Discussion started by: guy3145
5 Replies
2. AIX
Hi,
I've a 32-bit program running on AIX. By default the memory limit of the process is 256 MB as per the 32-bit AIX OS behavior. This can be changed using the LDR_CNTRL=maxdata environment variable. Baseed on the value that we set in terms of increments of segments the process... (6 Replies)
Discussion started by: kprajesh
6 Replies
3. Red Hat
Hi Guys,
I am running RHEL6 and now my processes reach maximum limit.
How do I increase the maxuproc value?
Can I increase the value without rebooting the server?
Thanks in advance...
Please Help!!! (5 Replies)
Discussion started by: Phuti
5 Replies
4. UNIX for Dummies Questions & Answers
hi guys
I am working on my vmware workstation.
I have a /dev/sdb which is 5GB. I am using LVM.
Now I increase /dev/sdb 2 more GB.
fdisk -l shows 7 GB but pvscan still shows 5GB.
how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and... (1 Reply)
Discussion started by: kopper
1 Replies
5. AIX
Hi,
I have a 10GB iSCSI LUN attached to an AIX 5.3 system. I increased the LUN to 15GB, but the system is still showing 10GB as the Total Size.
How can I get the OS to see the extra space? Do I have to reboot the system? (2 Replies)
Discussion started by: bbbngowc
2 Replies
6. Shell Programming and Scripting
I have written a code using AWK & sed to compare two files.
The structure of the files is like this"
Format is this:
<bit code> <file code> <string>
Follwoed by any numbers of properties lines whic start with a "space"
10101010101111101 XX abcd a
AS sasa
BS kkk
1110000101010110 XX... (1 Reply)
Discussion started by: sandeep_hi
1 Replies
7. AIX
Hello everybody, is a very simple question how can I increase the capacity of a disk wich is on a DS4300?, I have done the procedure on the Storage Manager but the space is the same on the AIX (5.3) , what should I do to obtain the new ammount of disk space? (16 Replies)
Discussion started by: GermanSkull
16 Replies
8. Solaris
hi,
i installed solaris 9 on my v240 server on 36gb disk. here are the ouputs of the df -h command:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.6G 3.4G 6.1G 36% /
/proc 0K 0K 0K 0% /proc
mnttab ... (6 Replies)
Discussion started by: xuc_xich_duc
6 Replies
9. HP-UX
Hi All,
one of the mount point in Hp ux server has reached 95%
its a data base file and can not be deleted.
so i want to know how to increase the size of mount point
i am new to unix ,please help me (1 Reply)
Discussion started by: jyoti
1 Replies
10. UNIX for Dummies Questions & Answers
hi,
I'm thinking of buying a Maxdata laptop 3100x. Only problem is that I'll need to run LINUX on it, and I've been warned that some machines don't run UNIX due to problems with their graphics cards. I contacted Maxdata, who say they've never tested their machines for UNIX-compatibility, which... (1 Reply)
Discussion started by: perturbed
1 Replies
BRK(2) BSD System Calls Manual BRK(2)
NAME
brk, sbrk -- change data segment size
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
int
brk(const void *addr);
void *
sbrk(intptr_t incr);
DESCRIPTION
The brk() and sbrk() functions are legacy interfaces from before the advent of modern virtual memory management.
The brk() and sbrk() functions are used to change the amount of memory allocated in a process's data segment. They do this by moving the
location of the ``break''. The break is the first address after the end of the process's uninitialized data segment (also known as the
``BSS'').
The brk() function sets the break to addr.
The sbrk() function raises the break by incr bytes, thus allocating at least incr bytes of new memory in the data segment. If incr is nega-
tive, the break is lowered by incr bytes.
NOTES
While the actual process data segment size maintained by the kernel will only grow or shrink in page sizes, these functions allow setting the
break to unaligned values (i.e., it may point to any address inside the last page of the data segment).
The current value of the program break may be determined by calling sbrk(0). See also end(3).
The getrlimit(2) system call may be used to determine the maximum permissible size of the data segment. It will not be possible to set the
break beyond ``etext + rlim.rlim_max'' where the rlim.rlim_max value is returned from a call to getrlimit(RLIMIT_DATA, &rlim). (See end(3)
for the definition of etext).
RETURN VALUES
The brk() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the
error.
The sbrk() function returns the prior break value if successful; otherwise the value (void *)-1 is returned and the global variable errno is
set to indicate the error.
ERRORS
The brk() and sbrk() functions will fail if:
[EINVAL] The requested break value was beyond the beginning of the data segment.
[ENOMEM] The data segment size limit, as set by setrlimit(2), was exceeded.
[ENOMEM] Insufficient space existed in the swap area to support the expansion of the data segment.
SEE ALSO
execve(2), getrlimit(2), mmap(2), end(3), free(3), malloc(3)
HISTORY
The brk() function appeared in Version 7 AT&T UNIX.
BUGS
Mixing brk() or sbrk() with malloc(3), free(3), or similar functions will result in non-portable program behavior.
Setting the break may fail due to a temporary lack of swap space. It is not possible to distinguish this from a failure caused by exceeding
the maximum size of the data segment without consulting getrlimit(2).
BSD
July 12, 1999 BSD