General :: How To Clear Memory Buffer

Nov 18, 2009

I am having a Oracle server installed on Linux server. I want to clear the buffers after a certain time interval. I use the following command for the same.

echo 3 > /proc/sys/vm/drop_caches

Can I have a script which will execute the above script after certain time interval OR a script which will execute the above command when certain memory size is reached.

View 1 Replies


ADVERTISEMENT

Server :: Clear Cache Memory ( RHEL 5.1 ) As It Consumes Almost 100% Physical Memory?

Jan 11, 2010

let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.

View 3 Replies View Related

Ubuntu :: How To Clear The System Cache Memory

Feb 15, 2011

Ubuntu 10.10

How do I clear the System cache memory.

For the past few days , I am facing problem in opening websites (firefox & Chrome).

I have to restart the laptop and then access the web sites.

View 3 Replies View Related

Slackware :: How "to Clear" Memory Swap

May 9, 2010

I have 2G of physical memory and 1G of memory swap. Very rarely the memory swap is used and when usage is around 1% while, then gets a lot of free physical memory...My question is:It is possible to "clean up" the memory swap. Or better still (I think). It is possible to spendphysical memory for data that is in memory swap?

View 14 Replies View Related

General :: Application Virtual Address Space Memory Allocation - Memory Does Not Get Free

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

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

General :: Any Way To Set Default Buffer For VLC?

Sep 16, 2011

I'm often playing videos from my external hard disk, and, well, it has issues. It'll often spin down and it often takes 5-10 seconds to spin back up in order to keep reading files. This is really terrible for video playback, as it'll often completely hang until the drive spins back up. Is there a way that I can tell VLC to set a larger buffer to at least give me more buffer into the future so the drive will have time to spin up when the buffer runs out?

View 1 Replies View Related

General :: PHP - How Big Buffer Can It Bring Back

Jan 21, 2010

I need to use php to run some scripts locally. I tried it with system, exec But it only brings back on line. Ideally I want to take all the out put back on my browser.

PHP ------>shell scripts ------> error + plus out put
^--------------------------------------------|
some thing like that.

View 1 Replies View Related

General :: Memory Corruption Detected In Low Memory

Aug 22, 2010

This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s)When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.

View 2 Replies View Related

General :: Top Used Memory Versus Ps Processes Memory

Jan 17, 2010

I found from command 'top' that 8GB memory are used. However, using command 'ps' with some options to grep the running processes and then summing up the memory used by the running processes are less than 2 GB. Where has the used memory gone ?

View 7 Replies View Related

General :: Copy To System Clipboard Instead Of Vim Buffer

Sep 11, 2010

I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste from the system clipboard and bypass the vim buffer.

View 5 Replies View Related

General :: Ubuntu - How To Increase Buffer Rate On VLC

Jun 12, 2010

I've got some high quality videos I want to run on vlc, but they require a higher buffering rate then the default for vlc. With the default the video skips every second or so and pixelates now and again. I've run the video on vlc on windows before and I found a buffer rate to change to make the video run smoothly, however, I don't remember what the value I changed was and when I looked through the ubuntu vlc options I didn't recognize it immediately.

View 4 Replies View Related

General :: Pipe Output Of Shell Command Into A New Buffer In Vim?

Jun 29, 2010

How can I pipe the output of a shell command into a new buffer in Vim? The following obviously wouldn't work, but you can see what I'm getting at:

:!echo % | :newtab

View 2 Replies View Related

General :: Increase Terminal Scrollback Buffer Size?

Sep 15, 2010

I'm using CentOS 5.4 servers installed in a VMWare virtual machine with no X.Org server installed, so all access is via command line and the linux terminal. I use Shift-PgUp to view the scrollback buffer, but its size is very limited. How do I increase the size of the scrollback buffer?

View 3 Replies View Related

General :: Capturing And Parsing Xterm Cut Buffer In EMacs

Jan 17, 2010

I'd like to make an indirect control for Emacs (in Ubuntu Linux) so that I can swipe some text in an xterm with the cursor, cutting it into the X cut buffer, then run a macro in Emacs to parse the cut buffer text to look for text saying "line XXXX" where X is all digits, then go to that line in the current Emacs buffer. I think this is possible by using emacsclient to get emacs to run a macro, then the macro parsing the cut buffer, then issuing a goto-line command to the number that's been parsed. My problem is I don't know how to write the emacs script to read the X cut buffer and parse it.. I've been going through cookbook examples but none seem to fit.

My goal is to ease development. When I have an error/information/status message printed in an xterm, I want to swipe the error message which says something like "syntax error on line 2776" then press a keyboard shortcut which Ubuntu will interpret to launch emacsclient, which causes my already-open Emacs to grab that text, parse it, and go to the line number I just swiped. Only this last step of parsing is the hard part. (Yes, I know you can run a shell INSIDE of emacs, but this is doesn't fit my workflow). How would I make emacs look at that X cut buffer and parse out the line number and issue the "goto-line" command to the current buffer?

View 2 Replies View Related

General :: Shared Buffer Between User And Kernel Space

May 3, 2010

I need a shared buffer between user and kernel space. I read that one way is to allocated buffer in kernel and then call mmap from the user space. I searched for an example but couldn't find something useful. If you know, could you please send me any links or sample code that does this..

View 1 Replies View Related

General :: Cannot Read The Chip Data On The Buffer File

Sep 1, 2010

Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,

View 1 Replies View Related

General :: Vi/vim: Undoing After A Mistake Has Made Vi Cancel Changes To The Buffer?

Dec 15, 2010

perhaps I've been typing for 20m and, in command mode, I accidentally press a key that undoes all of my work. What would be one of the more elementary undo commands

View 4 Replies View Related

General :: Buffer I/O Error While Booting From Backtrack 4.0 Live CD Using Virtual Box

May 28, 2011

I am facing a problem while installing backtrack 4.0 on my virtual box. After assigning a hard drive and booting from the live cd, i am receiving a error message as follows:

Loading, please wait...
Buffer I/O error on device hdc, logical block 76636
(this statement gets repeated like four times with different logical block id.
SQUASHFS error: squashfs_read_data failed to read block 0x5bb337b9
SQUASHFS error: unable to read is index table.

It is not the first time i install operating systems on virtual box though it is the first time i receive such an error with backtrack.

View 1 Replies View Related

General :: Change Size Of Network Data Receiving Buffer On OS?

Jan 21, 2010

We know that, in a network, data transfer time is dependent on capacity of the receiving node. I have two Linux systems A (sender) and B (receiver) connected. I want to simulate congetion in a network, that means I want to increse the time taken to transfer some data. I believe, I can do this if I can reduce the capacity of the receiver node B. That perhaps possible by decreasing the receiving buffer size of B. How can I change the receiving buffer size of this linux system B?

View 1 Replies View Related

General :: Recover A SDHC Card - After Getting A Buffer I/o Error Mesg From Dmesg(1)?

May 24, 2011

After reading a SDHC (camera) card with my computer in a non-HC compatible card reader, i guess i destroyed the partition table.

After getting a SDHC-compatible reader i found it seems there is no part. table on the card and no fdisk(1), badblocks(1) can read that card.

Seems they will wait forever to get a part table.

dmesg says:

How to recover the card?

View 2 Replies View Related

General :: How To Clear History

Nov 30, 2010

How to clear history in LINUX?

Which command?

And how to remove permissions which is given for a user to be group admin? by this command- gpasswd -A ram sales

Where ram is user sales is group

How to deselect him as admin?

View 7 Replies View Related

General :: How To Clear Out SSH Agent Entries (on Mac OS X)

Apr 16, 2011

I'm running OS X and it appears that after SSHing to several machines, using identity files, my ssh-agent builds up a lot of identity / keys and then offers too many sometimes to a remote machines, causing them to kick me off before connecting.
Received disconnect from 10.12.10.16: 2: Too many authentication failures for cwd

It's pretty obvious what's happening, and this page talks about it in more detail:
SSH servers only allow you to attempt to authenticate a certain number of times. Each failed password attempt, each failed pubkey/identity that is offered, etc, take up one of these attempts. If you have a lot of SSH keys in your agent, you may find that an SSH server may kick you out before allowing you to attempt password authentication at all. If this is the case, there are a few different workarounds.

Rebooting clears the agent and then everything works OK again. I can also add this line to my .ssh/config file to force it to use password authentication:
PreferredAuthentications keyboard-interactive,password
Anyhow, I saw the note on the page I referenced talking about deleting keys from the agent, but I'm not sure if that applies on a mac since they appear to be cleared after reboot anyhow. So, my question is, is there a simple way to clear out all keys in the ssh-agent (the same thing that happens at reboot)?

View 1 Replies View Related

General :: Clear Stdin Before Reading?

Apr 28, 2011

I have the following bash script:

#do some time consuming task here read -p "Give me some input: " input

Now as you might've guessed, if users press some random keys during the "time consuming task," they're read into input as well. how do I clear stdin (or at least ignore it) before I issue the read command?

View 1 Replies View Related

General :: Reset / Clear Blacklisted Myself?

Jan 11, 2010

I recently became co-owner of a server, however upon trying to ssh it became apparent the root admin gave me the wrong password by mistake;
After trying several times with the wrong pasword thinking I might have mistyped I have now blacklisted myself, huzzah.

How can I reset or clear the blacklist?

View 2 Replies View Related

General :: How Do You Clear Reboot History

May 24, 2011

I don't mind a few lines of reboots, but this is getting rather long:

How can I clear (or reduce) the history that comes up when ssh to my host?

View 9 Replies View Related

General :: How To Clear Out Mqueue Directory

Apr 12, 2011

My system is old. Not debian.How do I clear out the mqueue directory? I don't want to delete it....just clear it out of the email that is clogging up my var partition. This old command doesn't seem to work anymore:find /var/spool/mqueue -exec rm'{}' ;Anybody know of the command to clear my mqueue.

View 5 Replies View Related

General :: Clear Bad Shortcuts From Gnome-do Cache?

Feb 11, 2010

I am using ubuntu and gnome-do and have in my gnome-do some bad shortcuts ( they even have a grey X icon ) that i cant figure out how to delete from the list. I thought gnome do has some cache but its been a while and they are still there :(

how to clear them from the list ?

Update: I deleted the ~/local/share/gnome-do folder and still no success

View 3 Replies View Related

General :: Clear IP Address Of Ethernet Interface?

Jun 17, 2010

What is the Linux command to clear IP address of an interface without bringing it down and/or restarting network services. Seems strange ifconfig is able to change IP address but has no option to clear it, or am I wrong?

EDIT:As simple as ifconfig eth0 0.0.0.0. They should have put it in the man

View 3 Replies View Related

General :: Cant Get Clear Mint Main Menu?

Jun 26, 2011

i am dragged myself from windows to mint 10 julia..while downloading the screenshots is like <http://www.linuxmint.com/pictures/screenshots/julia/menu.png> but after installation i got only menu like the basic menulike in ubuntu.am new to minti installed inside windows.am i done anything wrong with installation

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved