Software :: Program - Information On Drives Space Memory
Mar 5, 2010
A 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.
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
I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
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?)
I'm building a new system, with the goal of making it an Ubuntu-only box. Among the things I have installed, I have a 1tb ext4 hdd and a 320gb ntfs hdd.Due to my ignorance, right now, I can't boot, but that's not the point of the question. Let me try to explain the situation:Right now, the 1tb hdd has Ubuntu installed. And the 320gb hdd is just a drive for stashing stuff. (It used to be the "large" drive).
But what I want to do now is:Copy all the contents of the 320gb to the 1tbFormat the 320gb as ext4 and install Ubuntu there so it is the "main" driveRe-format the 1tb as ext4 too to use it as the storage areaBut, when I try to copy the stuff from 320 to 1tb, I can't due to permission issues (I'm booting the box from the live CD).So I sudo and the files are copied.Now, when I try to verify (still booted from the LiveCD as the box itself doesn't boot yet) I'm told that I can't see the contents of the directories I just copied.So the question is when I finally copy all the stuff I want to the 1tb, and install Ubuntu, will I be able to read the contents of those directories? I mean, not as root but as my regular user, or conversely, just doing a chown -R myuser:myuser <directory> would allow me to use the files normally?
When 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?
I used to have a program that displayed system information (cpu/ram usage, stuff like that) but the name escapes me at the moment. The key feature of this program is that it was intergrated into the desktop.
Can anyone tell me of a simple chat program that I can install on both Windows and Linux? I need it more for the local intranet than the internet. I wish to chat with window users in my network? Also please forgive me if this is the wrong forum for this question.
When 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?
I'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...
(1) i have a super-slow net connection with a limit of (200MB/3days)..so i dont want to seed my files wit bitTorrent..
(2)I have a 4 ntfs partitions which have some free space i want to utilise, in my ubuntu using ext3 patition, how could i do safely create free space w/o disturbing my other drives(one has vista on it)??
(3)I carelessly created 4GB swap space which is now going waste!! could i decrease it and use it somwhere else??
(4)Could you please tell me a tool which could scan packets coming to my firewall.
Before buying an SD memory card, I'd like to know something more about the CPRM protection, in particular:Does CPRM influence the way I am supposed to access my own data? That is, does CPRM encrypt it? Could CPRM prevent me from accessing my own data?Is it possible to disable or eliminate CPRM from either the memory card or the card reader?Are there manufacturers selling CPRM-free SD memory cards?Is there any real alternative to CPRM-protected SD memory cards beside USB flash drives?Is Linux support for SD cards good?
It only takes a few uses of a LiveUSB drive with a persistence file to fully saturate and generate "0 bytes remaining" messages. When this happens, you can no longer use the drive to install Ubuntu until casper-rw is resized or deleted or the USB device is reformatted. I think persistence shouldn't even be an option and that storing files temporarily in RAM is a better solution.
I'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,"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]....
I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:
/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?
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?