Debian :: Running Boot Processes In Parallel?

Apr 5, 2011

Does Debian 6 "Squeeze" automatically run boot processes in parallel if not how do I

configure it to do so. Here is the quote from my /etc/init.d/rc :
# Specify method used to enable concurrent init.d scripts.
# Valid options are 'none' and 'makefile'. Obsolete options

[code]...

View 2 Replies


ADVERTISEMENT

Debian Programming :: Running Programs In Parallel In Bash

Jul 22, 2014

I am trying to replicate what is happening on this page under the tcsh shell, but using the bash shell found in Wheezy. Here is the page I am referring to:[URL] The command I am trying to replicate is on page 6 under figure 2.4. The command is "prompt> ./mem &; ./mem &".

I would like to run the same program twice, concurrently, but do not know how. Note that I am not trying to use a bash script, but rather by simply using syntax on the command line.

View 4 Replies View Related

Programming :: Perl - Multiple Child Processes In Parallel?

Sep 3, 2010

I'm looking for a way in Perl to be able to take a list of servers, ssh multiple commands to it and store the results. If I do this process serially, sometimes one server will hang the whole script and if it doesn't, it still takes hours to complete.

I'm thinking what I need to do is make a parent loop that calls out a separate process that passes the server name to the child sub process and then executes all the commands I have defined in its own process. If one server 'hangs', at least that won't stop the script from doing all the other servers in the list.

I'm guessing using the fork() command would serve me best, however, all the online descriptions I have found have been vague at best.

View 4 Replies View Related

Debian :: Dual Boot - Parallel Computing

Oct 11, 2015

I was asked to research if it is possible to install a Debian distribution of Linux to HP Z420 Workstations as second OS (dual boot) in our lab. The lab is normally used for Computer Aided Design (Windows 7). The plan is to have parallel computing possible with these workstations on Linux side.

The link for HP Z420 Specs suggests amd64 distrubition should be supported. Tell me If I'm wrong as I have always been interested in software side of things.

Looking for info regarding installation of Debian to HP Z420 workstations as well as using these computers for parallel computing with Debian.

View 2 Replies View Related

Programming :: Running Mysqldumps In Parallel?

Oct 1, 2010

I have a bash script with a line like this in it:

Code: mysqldump -uusername -ppassword --master-data=2 --single-transaction --quick --add-drop-table --add-drop-database somedatabase | gzip > ./somedatabase.sql.gz The problem is, I have about 16 databases I'm dumping like this, but it's dumping

[Code]....

So, does putting in a & after a command work in a bash script at all? The thought was, if I want to run them in parallel, should I do this?

Code: #!/bin/bash
./scripts/dumpthis &
./scripts/dumpthat &
./scripts/dumpsomemore & Where "dumpthis" is just the first snippet of code above.

View 3 Replies View Related

Programming :: Running Many Tasks In Parallel / But More Clever Than 'make -j'?

Apr 29, 2011

I have a script which basically does many tasks and most of them can run in parallel. The server it runs on has 4 cores, so I changed parts of it to a makefile, and then run them with "make -j 4" which helps a lot. But looking at "top" while it runs, I see it could be improved. Sometimes tasks wait for other servers, so a higher -j value would help. And sometimes multiple tasks are waiting on the same disk, then I think a lower -j value would be better.

The kernel is fairly good at sharing CPU time among the cores, but resources like memory and disks are not shared very well. As an experiment, I tried compiling the kernel with "make -j" with no number. It didn't go very well.

So I wondered if anybody know of a better tool for things like this. I think it should be possible to write something that could change the -j value while it runs.For example:

- Start as many tasks in the background as there are cores. When tasks finish, start another one until done.
- After a little while, check CPU and memory usage to decide if more tasks could run in parallel. Or maybe less?
- If different tasks iowait a lot, check if they wait on the same disk. If so, renice/ionice/suspend some of them. In these situations I think it's better to have them run one after another.
- Other ideas?

I thought of making a script like that, but I doubt I'm the first one with that problem. Also, there are probably lots of things I haven't thought of.

View 5 Replies View Related

Ubuntu :: Parallel Lines Shown On Screen While Running EMC2

Apr 5, 2010

I am a newbie user in Linux. I have installed a package were it has EMC2 software but when I run it shows parallel lines on the screen while running? What is the cause for it ? Should I reinstall ubuntu again? I had taken a screen shot and it will tell you what I really mean? This is the screenshot, [URL].

View 1 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 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

Ubuntu :: Ssh Banner With The Number Of Currently Running Processes?

May 18, 2010

I would like to do the following: Create a banner for any user logging in through ssh which warns him/her about the number of processors being used already by other users (or conversely the number of free processors). For example, if a user logged in he would then see a message like: Warning! 7 out of 8 processors are in use.I already figured out how to do a banner and with ps -e -o pcpu I can get all processes' %CPU usage. I think I would like to count the number of processes which have more than 90% CPU usage and output this number ("7" in the example) in the banner

View 7 Replies View Related

Ubuntu Security :: Do Not Know If There Are Scripts Running On The Processes Or Not?

May 7, 2011

To: The Cog >>>

Code:
The Cog, heres the reszults for ps -ef | grep tty:
yo mama@blah:~$ ps -ef | grep tty

[code]....

View 9 Replies View Related

Ubuntu :: Task Manager (To See Running Processes)

Feb 8, 2011

Ubuntu 10.10. I am curious if there is kind of task manager in ubuntu I can see running processes etc? Like windows task manager?

View 5 Replies View Related

Networking :: Find The PID For All Processes Running For A Particular Port?

Apr 15, 2010

How can I find the PID for all processes running for a particular port?

View 3 Replies View Related

Server :: Another Session Logged In But Running No Processes?

Jan 30, 2011

My University gives us access to a Linux server, named stud1.

Code:

me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Apparently I was logged in, and never logged out sometime:

Code:

me@stud1:~$ who
<snip>
me pts/37 Jan 30 13:27 (6.6.66.66)
<snip>
me pts/58 Dec 30 19:13

but when trying to find out why I'm still logged in, I can't find it:

Code:

me@stud1:~$ ps faux |grep me
root 30030 0.0 0.0 51128 4360 ? Ss 13:27 0:00 \_ sshd: me [priv]
me 30033 0.0 0.0 51132 2336 ? S 13:27 0:00 \_ sshd: me@pts/37

[code]....

how can I logout this unused session?

View 2 Replies View Related

Programming :: Process P4 To Terminates Processes P1, P2, P3 If They Are Running?

Aug 18, 2009

I have p1,p2,p3,p4 some processes created by me in C. p1, p2, p3 are started individually from several consoles. And I want process p4 to terminates processes p1, p2, p3 if they are running. Which is the easiest way to accomplish that? put all processes in the same process group and send from p4 a kill signal to the group. But I couldn't do that because I cannot call successfully setpgid(getpid(), 15000) from p1-p4. It's there some way to put them in the same group? the processes don't have a child-parent relationship, they are launched manually from consoles.

View 1 Replies View Related

Ubuntu :: Processes Running In Xubuntu Seem Excessive?

Mar 15, 2011

When I ps -e, I see a whole bunch of processes, many more that when I ran Slackware.Is there a list of processess I can look at to see what they are and what ones I dont need, instead of googling each one and getting some cryptic explanation?

View 2 Replies View Related

Ubuntu :: Disable Access To Running Processes For Some User

Jan 9, 2010

is there any possible way to hide currently running processes from an user? This means I do not want him to know about what programs/processes does any other user but him run. In short words if that user runs 'ps -aux' he should get only his processes.

View 3 Replies View Related

Ubuntu Servers :: Get A List Of Users Running Processes?

Feb 22, 2010

I'm looking for a command that will give me a list of users (unique, dont name my user account 60 times) that are running processes on a system.

View 5 Replies View Related

Ubuntu Servers :: When Open Top And Look At The Running Processes - -5 In The Nice And 0 With Everything Else

Apr 1, 2010

When I open top and look at the running processes, there a bunch that are -5 in the nice and 0 with everything else.

[Code]....

View 4 Replies View Related

Ubuntu :: CPU 100% Though System Monitor Shows No Processes Running?

Jul 17, 2010

Ran the most recent updates several days ago and now System Monitor show my CPU at %100 constantly although it shows no processes running.

View 9 Replies View Related

Ubuntu :: Utility To Stop Unnecessary Processes From Running?

Dec 19, 2010

First time Ubuntu user (used to be on debian earlier).

I like that everything works out of the box (had to install codecs etc, but thats standard); but I dont like that there are 260 processes running. Is there a utility to stop unnecessary processes from running in Ubuntu 10.10? I used rcconf but there did not seem to be a whole lot of startup processes that were enabled. Yet somehow I am running 260 processes now.

Even if I log into fluxbox, I get 200+ processes running.

View 9 Replies View Related

Programming :: Python: List Running Audio Processes?

Jul 19, 2010

I am trying to get a list of running processes using audio (using gstreamer), just like in gnome-volume-control, under applications, but have so far been unsuccessful in finding anything in either the gtk or gstreamer library, anyone out there who can point me in the right direction?

View 1 Replies View Related

General :: Administrator - Command Used To View Processes Running

Nov 9, 2010

The command used to view processes running on the Linux machine is?

View 8 Replies View Related

General :: Shell Script Searches Processes Running?

May 20, 2010

how to write a shell script the searches for processes running on my system. I really don't know where to start. can anyone give me a hand and explain how the script works?

View 3 Replies View Related

Security :: Prevent Normal Users See All The Processes Running On The Box?

Dec 30, 2010

I've a Linux box with few users (with shell). I would like to prevent normal users see all the processes running on the box. How can I implement this?

View 1 Replies View Related

Server :: Checking Processes Running In The Background And Showing Them?

Sep 10, 2010

While executing df command on an AIX Console, by mistake I ended the line with an ampersand:

[Code]...

View 5 Replies View Related

Ubuntu Servers :: Apache Processes Listed But Httpd Not Running?

Dec 5, 2010

I have written this script to monitor Apache2:

Code:
#!/bin/bash
#count lines that show apache2 but not the fgrep itself
let i=`ps aux | fgrep apache2 | fgrep -v grep | wc -l`
if [ "$i" -gt 0 ]
then
#log something

[Code]...

It has all been working fine until recently when Apache is becoming unresponsive. I manually ran ps to check and there were 3 processes. However when I ran apache2ctl graceful I got the message 'httpd not running, trying to start' Is there a better way to check if a daemon is up?

View 4 Replies View Related

Ubuntu Security :: Multiple Unwanted Apache2 Processes Running?

Mar 3, 2011

my computer is often very slow, to the point of stalling. I tty'd in and when I ran ps -ef I noticed about 10 /usr/sbin/apache2 -k start I dont even want 1 apache running. Any suggestions why these are running, or how to stop it? Well, I can stop it with a sudo killall, but how can I make sure it doesnt happen again?

View 5 Replies View Related

General :: List The Currently Running Processes Via Code A Shell Script?

Feb 5, 2011

how to list the currently running processes via code a shell script. FYI i now about the top method in the terminal but i need a way to have it via a shell script.

View 4 Replies View Related

General :: Print The Number Of Processes That Each User Is Currently Running In Unix?

Mar 6, 2011

I'm trying to get the end result to have the same format as this as well:

1 bin
2 daemon
67 erozner

[code]....

Where the numbers are the number of processes being run by the user (the name right next to it).if I input the command egrep myFile into the terminal, it should look for every line with the letter x in myFile, right?

View 5 Replies View Related







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