Ubuntu :: Run Top And Display The Virtual Memory?
Mar 18, 2011
What command would I use with Top to sort what is displayed when typing top to see the virual memory in a vm? So I am currently running ubunut 10.10 in a vm and I want to run top and display the virtual memory, what sort command would I include with top?
View 2 Replies
ADVERTISEMENT
Apr 20, 2010
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 Related
Feb 3, 2010
we found that if we use 'top' to show the memory usage of a server (SuSe Linux 10), we can get virtual memory usage as well as 'Resident memory' usage. For virtual mem or a particular process, it is around 1.1GB, which is large but for resident memory, it only consumes 300MB. Are there anyone who knows what the differences are? I would also like to know whether the difference (1.1GB - 300MB) = 800MB are actually available for use by other applications in the system.
View 1 Replies
View Related
May 4, 2010
I have a query regarding top & virtual memory. When we run top it show VIRT (Virtual Mem), RES (Resident Mem) & SHR (Shared Memory). The total virtual memory of my machine is 4 GBs (2 GB RAM + 2 GB Swap), but still I am able to see a process showing 4000m virtual memory column. what it means, as its show VIRT Mem more than actual available VIRT memory
View 1 Replies
View Related
Oct 14, 2010
I understand that in linux virtual memory would be the same as swap and I also understand that linux only uses swap when your computer has used all your pc memory. I hope both assumption are right.Can I make a process like firefox use ONLY virtual memory/swap? No access to RAM.
View 6 Replies
View Related
Dec 3, 2010
I'm trying to set up an older computer for a friend that does not have one I've been using Ubuntu for a little over a year on a couple of systems, and this is the first time I have come across an issue I could not find an answer to. During the boot sequence, and right before the GUI, I'm getting a "Low Graphics Mode" warning and it tells me that the "Virtual screen too big for memory; 5120k needed, 4096 K available" then it gives me some options, and the only one that seems to lead me anywhere is the "Load Ububntu in low res mode this once" Ironically, once the Ubuntu GUI is booted up, the screen resolution is fine (1280x1024 actually - but it is an unknown monitor) This happens every time I re-boot the system and is more of an annoyance then anything else, but since its to be a gift I'd like to get rid of this error message.
View 4 Replies
View Related
Jun 2, 2010
I used to use server 64, and it handled memory well with Jaunty and Karmic but with Lucid the memory usage is always high and can't run virtual machines.
[Code]...
View 9 Replies
View Related
Nov 21, 2010
Wine is useless on one of my computers running lucid 32bits. If i try to run a program through wine or even winecfg I get the error:
wine: virtual memory exhausted
I have tried shredding all the files in the .wine directory, removing every package that have anything with wine in their name in synaptic, and sudo aptitude purge wine.
View 9 Replies
View Related
Aug 23, 2010
Is there any program which gets the CPU and memory of a process ?
View 1 Replies
View Related
Dec 9, 2010
I am running a series of tests for an implementation of a remote pager that sends page faults to other computers in a network. Long story short, I was wondering if there is an easy way to force a process to use virtual memory as oppose to physical RAM so that I can better measure the performance of my implementation against how the system would perform while swapping to the hard drive.
View 4 Replies
View Related
Jan 7, 2010
I have a Red Hat 5.3 virtual machine that has 3GB memory. I just upgraded the memory to 4GB, however when I run free -m it still only recognizes 3GB. Is there something else I need to do?
View 8 Replies
View Related
Feb 21, 2010
A process is trying one access to memory, for example through an array (ex.: vect[0]=123. What happens?
Here below what I guess but I'm not sure and accept any comment (please, distinguish between "the system" and "the CPU" in case).
Let's suppose swapping to disk disbled.
We have two scenarios: without and with cache.
If no cache is present in the system:
1. The CPU must discover the phys addr of vect[0] virtual addr. To do that, has to read from 3 (or 2 depending on the system?) pages tables, stored in memory as well.
2. The CPU writes to the final address.
These mean 4 memory accesses.
If cache is present:
1. Like above but, if the pages tables are in cache, we have 3 accesses to that.
2. If the req. page is not in cache, it's reads from ram and transferred to it. Afterwards, cache is written.
In the best case we have 4 cache accesses.
View 2 Replies
View Related
Dec 20, 2010
We have designed a board with Cirrus Logic(arm) processor, A Flash memory and some other peripherals have been connected to that. While building kernel we have selected MMU support. We have written few custom drivers for keypad,LED,LCD. But I would like to know how virtual memory mechanism can be helpful here even though there is no any hard disk has been connected. Where will be the virtual memory reside.
View 2 Replies
View Related
Jun 26, 2010
I have a 32 bit Ubuntu installed and my Laptop has 4GB RAM, but only 3GB is considered by Linux. My question is: what is the reason for the upper limit on physical memory ?
Code:
dmesg | grep Memory [0.000000] Memory: 3052428k/3112960k available (4673k kernel code, 56364k reserved, 2121k data, 656k init, 2200904k highmem) I am familiar with the virtual memory concept where linux splits upper 1GB for kernel and lower 3GB for user processes. In total, linux 32bit can address 4GB virtual addresses. Does this meant that 1GB of physical memory is already mapped to 1GB of kernel space and Linux only shows the remaining 3GB physical memory left for the user in the above command.
I did some searching on the internet and found some articles related to this, but it only confused me further since some articles suggest 4GB is the upper limit with mentioning whether it's virtual or physical memory, some bring in the concept of PAE, etc. I'm relative new to Linux's memory management, so it'd be really helpful if someone could answer this.
View 4 Replies
View Related
Aug 14, 2009
I have this issue, with Lenny 2.6.26-2-486, that the Gnome 2.22.3 System Monitor displays only 885.0 MiB of the total 2048 memory I have installed on my system.
View 2 Replies
View Related
Sep 11, 2010
I'm trying to add another virtual display for X (eg. :1) so I can use VNC on it instead of :0 I have x11vnc installed for that.
View 9 Replies
View Related
Jan 29, 2010
In linux, how can I display memory usage of each process if i do a 'ps -ef'?I would like to the 'virtual memory', 'res memory', 'shared memory' of each progress. I can get that via 'top', but I want the same info in 'ps -ef ' so that I can pipe the output to 'grep {my process name}'.
View 3 Replies
View Related
Jul 30, 2010
I have a large body of code (2000+ lines at this point) with lots of global variables, and a handful of locals. I would like to know is there a way to print out all global variables in use at a particular moment in time either from the debugger (ideally) or in line?
Basically I have something like this for the menu
1. Do thing 1
2. Do thing 2
3. Do thing 3
4. Do thing 1 and 2
5. Do thing 1 and 3
6. Do thing 1, 2 and 3
The problem is, as you select something from the menu again after you finish an option, the globals are still set and I'd like to clear them. If I had a list of all of them, it be easy to copy and paste and set them before the program ran another entry again. Suggestions? I'm aware of reset [a-z], but all of my vars are uppercase, and I would upset INC, and other upper case built-ins.
View 1 Replies
View Related
Jan 26, 2010
I'm running Fedora 11 (2.6.30.10-105.2.4.fc11.i686.PAE) 8 GB memory on a AMD Phenom(tm) II X4 965 Processor, 4 core server I just built.The problem I have run into is any virtual machine that has >1024 MB memory assigned to it will not boot. As along as it has 1024 MB or less it boots fine.The symptom you see is a very quick message "Booting from hard disk" the screen then goes blank, you can't login through SSH, and can't ping the network address so I know it's not some crazy video problem hiding the boot process.The attachment are messages from a failed boot attempt.
View 4 Replies
View Related
Apr 6, 2010
clarify me with ulimit output and memory limit?
ulimit -a output:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 1572864
[code]...
View 2 Replies
View Related
Nov 4, 2010
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?
View 1 Replies
View Related
May 4, 2010
Clean install of 10.04 Server 32 bit.Only services OpenSSH Server and Print Server.Machine boots and can be accessed through ssh.Virtual terminals (cntl-alt-1,2,3,4,... do not result in video to the monitor (no sync) or a display.If I type blind, I can log in, ssh back to my other machine, and create a file. So the virtual terminal is there and listening to the keyboard and running, just not creating a display.
This machine has been working fine with 08.10 for quite time up until yesterday, so I don't believe it is a hardware problem.Any ideas why the video on the virtual terminals would not work?
View 8 Replies
View Related
Apr 3, 2011
I have an ubuntu 8.04 server running a couple of web sites using virtual hosts , apache2, mysql and php. I have noticed that by default php sessions are created in /var/lib/php5 and all stored in plain text.
I have quickly created a php script in a separate virtual host to list and display all contents in /var/lib/php5 , and it seems incredibly easy to see what details the other accounts are storing in sessions.
View 1 Replies
View Related
Feb 25, 2010
I have a MacBookPro5,1 system that can boot into Fedora 12 x64 as well as Mac OS X. My installation of Fedora is set to use the nVidia graphics drivers to provide 3D acceleration when running the operating system natively. I have installed VMware Fusion on Mac OS X, and I can use it to boot my installation of Fedora into a virtual machine. However Fedora refuses to go into X Windows and just sits there with a blank screen. I can use Ctrl+F2 to switch to a command line and log into the system through the command line interface.
I'm not exactly sure why this is happening. However, I suspect that it is because when the system runs virtually, it does not make use of the nVidia graphics card. Instead VMware Fusion provides a virtual VMware SVGA 3D adapter. What would it take so that Fedora would use a driver that is compatible with this virtual display adapter when running in a virtual machine, and then use the nVidia driver when the system boots natively?
View 10 Replies
View Related
Sep 18, 2009
I am having an issue with my GUI desktop display. I switched from the desktop to a virtual terminal using Ctrl+Alt+F2. Upon returning to the GUI desktop (Ctrl+Alt+F7), my display is all garbled up. I tried changing the resolutions, and it does not make a difference. I tried rebooting and the display is still bad.
View 1 Replies
View Related
Aug 29, 2010
I have an Ubuntu server with no physical access to it, only via ssh/vnc.
It is stuck on a 1680x1050 resolution and in the system display settings the menus are disabled since there is no detected real display connected.
I need to lower the resolution to e.g. 800x600. code...
View 3 Replies
View Related
May 16, 2011
I would like to split my display in two, so they would behave like two physical monitors, i.e. it would be for example like to connecting two 960x1080 monitors through physical ports. Is something like this possible? The problem is i would like to run two fullscreen applications on second monitor. Is that even possible? I prefer Windows 7/vista but I welcome Linux solution as well
View 1 Replies
View Related
Nov 9, 2010
I am having a problem getting my virtual console back after starting XWindows. The display goes blank when I press Ctrl-Alt-F1. If I press Ctrl-Alt-F7 I get the X session back. I have tried setting vga=x31A on the linux boot up. Also tried rdev -v /vmlinuz -1, and rebooted. I have tried two different monitors, same problem. One is a an LCD (Philips 170S6Fb/27, the other a Samsung Sync Master 750s. Originally the Samsung worked fine. I could switch between X and VC no problem. Now that I have the LCD monitor working after changing the XF86Config, I have this problem.
My kernel is 2.2.15-5.0, Redhat 6.2. Here is the output of lspci for the video card:
00:0c.0 VGA compatible controller: ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB] (rev 9a) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 4755
Flags: bus master, stepping, medium devsel, latency 0
Memory at e2000000 (32-bit, prefetchable)
I/O ports at b400
Memory at e0000000 (32-bit, non-prefetchable)
Expansion ROM at 000c0000 [disabled]
Hopefully there is someway to control how linux sets the video mode when switching consoles.
View 18 Replies
View Related
Apr 30, 2010
I get errors trying to virtual IPv6 Addresses i a lab environment. It works fine up to 2033 (?) adrressses, but when I try to add more i get "Cannot allocate memory" error:
# ifconfig eth0 add 2001:1b70:8282:2021:18:0:20:1
SIOCSIFADDR: Cannot allocate memory
This is on Ubuntu Server 9.10 (64-bit).
View 6 Replies
View Related
Apr 13, 2010
How can I get the physical address corresponding to a virtual address in linux by using /proc file system
View 1 Replies
View Related