Ubuntu :: Bind Priority To Certain Program?

Feb 9, 2011

I'm having trouble with binding priority to certain program. I know how to use nice to start a program, how to use renice to change the priority of a running program, but how can I bind a priority to certain executable so that it always start at selected priority?

I can write a script to probe the process and renice it, but this doesn't seem to be efficient.

View 1 Replies


General :: X: Warning; Priority Set To -1 Instead Of Requested Priority 0?

Dec 9, 2010

I have BT4 as an iso image and start it up by booting from cd, when i try the command root@bt~:startx it comes up with this fatal error. what can i do to get this work? and of course im new at this.

View 5 Replies View Related

Ubuntu Networking :: Bind Program To Network Interface?

Jun 17, 2011

Is there any way in a machine with 2 (or more) network devices to only allow 1 program to use interface1 and force all other programs to use the other?

View 4 Replies View Related

Networking :: Program To Assign Globa LIPv6 Address And Bind() To The Previously Assigned Address?

Apr 24, 2010

Consider the following program:

#include <stdio.h>
#include <stdint.h>


View 2 Replies View Related

Networking :: Creating Domain Name In Bind Exposing Bind To Internal Network

Sep 3, 2009

I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.

View 1 Replies View Related

Server :: What Is Bind Vs Bind-chroot Vs Caching-nameserver?

Jul 8, 2011

what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?

View 7 Replies View Related

Ubuntu :: Change Nice Priority At Launch?

Jan 12, 2010

I'm currently running on a really old computer with one proc and little memory. It's just enough to get skype running but it only works well enough if I change the nice level to -5 or lower. Now the person that uses skype in the house is really the wife, I don't want to teach her how to open htop in command line, fine the pid and then use the correct command to change the nice.What I am looking for is a script (sorry I don't know thing one about programming/scripting) that will change the nice priority periodically for all pid that are skype. This way call processes will get reniced as well. I know better then to run it as root/sudo, but I am at a loss (even searches came up with not much) on how to do this.

View 1 Replies View Related

Ubuntu Multimedia :: Can't Set Real-time Priority

Dec 20, 2010

Running qjackctl as root allows me to run the audio in realtime so it seems to be a permissions problem and it seems to me that lubuntu does not read the /etc/security/limits.d/audio.conf file when I boot.

View 3 Replies View Related

Networking :: How To Set Priority Of OS During Boot

Jan 19, 2010

how can i set boot priority of the os through grub on ubuntu system on my laptop.

View 1 Replies View Related

General :: Raising The Priority Of Ftp?

Jan 10, 2010

I need to ftp all of my Linux server files & folders through FTP Pro . But I can just login as /home/www user and I cannot login as super user that is suitable for my case (as I want to see all of the files) . how can I raise the priority of ftp such that FTP Pro can login to my Linux server as root user ?

View 2 Replies View Related

Red Hat :: How To Change Os Booting Priority

Mar 27, 2011

I have installed Windows XP ,then Redhat but now when i am opening my system it automatically takes redhat . I want to change the priority to Windows XP . I want when I swich on the system it should open Windows Xp .. Is it possible to change this priority now .or I have to agin install redhat and change priority then during installation.

View 4 Replies View Related

Ubuntu Installation :: Can't Install Even When Boot Priority Is Changed?

Feb 26, 2010

So I'm brand new to lunix os. I wanted to install xubuntu on a old sony viao laptop so I downloaded the live cd and tried to boot from it. I have changed the boot priority and I can here the cd drive spinning but nothing happens. Also I tried the second option on the installer (install it inside of windows) but I got an error saying I don't have permission.I've also gotten an error saying it cant find the disk but the disk shows up and I can open up/start installation. And I am the admin on the computer. Heres some computers specsWindows xp service pack 31gb of ramIntel Pentium processor 2.4ghz

View 8 Replies View Related

Ubuntu :: Boot Priority Change With Every Restart After Shutdown

Mar 4, 2010

Whenever I start my PC, the information of 'First Boot device' in BIOS changes from hard disk to CD-Rom. It happens with new start, I mean, if I restart my computer after resetting First boot device to hard disk, then priority does not change. Just as I switch on computer, a black screen appears with the message:
CMOS - checksum error - defaults loaded
press F1 to continue, DEL to enter setup

Recently it used to happen, that PC was not reading my hard disk containing GRUB. I have 2 hard disks. I switched the power cables of two hard disks. After that, both hard disks were shown by BIOS but the above mentioned error started appearing. Also grub takes too much time to load. It takes almost 20 seconds. Earlier I was using 'Puppy Linux'. In that, Grub was loading in fraction of second.

View 6 Replies View Related

OpenSUSE :: Which Priority To Set To Get Automatic Updates

Apr 27, 2010

I am running on 11.2 and i have added some repositories, like Packman, KDE 4.4 Factory, KDE 4.4 Community.I would like to have this packages automatically updated which seems not to happen. If I look into software management every now and then, I always have to "switch system packages" to get the updates via the the updated applet.So I was wondering, if it could be due to a wrong priority for those repositories? Is a high or a low priority the point where the applet is looking from which repo to update? If not, what is this priority used for?

View 4 Replies View Related

General :: Why Priority Values Of Process Different

Oct 7, 2010

# ps
22355 pts/3 00:00:00 bash
# ps -l 22355
0 S 519 22355 22354 0 75 0 - 1338 wait4 pts/3 0:00 -bash
# ps -o pid,priority,command 22355
22355 15 -bash

Why are the priority values of the process different? What is the difference? Is the value 15 the "nice" priority? Then, what is the value 75? Please, explain the difference of each result.

View 4 Replies View Related

Networking :: ICMP Got Lower Priority?

Mar 16, 2010

I run a linux box as a gateway behind a satellite modem. The internet link over the satellite modem is only 1mbit so the usage often reaches 100% when someone is downloading/uploading something. I am seeing my ping return time jump from 700ms to 6000ms if someone tries to upload a file (by sending a attachment in a email etc). The satellite operator is saying this is normal, but I have my doubts.

Has ICMP got a lower priority? Should I really be seeing this behaviour? I understand that if it was a TCP packet then it would just be queued until the previous acknowledgement has been received. And if it was a UDP packet then it would have been dropped, but how does ICMP deal with these situations during heavy traffic?

View 2 Replies View Related

General :: View The Priority Of The Process?

Jun 18, 2010

How to view the priority (-20 to 19) of the process in fedora/redhat.

View 10 Replies View Related

Software :: Yum Group Install Priority ?

Oct 25, 2010

I have few rpm's (proprietary) , I need to give yum group install <group name> and it has to install in a defined order rather going about the rpm's and their dependencies, for example,

Say below is my group install configuration,

For example . what do I require if I wish to have webalizer installed first --> tux second -->> httpd next , customizing group install -package install order like setting customizing the priority,

Is this something that can be achieved by editing/adding in comps.xml or is it something thats set in rpm's when they are build

View 1 Replies View Related

Programming :: Changing Priority Using Nice()

Oct 11, 2010

I am trying to change the priority of child using nice() but still it runs first.

#include <stdio.h>
int pid,i,retnice ;


View 2 Replies View Related

General :: Ubuntu - Change Swap Disk Priority Permanently?

Aug 8, 2010

I'm using two swap disks. Changing the order they are in in /etc/fstab and using "pri" in fstab doesn't have any effect. This is what it looks like /etc/fstab

#swap on other disk
UUID=90a1550c-84d6-4bde-8bc1-7c15292980f1 none swap sw,pri=-1 0 0
#swap on same disk
UUID=13b70e65-f1c3-4728-920f-9e92467d1df0 none swap sw,pri=-2 0 0


Its opposite of what it is in fstab, and changes to fstab have no effect.

View 1 Replies View Related

Ubuntu :: Configure Syslogd To Send Priority And Facility Information?

Feb 18, 2010

i want to use an ubuntu server (2.6.31-17-generic #54-Ubuntu SMP) as the central syslog server but the syslog messages does not show the priority and facility information in ubuntu. priority and facility are shown in aix by default and i have many aix servers can be used as the central syslog server, but i prefer using ubuntu if it can provide me these details.

View 3 Replies View Related

Ubuntu Networking :: Why Is Wireless Taking Priority From The Wired Connection

Apr 19, 2010

Why is wireless taking priority from the wired connection? I should not have to disable wireless just to have the wired connection connect.

View 1 Replies View Related

OpenSUSE Install :: Repository Priority - No Version Is Specified

Apr 18, 2011

If there are e.g. multiple repositories with the same prio, which contain different versions of an RPM. What happens if an install is made and a particular package has a dependency, where no version is specified? Would all repositories of the same pri be searched and the newest RPM version be installed. OR Would simply once the RPM is found in one of those pri's simply be taken and no further searching made. So summarized when all repositories are the same priority, is the first found RPM taken or the RPM with the latest version?

View 9 Replies View Related

Debian :: Give Priority To Local Repository?

Apr 7, 2011

Sometimes I have the same version of sofware in my local repository and the remote repos, of course I want to install the soft from the local,

View 1 Replies View Related

Server :: Read Write Priority Samba Nfs

Sep 10, 2009

I have an HP GL380 with an MSA20 connected for storage space, we use it as an nas unit. The system is SLES 10. We use both NFS and SMB for file sharing, no special users and so. We are 8-10 users of the machine. We store both large and small files such at thumbnails and disk images.

Now, my problem. I�d like to give more priority for reading files on the server, so a user can look at pictures without problem, and if another user is writing an image file of an disk (10-1000 GB) this writing process should get less priority. The most important is always reading files, to get the job done.

View 1 Replies View Related

Server :: Swap Files Priority Values?

May 14, 2010

As mentioned in "man swapon" priority value is between 0 and 32767. BUT usually if we add swap devices without giving the priority, their priorities are set as -2, -3, -4 and so on; values which does not fall between 0 and 32767.Why is it so ? Any ideas ? However, I know we can change them through "swapon -p". But, if do not wish to do so, it uses -2, -3, -4 only. Like below,

[root@server ~]# swapon -s
Filename Type Size Used Priority


View 2 Replies View Related

Programming :: Change Priority When Creating New Thread?

Feb 21, 2010

I have created an error logger thread in my application using pthread_create(), I want this thread to have a lower priority than my application's priority so that the application would run properly. Is there an easy way to do this? I know that we can change priority for thread created with policies FIFO or RR, since I don't set the policy for my application, I don't know what to set for my thread.

View 4 Replies View Related

Programming :: Need To Find Appropriate Thread Scheduling And Priority

Sep 9, 2009

I am new to thread programming. I need to generate one thread in one process using posix thread. Which scheduling and priority do i need to use? I want to generate the thread with the lowest priority. As i know there are 3 scheduling policy available SCHED_FIFO, SCHED_RR or SCHED_OTHAR.

View 1 Replies View Related

CentOS 5 :: Compress Files / Folders With Low Priority

Oct 23, 2009

Is there is anyway, with tar, zip, gzip, or any file compression type to compress without causing high CPU. In other words, limit how hard the CPU works to compress it? Of course I understand that this would cause the compression to take longer but time isn't too big of a concern.

View 3 Replies View Related

Ubuntu Networking :: Change The Network Card Priority With Multiple Cards?

Sep 26, 2010

I've got two network card interfaces on my computer, one wireless and one wired. The wireless card is connected to the Internet and the wired is connected to the LAN. When only the wireless card is active, Internet works. As soon as i enable the second wired card, Internet stops working. And it seems like Ubuntu chooses the wired card for Internet as soon as it's enabled.

Are there any ways to solve this? So my Ubuntu box always chooses the wireless card for Internet traffic and let me use the wired device for LAN only?

View 1 Replies View Related

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