General :: Prevent Find - Du - Ls -R From Caching?

Jul 11, 2010

I'm currently copying a large number of files over a network. To monitor progress, I tried running watch du. However, the output never changed (or not much, not sure). find . -type f | wc -l always gives me the same number of files as does ls -R. It seems, these programs use caching, which is, in general, a good thing. Does anyone know, though, how cache usage could be controlled? I'm on an Archlinux system and I'm working on an ext4 fs on an encrypted hd.

View 4 Replies


ADVERTISEMENT

General :: Configuring A Caching Name Server

Oct 4, 2010

I have configured Master and Slave DNS server in Red Hat Linux 4 Enterprise. I want to know about what is a Caching Nameserver and in which situation we use it? If there is a master and slave DNS server we can use cache name server as well ?

View 7 Replies View Related

General :: Write-through RAM Disk Or Massive Caching Of File System?

Feb 17, 2010

I have a program that is very heavily hitting the file system, reading and writing randomly to a set of working files. The files total several gigabytes in size, but I can spare the RAM to keep them all mostly in memory. The machines this program runs on are typically Ubuntu Linux boxes.

Is there a way to configure the file system to have a very very large cache, and even to cache writes so they hit the disk later? I understand the issues with power loss or such, and am prepared to accept that. Crashing aside, in normal operation the writes should eventually reach the disk!Or is there a way to create a RAM disk that writes-through to real disk?

View 5 Replies View Related

Red Hat :: Caching Name Server DNS

Sep 25, 2009

I am trying to setup a Caching-Name Server for my lab but I am unable to locate the named.caching-nameserver.conf under /etc directory. I am trying to use this file as a template.I already checked the /usr/share/doc/bind-* for samples but unable to find it.I am using RHEL5 with bind and bind-chroot packages installed.

Can someone tell me where I can find named.caching-nameserver.conf file? Also, I notice that there isn't /etc/named symbolic link... do I have to create the sym link to /var/named/chroot/etc/bind.conf

View 4 Replies View Related

General :: How To Prevent VNC From Swapping HD

Apr 6, 2010

Actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. I'm accessing a MacMini (with MacOS X 10.4) from my Linux machine using VNC. My Linux machine has 4 GB of ram and I run a lot of various apps on it and I've got no issue at all. It's all snappy and don't hear the hard disk swapping/read/writing too often. Now with VNC, the hard disk is swapping like mad. When I'm moving things on the OS X desktop. So I was thinking of creating a ramdisk and forcing the temp VNC files to go into that ramdisk but the problem is I can't find any temp files.

I've attempted to do that:
#!/bin/bash
while [ true ]
do
lsof | grep vnc
done

The VNC version I'm using is this one:
$ vncviewer -version
VNC Viewer Free Edition 4.1.1 for X - built Jan 30 2009 19:33:16
Copyright (C) 2002-2005 RealVNC Ltd.
No matter how much data is coming from the Mac, there should be plenty of memory (4 GB of ram) so there's really no reason to swap like crazy.

View 1 Replies View Related

General :: Prevent CDs Autorun ?

Jan 9, 2010

My linux prevent CDs autorun! i wanna know what to do?

View 1 Replies View Related

Fedora :: Caching Yum Downloads Across A LAN?

Aug 8, 2011

I am currently working on a project at work to do caching across a windows network (web traffic thorugh squid and windows updates with WSUS). It is proving to be an interesting learning project.This got me thinking about my home network. Currently I am running 8 Fedora Computers (with the very real possiblity of more in the forseeable future).

Oviously running "yum update" on every computer and having them download these updates directly on each computer eats a lot of bandwidth on the external link. I would like to know if there is a way to set up a proxy server (or something else for that matter) to cache yum downloads. This way when I deploy a new machine, or run updates, I can save time and bandwidth by only downloading the packages too my LAN once, instead of nearly a dozen times.

View 4 Replies View Related

General :: Prevent Ctrl+Alt+F1 Switching Off From X?

Jan 28, 2011

How to change this sequence to, for example "Ctrl+Fn+F1" or temporarily disable it?@related: How to send Ctrl+Alt+F1 to window (to switch terminal remotely, not locally)?

View 1 Replies View Related

General :: Prevent RC Commands From Running?

Mar 17, 2011

I am running a shell script from a rc file in Linux. The shell script is going into a loop which runs for 8 hours. Now I want to prevent the shell script from running when Linux boots or I need to find a way to kill the shell script when it is running. I tried using killall, kill $! and Ctrl+C etc. Nothing seems to work. Can you suggest a way out. I am new to Linux.

View 2 Replies View Related

General :: How To Prevent A Process Starting

Jul 7, 2011

I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.

View 2 Replies View Related

General :: Prevent Move Command ?

Jul 30, 2011

I want2 know that how stop move folder on samba share.

View 1 Replies View Related

Server :: Netgroup Caching In NIS On RHEL 5.x?

Feb 25, 2010

I found in the following mail thread: [URL] That we can add, netgroup: caching compat and also the netgroup caching rules stanza in nscd.conf But the mail thread is for FreeBSD Unfortunately, I can't get any reference for RHEL 5.x I need to do exactly same stuff. The following line in my nscd.conf was enuf to leave me disheartened, :'(# Currently supported cache names (services): passwd, group,hosts The nsswitch.conf on my system works only with following: netgroup: nis Does neone knows if netgroup caching is supported by nscd.conf.

View 1 Replies View Related

Software :: Configuring Caching DNS Nameserver

Feb 8, 2011

i get this error whi trying to configure caching DNS namerver

[Code]....

View 5 Replies View Related

Ubuntu :: Credential Caching In Meerkat?

Feb 11, 2011

Prior to 10.10 if I enter my password to gain administrative permissions, for example to check for updates in Update Manager, the escalated permissions remain in effect for a period of time. If I close out of Update Manager and invoke the Synaptic Package Manager within a couple of minutes I am not asked for my passwordDoes anyone know if the was SUPPOSED to change in 10.10? I have reproduced the phenomenon in both the 32 and 64 bit versions of 10.10.

View 2 Replies View Related

General :: Prevent Rmdir -p From Traversing Above Certain Directory

Apr 22, 2010

I hacked together this script to rsync some files over ssh. The --remove-source-files option of rsync seems to remove the files it transfers, which is what I want. However, I also want the directories those files are placed in to be gone as well. The current part of the find command, -exec rmdir -p {} ; tries to remove the parent directory (in this case, /srv/torrents), but fails because it doesn't have the right permissions. What I'd like to do is stop rmdir from traversing above the directory find is run in, or find another solution to get rid of all the empty folders. I've thought of using some kind of loop with find and running rmdir without the -p switch, but I thought it wouldn't work out. Essentially, is there an alternative way to remove all the empty directories under the parent directory?

[code]....

View 2 Replies View Related

General :: Prevent SCP From Copying Local Files?

May 17, 2010

I just read the Linux scp command issue question and it reminded me that I regularily forget to specify the colon in the host part of a scp command, and thus copying a file locally instead of copying to a remote host, e.g. I do
scp foo host
instead of
scp foo host:
But I never use scp to copy a file locally. So I wonder if there is a way to make scp fail if both (the source and destination) arguments refer to local files.

View 1 Replies View Related

General :: Prevent Evince From Contacting Other Instances?

Jul 23, 2010

Okay, this issue is kinda difficult to understand without context: When we run Evince, it checks if there is any other instance running. If there is one, the evince command exits immediately, right after passing the parameter to the running instance If no other instance is running, a new one will be started, and the evince command will wait until this new instance exits. While that behavior is quite nice, it is not helpful for shell scripts. Why? Because I have a script that writes a temporary .ps file, calls a PS/PDF viewer, and automatically deletes the temporary .ps file after the viewer exits. Unfortunately, this script only works if evince was not previously running (if evince was running, then the file is deleted too fast).

I don't want to add extra complexity to this script. It should be kept simple, because I may want to replace evince with xpdf, gv, or anything else. I was expecting some kind of command-line parameter to evince (similar to -f to vim and gvim), but I fear there is no such option. Writing a wrapper script around evince might be a good solution, but this script should work correctly in all cases (if evince was running and if it wasn't).

View 1 Replies View Related

General :: How To Prevent A Specific Program From Swapping

Feb 9, 2011

Is it possible to prevent a specific program (i.e. rhythmbox and its dependencies) from ever swapping to disk?I'm asking because I have a problem when a music player hiccups whenever Chromium hogs too much memory. Is there a way to work around this? This isn't a problem in Windows anymore so presumably there is a way.

View 3 Replies View Related

General :: Prevent Vim From Clearing The Clipboard On Exit

Jun 20, 2011

If I copy text into the xterm clipboard from vim, it is cleared when I exit vim. How do I prevent this?

View 1 Replies View Related

General :: Prevent ^C Echo When Ctrl-C Is Pressed?

Jan 10, 2011

I want to prevent "^C" from echoing when Ctrl-C is pressed. I did "stty -echoctl" which some googling results suggested. Now it echos raw Ctrl-C characters instead of the string "^C". That's not any better since it displays some funny blocked hexadecimal in the terminal window.

View 8 Replies View Related

General :: Prevent Author New Files Overwrite Changes

Jun 29, 2011

I use software where I have to edit a text file in order to get my custom needs from it. Problem is that when the author puts out an update, it always overwrites my changes and I have to spend hours trying to compare the file, re-edit my changes back in, etc. This happens sometimes as often as once per month.

I've wondered if there might be a linux tool or commands which would look through the new file, then at my old file, changing only the text which already exists while not breaking anything else. Most software authors seem to know how to do this but since mine doesn't, how can I accomplish this on my own?

View 7 Replies View Related

General :: Prevent Displaying Image On Web Browser?

Sep 7, 2010

how to disable displaying image on web browsers. Example I have a link [URL].

- when I connect to this link on my browser, it will not display the image

- But I can use <img src="/img/test.jpg" to websites can read it.

View 9 Replies View Related

General :: Temporarily Prevent FTP Uploads From Certain Accounts?

Feb 10, 2011

What is the least painful way to temporarily prevent uploads to an FTP server by certain accounts? they all only upload directly to their home directory setup in /etc/password

View 1 Replies View Related

General :: Prevent Restarting The Application After It's Crash?

Apr 1, 2010

Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./executeable; done

When i will write this in console it will run executeable file and it will generate report : core.pid after crash so i can gdb the report. The application after crash will restart how can i prevent restarting the application after it's crash?

View 2 Replies View Related

Debian Configuration :: DNS Caching On Desktop System

Feb 1, 2016

I was wondering if a standard Debian 8 system with Gnome desktop does any kind of local dns caching, and if so, what the command is for clearing it. (Assuming I haven't purposely installed any DNS server software.)

I found multiple posts on the Web about unix DNS caching, but with widely different answers across distributions and across time.

View 2 Replies View Related

Fedora Servers :: Creating A Web Caching Server For Myself

Feb 12, 2009

I am looking into creating a web caching server for myself using fedora 10. I believe I need to use squid for this but it seems to have a lot of features. Basically, all I want for now is to be able to cache web pages that I and my network users use the most, increasing access time and lowering the load on my internet connection. Can squid do this and can someone point in the right direction on an article on how to configure such a thing?

View 5 Replies View Related

Fedora Networking :: How To Configure 14 As Caching Proxy

Apr 3, 2011

ran an internet cafe and last week my windows server got fried because of power surge. Now i got Fedora 14 running on another PC and i want to set it up as a full caching proxy server, so other computers can connect through it to the internet. I have 2 network cards inside.I'm really new to Linux and now learning my way around. I managed to install squid but don't know how to configure it to suit the purpose above

View 1 Replies View Related

Fedora Networking :: Can't Install Caching-nameserver On F14

May 9, 2011

I want to configure DNS Server on Fedora14. So I install caching-nameserver cause any template files.I can't install caching-nameserver on my Fedora14 by this command: [but i can do it on Fedora5]

View 4 Replies View Related

Ubuntu Networking :: Bind9 Forwarding / Caching DNS For VPN

Jan 6, 2010

I have Ubuntu 9.10 PC on my home network acting as a VPN gateway. It is using vpnc & iptables to provide access to the remote network - other computers on my local network have routing rules in place to go via the Ubuntu gateway if trying to reach an IP on the remote network. This works just fine, except DNS lookups for names on the remote network don't work.

I'm trying to solve this by using Bind9 on the gateway, so it can act as DNS for the local network. I don't want to create excess VPN traffic or load on the remote DNS, so I want the gateway to forward the lookup to my ISPs DNS first and if the name is not found then try the remote network DNS. Is this possible, or is there another (better) way around this? The Bind9 configs seem to admit multiple DNSs, but use them in a failover sense - only using secondary DNSs when the first one in the list is not reachable at all.

View 1 Replies View Related

Ubuntu Servers :: Squid Exclude URL From Caching

Feb 17, 2010

How do i exclude some URL from the proxy caching at squid.conf as i dont wont to cache ....., mediacafe etc, I know i can block site by create a file like bad-sites.acl, then adding it to squid.conf but that blocks it.

View 2 Replies View Related







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