General :: Close All Background Processes In Unix?

Jan 4, 2011

I have something like:cd project && python manage.py runserver &cd utilities && ./coffee_auto_compiler.pyAnd I want both of them to close on Ctrl-C (or some other command). How can I accomplish that?EDIT:I tried using jobs -x kill and kill `jobs -p `, but it doesn't seem to kill what I need. Here is what I mean:oon 8119 0.0 0.0 7556 3008 pts/0 S 13:17 0:00 /bin/bashmoon 8120 6.8 0.4 24568 18928 pts/0 S 13:17 0:00 python manage.py runserverjobs -p give me just process 8119, but I also need to close 8120, since it's the thing that the first command opened.If it helps, the commands are actually in a Makefile, and I want it to run two daemons at the same time (and somehow close them at the same time).

View 3 Replies


ADVERTISEMENT

General :: Unix : List Children Processes For A Given Pid?

May 20, 2011

What I need is, given a process id, list all his children without any clutter (table header, other columns than the pid) What I have is :

ps h --ppid $PID Which gives me:

26277 pts/13 S+ 0:10 cmd1
26280 pts/13 S+ 0:10 cmd2

Using h allow me to hide the table header. Is there a way to tell ps to not print the pts/13 S+ 0:10 cmd part in order to get a list of children process ids separated by carriage return?

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

Ubuntu Networking :: Data Being Uploaded In Background Processes?

Oct 19, 2010

i am using ubuntu 10.4, i have attachedd my desktop screenshot , my problem is that i use no software that uses network but still OS uploads data from my pc, is it something to worry about my network security ? and is any way to check which file is using network and how much it is using. [URL]...

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

OpenSUSE :: When Using Skype E.g And Close It,it Remains Running In The Background?

Jul 27, 2010

I have two queries,when am using skype e.g and I close it,it remains running in the background however I cant maximise it again.(have to kill it and then start it again).ALT+ TAB brings the other processes but not skype.It's still running and I can see notifications.2.In firefox,when am scrolling down a page,the text gets mingled into each other,i have tried to edit options in firefox (autoscrolling and smooth scrolling) but no positive change.

View 4 Replies View Related

Ubuntu Servers :: Run High-priority Multi-threaded Processes In The Background?

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

General :: Fedora 12 Installation / Change The Installation Background Not Desktop Background?

Feb 16, 2010

I want to change installation background image in fedora 12.

How to change the installation background not desktop background.

View 2 Replies View Related

Ubuntu :: Boot Up The Machine The Cube Background Image Goes Away And The Background Colour Is Left?

Apr 15, 2011

Anyone know why each time I boot up the machine the cube background image goes away and the background colour is left. This image i am placing is in Apparency/Skydome

View 2 Replies View Related

Fedora Networking :: Can Access Unix Machine From Another Unix Machine?

Feb 23, 2009

i have been using samba to gain access into windows computer through my pc which has fedora 8 ..can i access the unix machine from another unix machine? is yes then what is the procedures ?

View 4 Replies View Related

General :: Compare 2 Files In Unix?

Aug 9, 2011

file 1 :

DB_NAME FIRST_ACTIVE_LOG DBPARTITIONNUM
-------- -------------------- --------------
BP1 279231 0
BP1 12735 1
BP1 12734 2
BP1 12735 3
BP1 12616 4

[Code]...

View 4 Replies View Related

General :: Unix - Ssh Into Machine At Home?

Apr 17, 2010

It's a dell ubuntu. But I don't know why I can't do:

myuser@192.168.0.103

which is my local-ip.

View 2 Replies View Related

General :: Where To Download Unix Command

Jun 18, 2010

I tried to run % mvdir earlier and it said command not found. I then ran a search for it and still not found.Is there a place I can download the script for the command, and is there any information I should know post-download to get it to work?

View 4 Replies View Related

General :: Unix Commands Same For Mac And Ubuntu?

Aug 21, 2010

I wonder if the unix commands (cp, mv, grep, args etc) are the same for Mac and Ubuntu. Do they have the same parameter lists and so on or do they try to stay the same but are slightly different?

View 3 Replies View Related

General :: Osx - Unix Version Underlies Mac OS, OS X 10.6?

Dec 18, 2010

What Linux or Unix version underlies Mac OS, OS X 10.6? Is there a good documentation for that version, specifically regarding security, networks and similar topics?

View 3 Replies View Related

General :: Get I/O Usage By Process In Unix?

Aug 10, 2011

Possible Duplicate:
Linux: Is there something similar to "top" for I/O?

I am trying to do some CPU intensive operation on a Linux machine and it is showing very high load.

I want to figure out if this load is due to I/O or CPU usage. How could I get the percentage of I/O usage by process?

View 3 Replies View Related

General :: Multi Boot XP With A Unix Like OS?

Jan 20, 2010

I want to code some simple personal projects on the Unix-like partition while doing everything else on my XP partition. Can someone recommend the solution that takes up the smallest footprint in size and processing power that still delivers value? I want to learn how to code in a Unix environment.

I'm trying Cygwin but my first impression is its a bit clumsy. Would a dual boot with BeOS be better? And how would I do it? EDIT: I need to be able to run both OS'es at the same time. This is very important for me. my laptop is pretty crappy and that's why I ask for something that has a low CPU/RAM footprint.

View 3 Replies View Related

General :: Mount NCR Unix Disk On Box?

Mar 27, 2010

I have an NCR UNIX hard disk I need to mount it on a Linux box The FS Type in fdisk on linux is '63' for the partition How can i mount on my linux box ? what is kernel module i needed ?

View 1 Replies View Related

General :: Difference Between System And Unix?

Dec 26, 2010

Whats the drifference between unix and linux senior?..

View 7 Replies View Related

General :: Download A Webpage Using Unix?

Aug 13, 2010

how to download a webpage using unix nd then parse throufh its content to extract particular portion (like header or title) ?

View 5 Replies View Related

General :: Effect Of Changing UID And GID In Unix?

Feb 11, 2011

I have Solaris at my workplace. Currently Esm was configured.It's listing conflicting configurations against policy standards. Few of them are like usrid's/guid's of users are below 100 so I am planning to change it above 100. For eg. I have ops id for an operations team.If I change uid and group id of this particular user/group, do I have to just find files of that particular users/groups ownership and change it accordingly.Or else something elese I have to do. Will it affect any running applications owned by user/group whose ID I am going to change. Also there are few ids owned by applications whose secondary gid is 0, how do I proceed with those, as its very risky to change in prod environment.

View 1 Replies View Related

General :: Run Windows Programs On Unix OS?

Mar 16, 2010

i am now running Slitaz 2.0 and i would like to know how to run windows applications on my system. My OS didnt come with this wine ive been hearing about so i dont know what do do.

View 7 Replies View Related

General :: List Of All UNIX Flags ?

Jun 29, 2011

I have beeen trying to find a list of all flags that can be used in UNIX and their meaning but I have had no luck.

Does anyone know if such a list exists?

If so where can I find it?

View 10 Replies View Related

General :: Setting A Variable In Unix?

May 11, 2010

Whenever i want to start tomcat server I need to go totomcatdir>inand execute startup.sh file.How would i make this happen whenever i start my machine?Also want to know How would i set the variable at startup.

View 10 Replies View Related

General :: Switch Carrier To Unix?

Feb 8, 2011

I am planning to switch my carrier to Unix, where & how do I start?

View 3 Replies View Related

General :: What DMESG Command In Unix Do

Dec 10, 2010

What exactly is the use of dmesg?

View 3 Replies View Related

General :: How To Check Memory In Unix Or Nix

Jul 20, 2011

How to check memory in unix or nix

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







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