General :: Change Priorities Of ALL Processes?

Jan 28, 2010

I know that you can modify the nice value of a particular process as follows:renice 19 -p 4567However, now I would be interested to set the renice value of ALL active processes.I am coming from the Win world so what I tried warenice 19 -p *Of course it is not working... Anyone a quick solution how to do that in Linux?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Change The Priorities Of The Usplash Scree?

May 1, 2010

I can change the Usplash screen that Lucid uses usingsudo update-alternatives --config default.plymouthgives the following:

Selection Path Priority Status
0 /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth 150 auto mode
1 /lib/plymouth/themes/kubuntu-logo/kubuntu-logo.plymouth 150 manual mode

[code]....

View 3 Replies View Related

OpenSUSE :: Package Updates - Repository Priorities And Vendor Change

Jul 19, 2010

I read a few threads about updating packages in opensuse 11.3, and about switching to a repository, but I still don't understand a few things. On earlier versions of opensuse I was used to set the repository priorities in an order that was convenient for me, and when I did an update, the vendor changed if needed.
Now, vendor change is not allowed by default, and I don't understand the right way to handle repositories, and updates. I found out that in Software Managment there is an option to allow vendor change, but I'm not sure that's the right way.

View 9 Replies View Related

General :: Red Hat - Default Repositories - No Package Yum-priorities Available

Aug 22, 2010

Red Hat Desktop 5.5 I think I was successful in screwing up my yum configuration, I might have removed a few repo files too many. I wanted to add rpmforge to my repositories and wanted to install yum-priorities and it is telling me "No package yum-priorities available".

As I am sure it exists and my machine is not finding it it only leaves operator error/screw-up. What are the default repo files for Red Hat desktop and where can I get them?

View 2 Replies View Related

OpenSUSE :: 11.2 Repository Priorities Being Ignored?

Mar 31, 2010

I have a small question about the repository priorities in 11.2. A couple of months ago I got a new laptop but have noticed that the laptop has not been updating KDE 4.3 whenever I select "Package -> All Packages -> Update if newer version available". I do get some software updates however - it just seems that the KDE repo is being ignored by YAST.

For example, if I search for (say) kde4-greeter I can see in the versions that I have 4.3.5-02.1-x86_64 installed from openSUSE-11.2-update (priority 10).

But kde4-greeter version 4.3.5-18.5-x86_64 from Index of /repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2 (priority 1) is available. It's just not being selected automatically when I do the "Update if newer versions available".

The same thing applies to any software in the KDE repo - they're all being ignored even though that repo has a more important priority. Unless of course I've got it totally wrong and 10 is more important than 1? Dont think so though..

It's not incredibly important - everything is running very nicely here.. But I'm just wondering if I'm missing any security updates or new toys because the KDE repo is being ignored..

For info - all repos are up to date and enabled. I even removed the KDE repo and added it again with a different priority but am still experiencing the same behaviour.

View 3 Replies View Related

CentOS 5 :: Yum Priorities And Excluded Packages

Oct 21, 2009

I am trying to install the RPMForge Repository. I am following the instructions at : [URL]. After installing yum-priorities and *before* adding the RPMForge repository -
I went into /etc/yum.repos.d/CentOS-Base.repo
and added priority=1 to [extras] [updates] and [addons].

Then, when I run 'yum check-update' it says there are packages being excluded. I would have thought that before I had installed the 3rd party repo - that nothing should be excluded? Especially with everything set to the same priority. On a side note - this is a Xen VPS that we are renting... and the providors have commented out the [base] section (#[base])... I'm assuming this is is OK and is for my own protection.

View 6 Replies View Related

CentOS 5 :: Yum-priorities Package For 5.4 Does Not Exist

Oct 22, 2009

yum-priorities package for 5.3 is listed here:

[URL]

but for 5.4 it does not exist:

[URL]

Is this intended?

View 2 Replies View Related

CentOS 5 :: Install Yum-priorities Plugin On A 5.3 Box?

Nov 4, 2009

I'm trying to install yum-priorities plugin on a 5.3 box. Reading the wiki, I understand that this packages is available in the Extras repository. I have Extras enabled in my Centos-Base.repo file. Here is the relevant section:

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/

[Code]...

View 2 Replies View Related

Software :: Document Manager That Can Set Priorities (Ubuntu)?

Apr 4, 2010

Basically I'm looking for an application that can organize documents into groups and give priorities to certain documents. The reason is that I have so many documents I have to read and I just want to divide them into groups and give certain documents priorities over others so I can read them first and the rest later. For now, I'm using naming conventions such as 1_1stdoc.doc 2.2_seconddoc.pdf 2.4_thirddoc.pdf 2.45_4th.pdf 3_5th.pdf etc. Pretty sloppy isn't it? But it works. But it gets really tiring when the collection gets big... Does anyone know of an application that can do such thing?

View 1 Replies View Related

Slackware :: 64 13.0 And Realtime Kernel Works, But Cannot Set Priorities?

Jan 25, 2010

I succeeded with the 2.6.31.12-rt20 on the Slackware 64 13.0.Kernel config seems fine, i use PAM.I can launch jackd as user with the realtime flag, BUT...Using top and htop, i can see that /etc/security/limits.conf or /etc/security/limits.d/limits.conf or wherever i put this file, priorities and nice are not set.Of course i added this to this file :

@audio - rtprio 99
@audio - nice -10
@audio - memlock 500000

[code]....

View 2 Replies View Related

CentOS 5 :: Setting YUM Priorities From Command Line?

Jul 14, 2010

I'm using several 3rd party repos for Centos - RPMforge, ATrpms, EPEL, REMI. Is there some way I can set the priorities for these repos in a bash script, using a YUM command? I cannot find anything in the YUM man page, or the yum-utils package.

Smart PM has a command to set channel priorities from the command line. Wondered if I can do the same for YUM repos?

View 2 Replies View Related

OpenSUSE Install :: KR46 And Updates Repo Priorities?

Jun 20, 2011

Currently I have the latest stable KDE packages through two repositories:

Code:
KDE-KR46 | .../repositories/KDE:/Release:/46/openSUSE_11.4/
KDE-Extra-KR46 | .../repositories/KDE:/Extra/KDE_Release_46_openSUSE_11.4/
The priorities are:
KR46: 75
Extra-KR46: 85

Now the issue is about the openSUSE 11.4 Updates repo (priority 99). It shows newer packages version than the KR46 repos for some packages, therefore I'm not sure if I have to push Updates repo up in priorities or just forget its update messages an keep the KDE repos as first source.

View 2 Replies View Related

Debian :: Default Service Start / Stop Priorities?

Jun 29, 2010

Service(init.d) scripts in Redhat have default start/stop priorities commented inside, like:

Code:
...
# chkconfig: 2345 25 90
...
Second number is start priority.

But debian does not include this info. Just in case service symlinks from all runlevels are removed how do I know which priority to specify?

View 1 Replies View Related

General :: What Is The Maximum No Of Processes That Can Be Run

Jul 23, 2010

I want to know what is the maximum no of processes that can be run in Linux ,as it is a multitasking so what is the limit of this.

some one told me that 8192 but why this not 10000 or 500 why 8192.

View 8 Replies View Related

General :: Cannot Get Rid Of Xterm Processes

Jul 26, 2010

I had this error when installing and running a vncserver before, which I have now removed. However, the xterm's seem to remain in the system and are regenerating themselves. Should the pid IDs stay the same each time I run this?

Code:
[root nxserver]# pidof xterm
15034 15033 15032 15031 15030 15029 15028 15027 15026
[root nxserver]# pidof xterm
15044 15043 15042 15041 15040 15039 15038 15037 15036

[Code].....

View 10 Replies View Related

General :: How To Know What Processes Are Running

Jun 6, 2010

GNU/linux kernel 2.6, Slackware 12.0.Hi:How do I know what processes are running?

View 6 Replies View Related

General :: How To Monitor Some Processes

Apr 30, 2011

I need to create a small list of processes in a monitor.conf file. A shell script needs to check the status of these processes and restart if they are down. This shell script needs to be run every couple of minutes.

The output of the shell script needs to be recorded in a log file.

So far I have created a blank monitor.conf file. I have gotten the shell script to automatically updated every couple of minutes The Shell script also sends some default test information to the log file.

how I go about doing this part ? A shell script needs to check the status of these processes and restart if they are down.

I have put in the conf file the below commands but I am not sure if this is right.

ps ax | grep httpd
ps ax | grep apache

I also dont know if the shell script should read from the conf file or if the conf file should send information to the shell script file.

View 5 Replies View Related

General :: Show Only The Processes That Use More Than 10% Of The Cpu?

Apr 24, 2011

I am trying to show only the processes that use more than 10% of the cpu. I have managed to get it to show the processes in use using:

ps -eo pcpu,cpu,nice,state,cputime,args.

Then I am unsure how to sort this information so it only shows over 10%?

View 3 Replies View Related

General :: How To Log All Processes Launched And Arguments

Dec 16, 2010

I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?

View 3 Replies View Related

General :: Signal Communication Between The Processes?

Sep 20, 2010

I am writing a code which communicates between 2 processes created by fork() statement. Parent reads a file and write the data into a shared memory and sends a signal to the child. The child then receives a signal from the parent to start reading. After finishing the read operation the child sends a signal to the parent asking it to resume its action. Some things are going wrong in my code.

1. segmentation error in memcpy() statement.
2. terminal hangs after running the code.
3. Synchronization problem between processes..

Code: #include <stdio.h>
#include <sys/types.h>
#include <wait.h>
#include <unistd.h>

[code].....

View 4 Replies View Related

General :: Distinguish Different Processes Of The Same Program?

May 22, 2010

First I create a named pipe at /tmp/.pipe by

Code:
mkfifo /tmp/.pipe
which is then used in a shell script called A.sh like this

[code]....

View 1 Replies View Related

General :: How To Monitor CPU / RAM Usage And Top Processes

Mar 18, 2010

I have a question. I want to monitor
- CPU usage daily
- RAM usage daily
- Harddisk Space
- top processes
- hardware failure

What commands do I need to run to output the result to a log file? I know there are solutions both paid and free, but my company does not allow. they want linux built in commands or methods to do it. I do not know bash scripting. I know some commands like "df -h" to monitor harddisk space but not sure on the other stuffs.

View 9 Replies View Related

General :: Getting The Multi-processes Memory Used?

Sep 2, 2010

The following code is for monitoring the memory used by apache processes. But I got a problem that the data I got by this script is much larger than the physical memory. It was said that there are some libraries used simultaneously by many processes, so the data I got has some double counted part. Because apache has many httpd processes.

Anyone have an idea of getting the multi-processes memory used?

Code:
#!/bin/sh
#G.sh 20100813
USAGE="Usage: $0 processName"

[Code].....

View 14 Replies View Related

General :: Real Time Processes ?

Dec 7, 2009

I've got the following problem:

1. I start two bash windows

2. In one of them I start a script test1:

Code:

This script puts a natural number 5 times a second.

3. Then in the second bash window I type (as root):

Code:

The script test2 looks as follows:

Code:

While true; do
true;
done

During the following 15 seconds test2 is the process with the highest real-time priority. As far as I know the script doesn't perform any system calls so it shouldn't be suspended even for a minimal timeslice. My question is: why the process test1 manages to put a few numbers on the screen before test2 stops. I thought that test2 would exclusivly own the processor for 15 seconds.

View 8 Replies View Related

General :: Ftp Processes - How To Kill Them With A Cron

Dec 14, 2010

if i do a

ps aux | grep ftp

that would show me at least any active ftp connects started with the ftp command, right? Is there then a way to use that to somehow kill any stuck sessions that are older than an hour?

View 9 Replies View Related

General :: How To Count How Many Of Processes Are Running

Nov 3, 2010

I list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?

View 2 Replies View Related

General :: Use Semaphore To Synchronize Processes?

Jul 20, 2010

If uses SEM_UNDO flag,a ERANGE error will appear,if not,the process can't release resource.

View 1 Replies View Related

General :: Processes With Effective User Name Or ID

May 21, 2009

I am studying for the LPIC-1 exam, and reading a book that they recommend: "Introduction to Linux: A Hands-on Guide", by Machtelt Garrels. There's one question on the 4th chapter (Processes), that I found confusing: Question: Based on process entries in /proc, owned by your UID, how would you work to find out which processes these actually represent?

What does he mean? If I run the command (considering that my username is sl33p):
Code:
$ps -u sl33p
...gives me the right answer?

The ps man page says:
-u userlist
Select by effective user ID (EUID) or name.

This selects the processes whose effective user name or ID is in userlist. The effective user ID describes the user whose file access permissions are used by the process (see geteuid(2)). Identical to U and --user.

View 8 Replies View Related

General :: Sharing Resources Across Processes ?

Jul 7, 2010

How would I demonstrate that sensitive application resources are not shared across processes that are owned by different users?

View 2 Replies View Related

General :: What Is The Default Nice Value For Processes

Nov 17, 2010

What is the default nice value for processes?The setpriority() function sets the nice value of a process, all processes in a process group, or all processes for a specified user to the specified value. If the process is multi-threaded, the nice value affects all threads in the process. The default nice value is 0; lower nice values cause more favorable scheduling.

View 2 Replies View Related







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