Questions about identifying processes, about listing them, sending signals, killing them, assigning and using process priorities.

learn more… | top users | synonyms (1)

0
votes
4answers
88 views

What is a background process?

I always heard about background (but not desktop background) what is this really is? To better approach look at the answer of this link what is technical difference between daemon, service and process ...
0
votes
0answers
15 views

Exit program with all its processus

I'm using chromium browser on ubuntu OS. When I press exit button many processes still running. I hope know how can I exit this browser completely with all its processes when I press exit button. ...
1
vote
2answers
24 views

How can you get the number of the processes where program is started?

First of all I save in a file all of the working processes. ps -el > file1 My idea is to count the number of lines in file1 where vi is present. I tryied something like wc -l | grep vi file1 ...
0
votes
1answer
37 views

What process of Google Chrome to kill to close window from terminal?

Google Chrome usually has 8 to 9 processes running, even though only one window is open. Which one of these processes do I kill to safely close the Google Chrome window? Here is my ps -Af | grep ...
1
vote
2answers
36 views

Get full path of currently open files

I'm trying to code a simple application that must read all currently open files within a certain directory. More specificly, I want to get a list of files open anywhere inside my Documents folder, but ...
0
votes
1answer
22 views

How to change process priority

I want to change the priority of a process on my Ubuntu 12.04 Desktop, but I can't. I go into an app called "System Monitor", right click the process, and change the priority to "high". I then get ...
1
vote
3answers
35 views

Terminating the Terminal process for a particular outcome

for example consider the following situation:: I need to print some numbers randomly one after the other with a time interval of 5 seconds between each, and I need to terminate the terminal process ...
0
votes
0answers
9 views

Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) [duplicate]

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
0
votes
2answers
39 views

Kill a process of a user Whose username start with a particular prefix?

I want kill specified process of all users in my ubuntu whose username sytarting with 'cs' and 'ec'
3
votes
1answer
43 views

pkill not killing

I have a Script named PirateRadio.py That I am writing a script for. I need to kill and reload the script. Possibly with the same PID. I thought SIGHUP was a sure thing. when i run #pkill -1 ...
3
votes
0answers
26 views

Is it safe to remove a process folder from /var/run/?

Is it safe to remove a process folder from /var/run/ if I think it has got wrong permissions, will it be recreated by process as before? Do I lose any information by deleting /var/run/<process ...
1
vote
2answers
252 views

How o kill libreoffice from command line

I am using Ubuntu 12.04.4 LTS 64 bit My LibreOffice suite (especially Writer) used to freeze! I tried to search for the executable process at System Monitor and command line (ps) but didn't find it ...
1
vote
1answer
50 views

What should I do when I get 'There are stopped jobs' error?

I face this type of situation many times. For example, whenever I try to open some file in emacs with sudo rights using: sudo emacs tet.c & Instead of asking me for the password Ubuntu just ...
0
votes
1answer
31 views

wc prints a byte count for a nonexistent process

I came across a program called wc, which prints the number of bytes, words, and lines in files. Now my intention is to use it to determine if a process is actually running on my computer. If it is, it ...
0
votes
1answer
77 views

Question from a newbie [closed]

I installed ubuntu yesterday, so this is a very new and unique experience for me. Naturally, I want to know how does installation work here? In Windows, exe files are opened and installation boots ...
0
votes
0answers
9 views

What prevents a user process from writing at random positions in memory and damage the OS or other processes?

Why can't the following code damage memory? int x; while(1) { x = rand();//assuming that the address space has the size of an int *x = 0; } I know that each process has a virtual address ...
0
votes
0answers
16 views

Int system call and 'int' within C syntax

I'm learning about kernels and I was curious if the int system call(in our case, in Linux) has any connection with the declaration of an integer in C and C-based languages. int n; Is an integer ...
26
votes
3answers
2k views

Why do shells call fork()?

When a process is started from a shell, why does the shell fork itself before executing the process? For example, when the user inputs grep blabla foo, why can't the shell just call exec() on grep ...
1
vote
1answer
46 views

kill sleeping process in mysql?

I have a MySQL database, which is very often filling with sleep process and I have to open my workbench and then have to kill them to free connections & then it will work fine. Is there any way ...
0
votes
1answer
139 views

Running a daemon process from upstart

I'm running my application on a VPS under Ubuntu 12.04 LTS. And I have a problem with one daemon process for one of my applications. This process is called "delayed_job" (If not familiar - this is ...
1
vote
2answers
20 views

How to close all wifi password message windows at once?

I keep my computer on at night. During this time the router stops and starts multiple times. I have checked connect automatically to the connection. When I see the computer in the morning, I have the ...
1
vote
1answer
651 views

What is console-kit-daemon for?

I am running Ubuntu in console mode. Do I need console-kit-daemon to be started? What is it doing? Why is it necessary? Can I turn it off? How can I turn it off? And so on...
1
vote
1answer
36 views

Why doesn't ps -al display my java programs?

I don't understand why ps -al or sudo ps -al won't display for instance my java processes. If I do ps -al then I don't see for example my java jobs but I see them when I do the (strange and ...
3
votes
0answers
34 views

How to enable cpuset on Ubuntu 12.04?

I have set up CPU sets with cset in Ubuntu 12.04, but they are not respected. Processes just use all the CPU they can, no matter what set they are assigned to. It seems that cpuset is not enabled. ...
1
vote
0answers
22 views

Can I set Process Scheduling of Ubuntu 12.04 LTS to SJF?

I need to change the process scheduling of Ubuntu to SJF as a part of my research project. Can I do it through C/C++ code? Please give me the code for that if it is possible.
0
votes
1answer
126 views

How to start / stop a process using a .sh file?

I think my confluence page died and the process stopped working. I want to restart it, how to do that using these files: start-conlfuence.sh stop-confluence.sh Google hasn't helped so far, and I ...
0
votes
1answer
68 views

Take Control of Process via SSH

I've started a process via SSH that it seems will take 2-3 days. I've not started this via tmux, so if my connection dies, my task will need to start over. Is there anyway I can login to another SSH ...
0
votes
1answer
31 views

ubuntu 12.04.3 lts process checking

How would i get the process id of a java process or know if the screen for the process of a minecraft server is on? just needing to get some help with this
0
votes
0answers
43 views

Option for GREP only non-default processes and services?

is there any option for grep only non default processes and services? I know how show all of this and export to file, but manual reading and deleting line by line is not ideal. :-) Thanks for your ...
9
votes
1answer
164 views

How to identify the process locking a file?

I want to know the exact process that is using the lock file. I don't want to fix it, but just to know what is my system doing. How can I find out? For example, this message: E: Could not get lock ...
7
votes
3answers
733 views

How set command in background,close terminal and get it back to fg?

I'm trying to find out how to run a command in the background and then bring it to the foreground later. I'm fed up of tutorials and answers where people state that it's simple, just append & to ...
0
votes
1answer
101 views

Java Process Stops Suddenly

This is something I couldn't find a solution at all and quite weird. I have Java process that is started by Openbox. This has been working for about an year and now after some unspecified time Java ...
0
votes
0answers
55 views

Display PID(Process id) on application title bar

I am using eclipse IDE for application development. Some times this IDE will not respond and I need to kill this by opening gnome-system-monitor and pressing End process button. I know that we can ...
0
votes
0answers
54 views

High(er) idle cpu temps compared to Windows

My CPU seems to be getting a lot hotter under Ubuntu compared to Windows. I am not basing this on actual temperature readings, but simply on the fan that's kicking in, which it doesn't do under ...
0
votes
2answers
75 views

How can ending process introduce security risk?

I get this message when ending tasks in System Monitor: I understand ending processes will remove data in memory and break its current session, but how can ending a process create a security risk?? ...
1
vote
4answers
216 views

How to kill the process using the name of the program instead of PID?

I started my Python program in the background using nohup as mentioned below - nohup zook.py & Now I am trying to kill this process so I did the ps command as mentioned below ...
1
vote
2answers
766 views

How to run the Python program in the background in Ubuntu machine? [duplicate]

I am running my Python program from my ubuntu machine as follows - root@dbx1145:/home/david/zookteck# python test.py But if I close my ubuntu machine, then my whole program will get stopped.. Is ...
1
vote
1answer
93 views

Can I connect to running autostart python script?

I am running Lubuntu 13.10 an have a python script that is run on boot through ~/.config/lxsession/Lubuntu/autostart. The script startes a web application and outputs various information to terminal ...
0
votes
0answers
10 views

What is kworker and why is it using almost 100% of the first cou core? [duplicate]

I know this question is asked several times, but I don't find a solution (if there is any) I have a samsung series 7 CHRONOS laptop. CPU - Intel® Core™ i7-3635QM CPU @ 2.40GHz × 8 I'm on Ubuntu ...
-1
votes
2answers
121 views

Show current running process with other name

If I did top or htop then it will display current running process. I want to display the process names by with some other names and not with original name. For example even Firefox running I want ...
1
vote
1answer
58 views

How would I make this bash script that displays certain system processes related features?

Basically I need to make a bash script that acts as a handy tool for diagnosing performance issues. The script needs to first determine each unique process owner on the system, and then for each user ...
0
votes
0answers
12 views

Process Scheduling with USB

In linux kernel development how to come to know which processes use the usb and which one do not?Any help would be appreciated
2
votes
0answers
231 views

Stopping e-calendar-factory and e-addressbook-factory

How can I prevent e-calendar-factory and e-addressbook-factory from ever starting? If I manually kill the processes they just start up again? Between the two they are spamming google with 100 ...
1
vote
1answer
398 views

ubuntu server participating in ddos attacks

We have an ubuntu-11.04 server running postfix which seems to be participating in an attack on other computers. The following processes were observed on the server: www-data 6465 28192 0 08:52 ? ...
0
votes
3answers
61 views

How do I kill a process without knowing its process ID?

If I close a process gameconqueror is attached to, before closing gameconqueror, the application (gameconqueror) continues to run, spamming "Failed to attach to process: No such process." Or similar ...
1
vote
3answers
31 views

How do I know where (from which directory) the process is commanded?

I am running a simulation that is commanded to begin at some directory, but don't remember from which directory I commanded the simulation. I'm using python for running the simulation, so ps aux | ...
0
votes
1answer
109 views

fapws3 server restart gives warning and service is unavailable

I run a fapws3 server for my django project on a virtual develoment server and all worked fine. After a standard settings changing of a template directory my server wouldn't start again. Instead a ...
0
votes
0answers
31 views

Is there a way of sandboxing applications so when they fail they don't crash Ubuntu entirely? [duplicate]

Sometimes I'm running CPU-intensive commands in Terminal (for example, reading/writing large amounts of data to disk) and they immediately slow down the entire Unity GUI. Is there any way of ...
2
votes
1answer
323 views

Upstart kills all process started by script

So I use Upstart [myscript] to start a script [A], which starts another script [B], which in turn starts some other scripts [GROUP C]. When I run stop [myscript], I encounter the unusual behavior ...
0
votes
1answer
80 views

How to stop/kill “usr/share/python usr/share/apport/apport”

I have this process "usr/share/python usr/share/apport/apport" I cannot kill it by PID as the PID is changing to fast as the process keep restarting.