Software :: Which Value Is For Highest Priority For Real-time Processes
Dec 18, 2009
I want to set my program with highest priority for real-time processes. I understand the priority for real-time processes ranges from 1-99, but I get completely confused after reading Understanding the Linux Kernel and the manual of sched_get_priority_max(): which value has higher priority? either 1 or 99. Understanding the Linux Kernel says 1 has highest priority but sched_get_priority_max() returns 99 for SCHED_FIFO and SCHED_RR policy.
View 3 Replies
ADVERTISEMENT
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
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
May 4, 2010
YaST2 -> Package -> All Packages -> Update if Newer Available that YaST would install the most current in the highest priority repository. Given the example data below, I thought package A, version 01, which is currently installed from repository abc, would be updated to version 02 from repository xyz.
How do you get YaST to update packages from the highest priority repository?
Code:
Sample Data:
Repository: xyz package A Ver:02 priority:50
Repository: abc package A installed Ver:01 priority:99
View 9 Replies
View Related
Mar 23, 2010
what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.
View 1 Replies
View Related
Apr 7, 2011
Using Ubuntu server 10.04.2 64-bit all up to date.
I am running multi-threaded processes. These use OpenMP in my own code and the multi-threaded ACML maths library. When run in the foreground, everything is fine i.e. if I have set
export OMP_NUM_THREADS=8
then when I start all 8 cores are in use and things whizz along. However, when running overnight and logged out using e.g. 'at now + 1 minute' then the command, I am only getting about 130% CPU and it slows down accordingly. I have tried renice'ing and calling from within a bash script in case sh is doing something odd but nothing seems to solve it. I am sure that in the recent past this wasn't the case.
The libraries being used are shared versions in case that might have any bearing.
View 1 Replies
View Related
Aug 4, 2009
I am hosting two Virtual Servers both running Centos 5.3 on a host machine also running the same OS. The VM software in use is Xen, as supplied with the OS.The host machine's time and date is fine, however both Virtual Servers are running ahead of real time consitantly.Running /etc/init.d/ntpd restart will resolve the issue however one of these is running MailScanner and when the time suddenly goes backwards, sometimes by as much as an hour, it stops working properly.
View 1 Replies
View Related
Jan 28, 2010
I used the following command to get the unix time of root user creation:
Code:
awk -F":" '$1 == "root" {print $3}' /etc/shadow
How can i convert this into the date/time of creation?
I am writing a shell script, which determines the OS installation date among other stuff, and i am assuming the root user's account creation date should be a pretty accurate pointer. Are there reasons why i should not be assuming so?I would be open to other suggestion for getting this date/time, but it would nevertheless be interesting to convert the unix time to "real" time without doing complex manual(or otherwise) computation..
View 4 Replies
View Related
Jan 14, 2011
i am using putty to connect to the linux server and i am using nano as my text editor to write a bash script.
this is my script:
echo "Please enter your Username"
read userName
userName= grep $USER /etc/passwd | cut -d: -f5
echo "Welcome " $userName | cat >> output.txt
the problem i have is that when i enter my username, the output (my real name) does not display in the output.txt. instead it displays in putty. so when i run my script in putty it shows the message to enter username and after i enter my username my real name appears below it. i want it to show in the output.txt
View 1 Replies
View Related
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
Sep 9, 2010
if I want to use an rt kernel in ubuntu studio, how do i use the kernel? say for instance, Ubuntu studio is installed with generic kernel.then i download the rt kernel.
View 3 Replies
View Related
Oct 12, 2010
I'm new in UBUNTU and would like to get a real-time antivirus.Maybe it's not necessary, but I still want it (I've got an iMAC and have installed an antivirus... ) So, please... which antivirus is good and in real-time (I mean that, if I try to open an infected file or go to a bad website, it stops it). Is KLAMav good and in Real time?
View 9 Replies
View Related
Dec 29, 2010
Just installed a real time kernel on my new computer so I can record music. My problem is that I have no GUI. I noted that I would not when fglrx drivers could not be installed/applied to the new kernel when installing it.
View 7 Replies
View Related
Feb 24, 2010
I created filesystem XFS on partition hda8 with subvolume real-time on partition hda5: Code: mkfs.xfs -r rtdev=/dev/hda5 /dev/hda8 and i mounted it: Code: mount -t xfs -o rtdev=/dev/hda5 /dev/hda8 /xfs But I don't know how can I use this partition hda5 with subvolume real-time. I don't know how to create directories, copy files to it and another. Thanks for all answers!
EDIT:in manual it is writen: The realtime section is used to store the data of realtime files.These files had an attribute bit set through xfsctl(3) after file creation, before any data was written to the file.
View 2 Replies
View Related
Jan 17, 2011
I have to write one Shell script where i have to find one word in current generated log.Log name has specific format like 'NAME_DDMMYY_HHMMSS'.log.Each time i have to go and check the word in newly generated log.How can i pass the newly generated log name in my Script?
View 2 Replies
View Related
Feb 1, 2010
I am currently using curlftps to mount a directory on a ftp server locally as /backup , I then use rsync to do an incremental backup to this directory every night and a full backup at the weekend.A requirement has arose for a similar set up but one that syncs in real time, so if a user puts a file in a directory it immediately copies that file to my ftp server, in this case it immediately copies it to /backup
View 4 Replies
View Related
Mar 20, 2009
I want to start real time programming for linux(RTOS) so where I can get the basic of programming.I want to do it in C language..
View 2 Replies
View Related
Sep 11, 2009
I seed a suggesting related asychron io. I'm write a program which use completion ports, but wandor how avoiding loops like for(; below...i.e I want parse proto with count in first and then computing some quantity of pieces. how that make with aio?
Code:
View 6 Replies
View Related
Jul 6, 2010
I have a linux router box with ubuntu which routes internet for several people. There is no extra traffic shaping, so everybody can get the whole bandwidth when its free. What I would like to have is a real time traffic counter per ip, just like a program called "iptraf" but on a per-ip basis. Iptraf can only count on a per-connection basis and thus cannot display a bandwidth that a certain ip has taken (because a single ip can start several onnections). So a console program with text interface like iptraf would be perfect - does anybody know about such a program? After some googling I came to the conclusion that such a program does not exist (which must be wrong - i think that per-ip real time traffic flow information is the first thing every router owner would like to know).
View 2 Replies
View Related
Feb 7, 2010
Is there any web-tool that provides real time squid users utilization and websites access.
View 2 Replies
View Related
Jan 3, 2011
I have a log file that I would like to examine during some changes under process that writes to this log.
Is there some way to open this file and read in real time changes written to it ?
View 5 Replies
View Related
Jul 5, 2010
First off i know that suse linux cant be infected by window based viruses and that as a whole reactive based technology such as anti virus wont be that effective as it is always dependent on the virus spreading first-but is there a way to have a real time antivirus scanner under linux? It would be nice to know if i file i opened had a nasty virus in it like the way it does in windows. I first came to think of this since the new opera browser has built in protection from avg. Ive tried opera but still prefer firefox with all the addons like noscript and adblockplus etc.
View 3 Replies
View Related
Jan 20, 2010
I was wondering if there's a way for me to get real-time kernel support on regular Ubuntu 9.10 through some sort of update. I know Ubuntu Studio has a real-time kernel, but I'd prefer not to use it. I'm a fan of the original Ubuntu.
View 1 Replies
View Related
Sep 17, 2010
why Linux doesn't have real-time voice changers? Or why the Windows version don't even works with wine?
View 8 Replies
View Related
Sep 25, 2010
I have the latest release of Lucid Lynx installed. I want to try out audio recording on Linux so I want to know if it's possible to use a real time kernel with Lucid. So I installed the 2.6.31 real time kernel. It shows up in GRUB, but when I boot it gives me the message:
mounting none on /dev failed No such device
It then takes me to the login screen, and once I enter my password it just takes me back to the login.
View 1 Replies
View Related
Jul 24, 2011
I am looking for web base real time iftop like tool for linux.I mean it shows current active connection on a NIC of any Client that connected to it .I do not want offline data I want realtime data for current connections on web.
View 2 Replies
View Related
May 27, 2010
I know this command exists I just can't seem to find it. I want to see the last few lines of a file as more are added in real time. Can someone point me in the right direction?
View 2 Replies
View Related
Aug 2, 2010
I was wondering if there is a command to show a real-time creation of files. I basically executed a command that will created thousands of files and takes a long time. I want to check if it is still creating additional files or if ti got frozen.
View 3 Replies
View Related
Feb 18, 2011
kernel 2.6.21.5, Slackware 12.0 How can I obtain real time information about disk activity (processes transfering data to/from the hard disk)?
View 3 Replies
View Related
Jul 15, 2010
I have a few servers that are exposed to the internet. When someone tried to brute force hack in to the ssh, ossec adds their IP to the hosts.deny. Then the hacker (read: script kiddie) moves to the next IP up the line and hits my next server, etc, etc.
I end up getting 20 emails for all the servers that they hit.
My question, is there anyway to sync the hosts.deny file across multiple servers so that if they are locked out of one, they are locked out of all?
View 3 Replies
View Related