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


ADVERTISEMENT

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 :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

General :: Keyboard - Remap Keys For One Specific Program?

Feb 5, 2010

How can I set keys to be remapped for one specific program in Linux? (More specifically Caps Lock -> Escape for gVim. I hit it accidentally too much to remap it in everything).

View 2 Replies View Related

General :: Execute A Program Based On A Keypress From A Specific USB Keyboard?

May 4, 2011

I've been given one of these ubiquitous usb-sleep buttons which is basically a supersimple usb-keyboard. It's a big button that sends a SLEEP keypress to the computer when you slam it. But that is pretty boring. I'd love to remap it to do something more fun but I can't figure out how to bind to only the sleep press from the button and not from my ordinary keyboard.

The button identifies as

Bus 001 Device 035: ID 1130:600d Tenx Technology, Inc.

I'd like to know if there's either

a way of mapping a key from a specific keyboard to an action OR a way of remapping the sleep key from a specific keyboard to a new key-code or something like that.

View 1 Replies View Related

Ubuntu :: Prevent A Program Loading On Startup?

Feb 24, 2011

How can I prevent a program loading on startup? The program does not appear in Preferences / Startup Applications. I want to avoid having to sudo kill all programname every-time I login.

View 2 Replies View Related

Ubuntu :: Use A Processor For A Specific Program?

Aug 27, 2010

Can I set up my system to use a specific processor to do one task, and another processor for normal applications.

Say for example, I'm using a program that relies heavily on your processor, I have a dual core, so I can use one core for that, and another for normal applications.

View 1 Replies View Related

General :: Unit Of Cache Swapping Called Line?

Oct 1, 2010

Need reasons why the unit of cache swapping is called a line rather than a page ?

View 4 Replies View Related

Fedora :: SELinux Turn Off For Specific Program?

Jul 19, 2010

One thing I have had to do to launch Maya every time is disable SELinux.

echo 0 >/selinux/enforce

I type that each time before I launch maya. If I don't it wont start.

Not sure why. Essentially it makes it so I need to be su to run maya.

If I was setting up the workstation to be used by others as well how would I disable SELinux just for starting Maya but nothing else? Or how to do I tell SELinux maya is ok for regular users to run?

View 1 Replies View Related

Ubuntu Installation :: Translations Of A Specific Program?

Jan 30, 2010

I installed ubuntu 9.10 in english on a desktop pc. other users of that machine need to use it in other languages, and I was wondering if it is possible to install translations of specific programs like banshee, digikam, etc. and how to do it.

View 1 Replies View Related

Ubuntu :: Program To Specific Network Interface?

Mar 23, 2010

Is there a way to make a program use a specific network interface ? When using my laptop at work i may be physicaly connected to multiple networks. i was wondering if i can make sure that certain applications use a specific network interface. I would google around for the answer but i cant figure out how to phrase it correctly for a search.

View 2 Replies View Related

General :: Change A Specific Characters To Capital In A Specific Text?

Dec 2, 2010

for example

else {
for fileDOC in $location/*.doc
do

[code]...

View 12 Replies View Related

Debian :: Force A Program To Use A Specific Version Of GTK When Compiling

Jul 15, 2010

I decided I was going to compile XChat from source today for "fun." What I ended up doing was spending a few hours getting it to compile, then find out everything didn't work the way I thought it did. I was under the impression that after I ran "sudo make install" I was "upgrading", when in reality I'm just installing a seperate version alongside the old one. Apparently I have to keep the old version so every program that was compiled with it will continue to work, so how do I:

1) Force a program to use a specific version of GTK when compiling.
2) Find where my version of GTK installed to.

I've asked some people and I've just been told to "learn LD_PRELOAD". I've googled and can't figure how I could even apply that to my current problem

View 3 Replies View Related

OpenSUSE :: Can Apparmor Block Execute Any Program In A Specific Dir

Jun 10, 2010

prohibit execution of any program include shell command, only be profiled program could be executed, can apparmor do that?

View 5 Replies View Related

Ubuntu :: Workspaces - Program Go To A Specific Workspace Using Compiz?

Sep 13, 2010

I'm trying to make every workspace its own workspace basically including the bottom panels and their windows, e.g firefox, gimp etc... I want every workspace to to truly be its own workspace. If I open a window in work space 2, it should stay only appear in workspace 2. 1.How would I do that using compiz? I'd love to be able to have my virtualbox windows, go specifically to workspace 3. 2.Whats the best way to have a program go to a specific workspace using compiz?

View 4 Replies View Related

Ubuntu :: Launching A Program From Terminal To A Specific Viewport (Compiz)?

Mar 18, 2011

Anyone know how to launch a program from CLI (command line) to a specific viewport? I start programs all the time from the CLI and there are times when I'm in "typing demon" mode and don't want to touch the mouse. Being able to launch a program to a certain viewport (Compiz, w. effects) would be really helpful at times.

I'm familiar with wmctrl and i can use the -a and -c options to switch to and close windows fine. I only have 1 desktop (9 viewports, though), and wmctrl's support for viewport seems limited at best. Ideally, I'd like to launch a program to a specific viewport, but just being able to move an existing one to a specific viewport would work, too.

Please note: I'm talking about moving apps to viewports AD HOC or DYNAMICALLY, not in a fixed way like I believe devilspie and such (and Compiz' Place plugin). Depending on my task, I need to quickly launch several apps to different viewports, and this VARIES for me a lot. ubuntu 10.04 lts / gnome / compiz w. full effects

View 2 Replies View Related

Server :: Perl Program To Filter Emails For Specific Rules

Feb 4, 2010

Please what will it take me to write a perl full functioning program to filter emails for specific rules? Will that be possible? The actual thing am trying to get is to write a perl program and attach to a mail server so that, when the mails come in, the perl script get call and then the perl program will let another external program that is not on the server run and check or filter the mails.

View 8 Replies View Related

Software :: Looking For A Frontended GUI Program To Restore Specific Partition From Dd Backup?

Jun 21, 2010

I have a windows XP, and 2 ntfs, and ext4 and swap that I backup using dd if=dev/hda of=disk.image . I would like to restore the windows XP only.

Is there some frontended program with a gui for LINUX that could do the job without hassle, by chance?

View 2 Replies View Related

Ubuntu Servers :: Program/Process Route To Specific Network Device?

Jul 30, 2010

Is there a way to bind specific programs to specific network devices (not IPs, since I have dynamic IPs)?

For example, I wish for irssi to route through eth0 and w3m to route through eth1. Keep in mind these devices have dynamic IPs, so I cannot attached them to an IP.

The solution cannot be accomplished through route since route pivots on IPs not devices.

View 1 Replies View Related

Ubuntu :: Install A Specific Version Of JRE Which Is Required By A Program Called Glucofacts?

Apr 21, 2011

I am trying to install a specific version of JRE which is required by a program called Glucofacts. this is a diabetes program which is used for recording blood sugar readings on a computer. would someone care to give me some advice on the below error?

larry@ubuntu:~$ sudo apt-get install jre 1.6.0_07
[sudo] password for larry:
Reading package lists... Done
Building dependency tree
Reading state information... Done

[Code]...

View 1 Replies View Related

Software :: Webpage Access At Specific Times Management Program For Ubuntu?

May 27, 2010

I'm having here at home one quite addicted Farmville & similar game player which I would like to somewhat control in at least late night/early morning hours, Was browsing a while around for a program which could be used as a webpage blocker for several hours (predefined time), but all I came up was either scripts which I don't understand (I myself can be counted as a newbie in Linux stuff) and don't want to risk blindly or just user account time manager (timekpr).

I found a great solution in my case for MacOS users called SelfControl, but as you can guess ... there's no Linux native client for that. So, my question is - is there any easy and understandable way to block specific webpages for a predefined time period (let's say, every morning from 03:00CET - 08:00CET)?

OS: Ubuntu 9.10 Computer knowledge of the farmer: Getting on Farmville and/or playing Gnome's Mahjongg is pretty much all.

View 3 Replies View Related

Hardware :: Multiple Barcode Scanners - Can't Seem To Redirect Output From One To A Specific Instance Of My Program

Sep 30, 2010

I have nine barcode scanners, each of whose input I want to send to a separate instantiation of a program I wrote. Each device shows up as /dev/hidraw_ (I'm using Ubuntu 10.4). The problem is that they all act as simple keyboard input, and I can't seem to redirect the output from one to a specific instance of my program. I've tried something like cat /dev/hidraw5 > ./myapp, and that doesn't work. I've tried actually opening the device in my program using open("/dev/hidraw5"), and it returns success, but subsequent reads don't do anything, and the scanner output is just printed to the console.

View 1 Replies View Related

Ubuntu :: Run Program In Terminal With A Terminal Specific Profile From GUI

Dec 12, 2010

I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:

Code:

gksu chkrootkit

with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:

Code:

gnome-terminal --profile=<profile_name>

how do I incorporate this within the Command entry line of the launcher?

View 1 Replies View Related

Ubuntu :: 100% And Keeps Swapping Over?

May 2, 2010

100% and keeps swapping over

View 9 Replies View Related

Ubuntu Installation :: Swapping HDD's With Different OS's?

Feb 16, 2010

I currently have Ubuntu installed onto my laptop, on a single drive partitioned into /root /home /swap. I now have an additional spare HD that I was thinking of installing Win XP onto. So If I needed to use XP for a specific program then I could just swap out the HDs instead of having a Dual Boot system on one drive. confirm that by swapping out the HDs this will not affect the Grub Boot Loader and I will be safe to do this without screwing up my Ubuntu, as if it will screw it up I will just stick with Ubuntu on my Laptop and forget about XP.

View 2 Replies View Related

Ubuntu :: HDD Names Keep Swapping (sdb, Sdc)?

Mar 9, 2011

The hdd that my system boots from is named "sdb". But sometimes it's named "sdc". It changes from boot to boot. There are four hdds in this desktop and my boot disk keeps swapping names with a data disk (sdb and sdc). No raid. Never affects the other two disks. I am running Ubuntu 10.10, but this problem began when I was a running 10.04.

View 5 Replies View Related

Ubuntu :: Why Is Installation Swapping So Much?

May 19, 2011

I have installed xubuntu. I have a total of 12034MB of main Memory of which ~1000MB are normally used.When I leave the computer and come back, it is swapping a lot. Whenver I display a window (firefox i.E.) that I have not displayed yet since I left the computer alone, I can here the HD working, and the system monitor shows me how more memory is used and less swap space.

But there is absolutely no need for it. I have at least 10000MB of free Memory at all the time!Can I somehow tell my xubuntu installation to stop swapping unless there is really little main memory left (lets say less than 2000MB)?My kernel version is 2.6.35-29-generic because I have trouble with the raw1394 module in the newest version.

View 4 Replies View Related

Ubuntu :: Sata HD Hot Swapping?

Sep 1, 2011

I am using Ubuntu 10.04, 64 bits. I need to swap sata hard drives (they are installed in drawers). If I umount and remove a disk, and then put the same drive in it's place, I can mount it again with no problems. If I put another disk in place of the original, it says: mount: special device /dev/sdc1 does not exist. If I reboot, the new disk is mounted correctly (sdc1 is in fstab).

View 4 Replies View Related

Programming :: How To Restrict The Swapping

Jul 7, 2010

How to restrict the swapping kernel memory and user process memory? Memory locking like mlockall()? Disable swapping feature in linux kernel? My system runs 64-bit CentOS under 6GB RAM.

View 1 Replies View Related

Debian Hardware :: Swapping Out Current HDD With A SSD

Jul 15, 2011

I'm in the process of swapping out my current HDD with a SSD. Are there any configurations that need to be made after a fresh install? If anyone currently have SSD and running linux, I'd like to here your experience and whether or not you have/had issues.

View 13 Replies View Related







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