Ubuntu :: How To Find Memory Space
Aug 2, 2010How do i find out how much free space that i have before i install fedora and ubuntu?
View 3 RepliesHow do i find out how much free space that i have before i install fedora and ubuntu?
View 3 RepliesLogical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?
1. How can we change it? (just changing value of PAGE_OFFSET is okay?)
2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?
I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)
View 4 Replies View RelatedWhen we want to setup a linux system, there is a common a suggestion like set the swap space as twice as big than your physical memory, I want to know why do we need this and how is this suggestion come from?
View 4 Replies View RelatedWhen I use top to see memory usage, I have 65gb ram but only 1.3gb of it free and remaining is shown as used. When I ran my program It gives memory insufficiency error. Although no other program is using the remaining 63.7gb ram it is hold. How can I get free the unused ram?
View 3 Replies View RelatedI'm working with a lot of data, but always the same. I have, say 2GB that I keep loading 100 times a day from a local disk to do some computations.I was wondering if anyone knew if it is possible to read it once for all and then access it like a file but with the speed of RAM access. I would be looking for something like: Code: file2mem ~/mybigdatafile.dat ~/mybigdata_thats_now_accessed_superfast.dat And then the data is accessible in a way like with a symlink...
View 9 Replies View RelatedI want to know if i can increase the memory space allocated for a process manually while the process is running ,,,, and if it is possible how i can do this .
View 2 Replies View RelatedWhy linux uses swap space, even if there are free physical memory available.
View 4 Replies View RelatedA few years back when I was running Linux most of the time I used a program that gave me information on my machine.
It had different themes and such, and it would usually rest vertically along the side of the desktop. It would tell one information on drives, space, memory, I think you could even have it tell you the weather if you entered geographical information.
I know I'm being a bit vague but that's all I can remember, does anyone recall this program? It was pretty popular back then...so I wonder if it's still under development.
i had configured the opennms but i didint able to get the disk space and memory alert by mail... and also i need a plgin gor opennms can u tell me wat plugins suit for opennmms monitoring tool ...
View 2 Replies View RelatedI'm running an embedded Linux kernel, and I want to obtain a real memory address from user space. After goggeling a little, I found that the only way was to use mmap to access /dev/mem. But I never used mmap. I want to load a program in memory, in order to make it available from another processor, that has access to the DDR, but not to the flash memory where program is stored. Here is the code I use:
Code: // Open file and get its size
FILE* program = fopen(argv[3],"rb");
fseek(program, 0, SEEK_END);
long program_size = ftell(program);
fseek(program, 0, SEEK_SET);
// Prepare memory to copy it in
void* program_address = malloc(program_size+1);
FILE* memory_stream = fmemopen(program_real_address, program_size + 1, "wb");
[Code]....
find out the available and consumed Hard Disc memory through c/c++ program .I am using Dabian linux 2.6 I am able to get the physical memory size information by reading /proc fileI need to get information of HDD memory throug c/c
View 4 Replies View RelatedAre there any tools to view/edit user space memory of running processes on Linux?
It would be a great learning tool.
clarify me with ulimit output and memory limit?
ulimit -a output:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 1572864
[code]...
As i undertsand - out of 1GB of the virtual Address space for Kernel from 3GB to 4GB of the process address space, Kernel image (code, data, bss, stack, heap) resides staring @0x0 address. Vmalloc area starts either at the end of Physical ram size or at 896M. This 896M cap is mandated to ensure that minimum of 128MB is reserved as vmalloc_reserve for vmalloc,kmap etc.
Is the understanding correct? Now trying to map Physical Zones into this 1GB address space
Initial 16MB is mapped to ZONE_DMA
16MB - 896MB is mapped to ZONE_NORMAL
896MB - 1024MB is mapped to ZONE_HIGHMEM
Does this mean that Kernel image is residing in ZONE_DMA area? Any call to vmalloc() in kernel code will return address beyond 896M? insmod of any LKM will internally invoke vmalloc() to obtain contiguous area - where will this code physically located along with rest of kernel code in ZONE_DMA or in ZONE_HIGHMEM?
Apache is installed and working fine using localhost. Php already installed in ubuntu, however i cannot find the directory where apache is installed so as to save my web pages there. server cannot interpret php files.
View 1 Replies View RelatedIm trying to find a way in redhat to see if there is a command that could tell me the actual used memory by the system. For example when i do the free command, i want to see the Used minus cached value. Is there a way linux can report the true used memory and not the cached/buffer etc? if there is not specific command for that, can someone tell me a bash script that could calculate used-cached ?
View 5 Replies View Relatedhow can i find out how much memory my server has?
i am running centOS 5
I used 9.04 for months and it work fine before restarting my PC. After I restarted my PC, the memory consumption takes up to 4.2 GB after login. However, I cannot find any process that consume such large number of memory.
[code]....
Im using SUSE, i have 31GB of memory Mem: 31908592k total, 31429632k used, 478960k free, 12176k buffers. How do I find out what process are eating up all my memory.
View 3 Replies View RelatedWhen we have Oracle 10g in RedHat, the free memory goes down soon after bootup of the system and never increases. I learnt from various forums that Linux does cache the disk files for the better performance. And when any application requires memory they get the memory and the caching does not block any memory. We want to capture the free memory available for one the harware planning activity.
1) When we use vmstat command, it gives very less free memory. since it caches large size files, the free memory is very low.
2) We tried free command, but how do we know how much actual free memory is available. i.e. excluding the cache usage
Is there any link where i can get information about below?
Dirty memory
RSS
PSS
One more?
if a set of process are getting executed in a use case say 50 times. How do one know the memory leak for a particular process?
Is there any way to find out the space consumed by a particular application??
AFAIK,applications installation are distributed across various directories in Linux(man pages,executable files,etc..)and the very close i can get is to run 'whereis' command which gives me all the paths where the application's files are stored.
Do i have to manually go to each and every such paths and check their sizes??
I'm trying to copy all my photos from a windows drive to my Linux partition. So i created this small one-liner:
[code]...
the output from find has no space esc-character, i.e. /path/sub folder should be /path/sub folder.
My ubuntu server is a 1.5T with 448GB available. When I backup my files each night, my files only amount to 397GB. Is there an easy way to see where the extra 600 GB on my server is located? I think that I might have had a couple of old backups write to the server, but I cannot find them.
View 2 Replies View Relatedim running RHEL 4.0 with 2 x 146 GB for the operating system and a storage with just 2 x 300GB for the application. The application is almost 88% usage and this is the output of the fdis and df.
###################################
[root@ebs3 ~]# fdisk -lu
Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders, total 286677120 sectors
Units = sectors of 1 * 512 = 512 bytes
[code]....
where is the 50 GB so i can use it to extend the partition c1d0p1 and c1d0p2 that are running out of space. Did they being used to build the mirror? is not much 50 gb?
if i attach a shared memory to my process whch part of the address space it will add(like stack, heap, data, code...).
View 3 Replies View Relatedhow to find the only particular user (usage) of memory information
View 6 Replies View RelatedI wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs?
View 3 Replies View RelatedTop only show the memory usage for individual processes. Apache often runs hundreds of processes, each of which may use only a small amount of memory, however the total memory consumed by all apache processes can be fairly large.Is there a way to see the total memory usage for all apache processes?
View 7 Replies View Related