Sponsored Content
Full Discussion: UNIX Memory
Top Forums UNIX for Dummies Questions & Answers UNIX Memory Post 302932896 by erin00 on Monday 26th of January 2015 07:10:28 AM
Old 01-26-2015
UNIX Memory

what is the difference between cached and buffer memory?

can i use either buffer or cached memory if i want to run an application?

Last edited by erin00; 01-26-2015 at 08:35 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix system memory

Can you please tell me how to find out System Memory (RAM) for a AIX unix server? The command prtconf will do for Solaris but I don't know for AIX Unix. (1 Reply)
Discussion started by: anilkumar
1 Replies

2. Programming

memory increasing on UNIX

hi, i'm writing a program that is running always... but, i have a problem that memory is increasing.. i want to know whether does stack size inscease or not, when program is running.. i don't know what is the cause stack or heap... i need some help.. :( (1 Reply)
Discussion started by: netfer
1 Replies

3. HP-UX

Obtain Memory on HP UNIX

Hi, Does anyone know an easy way of getting the memory usage on a UNIX box? I basically want to find the total % available/in use. Running vmstat gives me 'avm' and 'free' but come in bytes and not percents. Didn't see a switch in sar that just gave me the memory stats similar to Sun's -r... (4 Replies)
Discussion started by: jonesin
4 Replies

4. UNIX for Advanced & Expert Users

unix memory management

i am looking for the books or web-sites which explains the unix memory management in detail. do you know any useful material? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

5. HP-UX

UNIX memory problems

I don't know if this is better suited for the application section, but here goes. We are currently running HP-UX 11 as our database server. The database is Progress version 9.1C. As of late, some of our batch processes that run on the UNIX db server are erroring out because of what appear to... (3 Replies)
Discussion started by: eddiej
3 Replies

6. HP-UX

How to find the memory in HP-Unix?

Hi, I have a HP-Unix server, version B.11.23. Can someone tell me how to find out the physical memory & virtual memory (swap) in my server? & what is Page fault? & is there any limitation for page fault? Thank you. Your help is appreciated. (7 Replies)
Discussion started by: Amol21
7 Replies

7. Shell Programming and Scripting

Memory utilization in HP unix

Hi, I am creating monitoring scripts in HP unix for that i need CPU utilization and memory utilization in HP unix. for CPU utilization i am using TOP command for Memory utilizaion i am not able to use glance command in scripts. means i am not able to redirect and stop. apart from... (1 Reply)
Discussion started by: rsivasan
1 Replies

8. Programming

What Unix do with unused shared memory?

Hello, When creating shared memory in C, should be remove shared memory with shmctl function when don't need it. If it didn't remove, occupied shared memory stay and remain. If we create shared memory repeatedly without removing unusable shared memory, /dev/shm will full. Does Unix or... (1 Reply)
Discussion started by: pronetin
1 Replies

9. Shell Programming and Scripting

How to extend memory in UNIX?

Hi friends iam new to unix. how to extend memory in UNIx. what are the possible scenarios to increase memory. I just noticed we have swap memory also but when and how to use it. and what is the correct way to increase RAM. please provide information or some useful commands. Thanks (2 Replies)
Discussion started by: saidesh
2 Replies

10. UNIX for Beginners Questions & Answers

Virtual Memory in UNIX

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
pthread_default_rsestacksize_np(3T)									       pthread_default_rsestacksize_np(3T)

NAME
pthread_default_rsestacksize_np() - change the default stacksize. SYNOPSIS
PARAMETERS
new_size The new default register stack size. old_size Pointer to where the old default register stack size is returned. DESCRIPTION
The function allows an application to change the default value for the rsestacksize attribute. This function must be called before any threads have been created. The new default stack size is passed in the new_size parameter. If not NULL, the previous default stack size is returned in old_size. If new_size is zero, this function can be used (at any time) to query the current default stack size. On HP-UX, threads with default stack sizes are cached after they terminate. The next time a thread is created with a default stack size, a cached thread (and its stack) are reused. This can result in significant performance improvements for However, if the default register stack size is not appropriate for an application, it cannot take advantage of this performance enhance- ment. By using the function, the threads library will change the default stack size so that it matches the applications needs. This allows the application to utilize the performance benefit of cached threads. If either of the set register stack size APIs is called the register stack portion of the stack space will be that large instead of size determined by the implementation. The memory stack portion will be the remainder. RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set). ERRORS
If any of the following occur, the function returns the corresponding error number: The value specified by new_size is less than register stack required for a thread. The calling process has already created threads (this must be called before any threads are created). AUTHOR
was developed by HP. SEE ALSO
pthread_attr_getstacksize(3T), pthread_attr_setstacksize(3T), pthread_default_stacksize_np(3T). STANDARDS CONFORMANCE
Pthread Library pthread_default_rsestacksize_np(3T)
All times are GMT -4. The time now is 03:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy