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

learn more… | top users | synonyms (1)

0
votes
1answer
29 views

How to make one process to zombie

The question is the title, With one example please show how to make one of the process zombie between all process ?
0
votes
1answer
29 views

My IDE keeps crashing instantly: How do I diagnose?

I am using Aptana, Java-based IDE. Starting today, it is crashing suddenly every few minutes. This may have to do with the fact that I recently upgraded to Xubuntu 14.04. There is no error message. ...
0
votes
1answer
23 views

The kernel use which scheduling algorithm?

I know there are a lot of scheduling algorithm for processor. like FCFS ( first come first served ) Or SJF (short job first) and so on. How to know the kernel using which algorithm ?
9
votes
4answers
437 views

Find children of the process

is there any way to know, who are children of the specific process ? for example those children which their parent ID is foo ?
0
votes
1answer
14 views

Can Magic SysRq be used to switch workstations or kill specific processes?

My PC, running Ubuntu from a live CD, is frozen. I think it's because I have too many Firefox tabs open, which is overloading my memory. Is there anyway to use Magic SysRq to only kill Firefox? Or to ...
0
votes
1answer
34 views

How to find and star/stop or hide/display indicators?

I am using Ubutnu 14.04 (LTS) and have following indicators: Now from above indicators (like: Bluetooth, Classic-Menu, Indicator-synapse, Network, Laungage, Message, Sound , datetime or calendar and ...
0
votes
2answers
79 views

Getting List of Running processes and applications

How can I see which application and what processes are running recently after the login using terminal command.
0
votes
1answer
15 views

How to take/release control of output?

I have two parallel processes running shell script, each will print to stdout from time to time using echo. But sometimes the output may mixed up. Is there a way to take exclusive use of stdout, then ...
1
vote
1answer
91 views

Problem with ap-hotspot

This is the message displayed in my terminal screen when I typed sudo ap-hotspot start Another process is already running Which process is running and how do I stop it?
0
votes
2answers
46 views

System processes

How can I see the system processes (only) running on my computer?I have tried ps,ps -e etc but always I get the user process + system processes.(I have kept firefox open,I am also getting it.Though ...
2
votes
1answer
55 views

Is there any reason to use 'kill' instead of 'killall'/'pkill'?

Starting my adventure with Linux a couple of years back, most tutorials and older, more experienced colleagues suggested using the command 'kill', sort of like a replacement for the Process Manager ...
0
votes
0answers
10 views

Accessing a process after closing the consol

Basically I am using Ubuntu to run a minecraft server via a VPS and I’m using putty to control it. once I have started my server and everything is running, I’m in control of the server console, just ...
27
votes
5answers
2k views

Access to the terminal while you are on Vim

Is there a way to access the terminal while using Vim? I do not like to open another terminal or save and exit the current terminal.
1
vote
2answers
37 views

CGroups memory subsystem

I want to know if I can set dynamic limits to the memory subsystem in a cgroup. Currently I have the OOM disabled and a dummy process to test the control group, when the limit in memory is reached, ...
1
vote
0answers
22 views

Java process stays open

I like playing Minecraft but after I close Minecraft, the java process stays on and I need to go into the system monitor to kill it or else there will be a lot of java processes on slowing down my ...
1
vote
2answers
40 views

Daemonize process with autostart

I have simple script written in Ruby. I'd like to run as a background task (daemon process or service). What is more want to have control over it so that I can start and stop it. It will be perfect ...
0
votes
1answer
26 views

migrate live process from one machine to the other

I am going to work on a project in which one live process should migrate from one Ubuntu machine to the other machine( in a homogeneous environment ) so what are all the things I should know before ...
2
votes
3answers
34 views

Resuming a vim session I have accidentally Disconnected from

I came across an unusual problem today, I was using vim, had created a new alias in bash, and wanted to try it out. so I ctrl-z, exec bash (I do this because I don't like nesting it with bash. and my ...
0
votes
1answer
26 views

How to list out all the user created daemon processes

Is there any command which list out all the Daemon processes created by users to perform some tasks. I have created various daemon processes and I want to kill it manually by checking its pid how can ...
0
votes
1answer
40 views

How do I properly restart Chrome?

I've been doing some WebGL development, and of course crashing Chrome occasionally along the way. When this happens, WebGL in Chrome won't work until I restart my PC, which makes me think that even ...
1
vote
4answers
96 views

Which is the shortest way to list a running process?

I often need to check if a process is running, so I use one of these: ps aux | grep myprocess ps -Fe | grep myprocess top pgrep myprocess (only shows the PID) pkill myprocess (if I want to kill it) ...
3
votes
0answers
40 views

Suspicious processes starting with “[?/-]” with after upgrading to trusty

I have just upgraded to Trusty (this may not be relevant). I fired up top, and noticed a heap of processes running as root that I had not noticed before. For example: 234 root 39 19 0 ...
0
votes
1answer
44 views

Why applications do not always run in foreground when started from terminal?

If I start an application from terminal normally it runs in the foreground. So it is possible to suspend the application (with Ctrl+Z), look to the jobs and put it back to foreground again with fg ...
0
votes
0answers
16 views

kernel event listener

I wonder if there is something similar to an event listener in UNIX that a program can subscribes Specifically I want to know: Start and end times of a user session Start and end of the applications ...
2
votes
1answer
44 views

how to know the use of my applications?

I want to know how long my programs have been used. For example if I use my web browser i want to know the start and the close time to obtain a total of use time. Basicly I want to know when an ...
0
votes
1answer
16 views

Catching runaway processes

Occassionally, I run a command that hogs RAM and brings my system to a grind. Even pressing Ctrl-C takes 20 minutes to register, because the system is busy swapping to disk. What solutions are ...
7
votes
4answers
621 views

How to check the process is already running or not

I want to check the particular process in already running or not. I refereed this Q&A. But I didn't get any specific solution. Following is the example that I tried: I have created abc.sh file ...
0
votes
1answer
31 views

Permanently end processes

The point is that i installed xubuntu and at one point i get on the screen one light bulb increasing and decreasing the light on the display (laptop) so i found in task manager that it is this ...
1
vote
1answer
24 views

Stopped Jobs error upon logout

There are times when I attempt to logout of SSH and I get something along the lines of: There are stopped jobs Not knowing what this is, I end up force quitting putty with the exit button in the ...
3
votes
1answer
69 views

What is the “Browser” process?

What is the Browser process? Is the process safe or malicious? Thanks for help, Top results:
3
votes
3answers
259 views

Killing several processes

I have one command (/usr/lib/R/exec/R pathtoDifferentFiles) being executed with many different arguments (file names). Looking at htop, I see at least 30 processes created, I want to kill all of ...
1
vote
0answers
33 views

How can I limit the bandwidth usage of the Copy process? [duplicate]

I am running Copy and it is uploading like crazy. Our ISP is crappy, so whenever copy is uploading, I have to STOP the process and then CONT it using KDE's System Monitor to prevent it from hogging ...
1
vote
2answers
367 views

How to get a list of running programs in Lubuntu 14.04

Just like in Windows where you can see and maybe "kill" one of the running programs. How to get such a list ?
1
vote
1answer
116 views

Know programs in cache

I have this situation with RAM and SWAP at the moment: $ free -h total used free shared buffers cached Mem: 7,7G 7,5G 159M 100M ...
0
votes
1answer
34 views

Is there any way to give a tag or nickname to a process so it can be killed invoking kill <tag>?

I have one Ubuntu 12.04 vps and I use git to upload code for a web server, when I push by git to vps I have to login via ssh to vps and look for the process by: ps -A | grep node I kill it once I ...
3
votes
1answer
63 views

Do something if a program is running

Is there something you can type into terminal so that it will run a command if a certain program is running? For example, if <Libre office is running> then sudo pkill <Libre ofice>. ...
2
votes
3answers
435 views

Cannot Delete User

I am trying to uninstall logstash, but sudo apt-get remove logstash fails because the user is being used by a process. If I try to manually delete the logstash user, I cannot because even when I kill ...
1
vote
0answers
33 views

I want to use fstate to measure context switch activity, but tracer 'sched_switch' is missing from my list of fstate tracers. Can I fix that somehow?

# uname -a Linux utah 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux # cat /sys/kernel/debug/tracing/available_tracers blk function_graph mmiotrace ...
0
votes
0answers
31 views

directory locked

I have been trying to install virtualbox using this command: sudo apt-get install virtualbox.qt But I am getting this error: E: Unable to lock directory /var/cache/apt/archives/ I have been ...
2
votes
4answers
148 views

What is a background process?

I have always heard about background (but not desktop background) processes. But I do not understand what they really are. As an example, please look at the answer of this link what is technical ...
2
votes
1answer
44 views

Exit program with all its processes

I'm using chromium browser on Ubuntu OS. When I press the exit button many processes appear still running. Does anyone know how I can stop this browser completely with all its processes when I press ...
1
vote
2answers
34 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
231 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
69 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
35 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
45 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
15 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
68 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
280 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
1answer
35 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 ...