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

learn more… | top users | synonyms (1)

0
votes
0answers
6 views

what is status “ fsnotify_mark_destroy ” in wait channel?

Recently Iam seeing lot of "fsnotify_mark_destroy" as the wchan state for process .May I know more details on this status
-2
votes
0answers
29 views

what is aptd, apt, apt-get and what are 2758,2936 and 3673 as shown below [on hold]

2758 ? 00:00:05 aptd 2936 ? 00:00:00 apt 3673 ? 00:00:00 apt-get This is what is being shown when i type ps -e | grep -e apt -e adept | grep -v grep I am very new to ...
1
vote
2answers
62 views

How to change niceness of process by name

Java process is killing my computer (Intel i3, 8GB RAM). It takes over whole CPU and system starts to hang. I was trying to change niceness of java processes but i have to control it for all time and ...
0
votes
1answer
13 views

Not able to see the GRUB after updating with rerular updates…in14.04 [duplicate]

After updating with regular updates of packages of 14.04 .. my system started to boot directly to windows .... how i would be able to get it back
0
votes
1answer
22 views

Duplicate processes on my computer [closed]

I'm on Ubuntu 14.10 but with XFCE. I've been keeping the libs of my version up to date. I just fired htop today to have a look at what's running and I noticed I have many instances of duplicate ...
1
vote
3answers
70 views

Bash: What to do when control-c won't kill a process, is there a better solution to the on/off button?

The full title of this question is: Bash: What to do when control-c won't kill a process, due to the fact that the bash script contains a loop which calls another process: Is there a better solution ...
2
votes
1answer
51 views

How to stop automatic freshclam execution

I have the latest version of freshclam and clamav installed, and in the past (when I had Ubuntu 14.10) it has only run freshclam automatically a few times a day, but has not been running all the time. ...
22
votes
3answers
3k views

Why can terminal uninstall itself?

How does apt-get remove xterm go through? And after it's been uninstalled, xterm doesn't close and continues to function normally. Is the xterm process cached in RAM whilst it is running?
2
votes
2answers
22 views

How do I list all processes owned by my user?

List all process names for my user. I could do it with ps aux | grep username But the output would be like: maythux 18343 0.0 0.1 1070868 34504 ? Sl Jun03 0:07 empathy maythux ...
3
votes
1answer
48 views

How to start multi-threading multiple processes with one command

I often multi-thread processes from Terminal by running something like: sudo etherape & But I have noticed that I am unable to start multi-threading two processes at the same time by doing ...
0
votes
1answer
46 views

pkill command with sessionid is not killing entire process tree

I am executing the following command to stop entire process tree(i.e parent and all its child/grand-child processes) : pkill -9 -s {sessionID} To get sessionID I am using following command: ps -o ...
1
vote
1answer
23 views

Find ports locked to process running in the background

Is it possible to find the ports assigned to the process started on the background? I want to start a process and let it run in the background, like ./run.sh & and then see all the ports this ...
0
votes
1answer
30 views

How are process id PID assigned on Ubuntu?

I see the pricessid ranging from 800 to arround 6500. So what process or algorithm does Ubuntu use to assign unique pid to the process?
1
vote
1answer
30 views

Process can not get more than 30% CPU

I'm running a program that is known to be CPU time consuming, but it can not get more than 30% for me which causes issues and crashes. Does anyone have an idea on maybe some parameters limiting the ...
0
votes
0answers
35 views

Can Wine manage Linux programs? (Maximise, Minimise, Restore, End)

I am trying to make some sort of Desktop Environment using a Windows program. However, there's something I was worried about. If I were to use this as a Desktop Environment, I would need to manage all ...
0
votes
2answers
30 views

Why does ps output show a process even if it is not running?

Why does the ps shows a process even if it is not running. While Firefox is running: $ echo $(ps aux | awk '/firefox/{print $2}') 5964 6041 But when Firefox is not running, I tried to run the same ...
1
vote
1answer
23 views

Are there processes that can't be stopped?

Are there processes, once suspended (by ctrl-z), can't run correctly after resume (by fg)? What kinds are they? Are there processes that can't be suspended at all? What kinds are they? I just want ...
2
votes
4answers
472 views

How do I search for a process by name without using grep?

In order to search for a process you can use ps with grep. For example to search for firefox ps aux | grep firefox How to get the same answer without using grep?
2
votes
3answers
61 views

process control

Lets say I have a file, and the permissions of that file change.I want to log, report, and even require authentication for all changes to that file (even as root). as in, I do not want this file to ...
2
votes
0answers
47 views

Is a Beowulf cluster a solution for me?

Background I'm an undergrad working on an scientific experiment. Till now I was pilot testing our one of the program on Ubuntu 12.04 and now I need to deploy it. The PC on which I tested the program ...
0
votes
2answers
28 views

How to find disk path of a process

If a process is running how can I find its disk path using command on terminal ? In my case a process synergy is running and I want to locate it on disk ps -ef shows the path of other processes ...
0
votes
0answers
16 views

DropbBox suddenly restarted with “Killed” message

I have installed DropBox with: cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - And it normally works fine, but today when I was syncing with my online ...
2
votes
5answers
101 views

How to check which processes are still active after a user session has logged out

I am needing to do some debugging work, and as a part of that debugging work I need to know if there are any processes still running after a user session has logged out. And I need to specifically be ...
0
votes
0answers
23 views

Trying to execute a process with pkexec asynchronously and get 'Refusing to render service to dead parents'

I'm trying to execute a process as root from my application that runs with regular privileges using pkexec. When I invoke pkexec synchronously everything is fine but when I run it asynchronously with ...
1
vote
2answers
334 views

How to kill a single thread from Terminal in Ubuntu?

I'm new to Ubuntu and new here. I need to know this. How do I kill a single thread from Terminal in Ubuntu? I have mozilla opened and it has 45 threads. I want to kill one of it. I've already search ...
1
vote
0answers
78 views

Unusual behave - Virus Like

I am facing a very strange behave on my Ubuntu 14.04 LTS box. I have an IPTV system providing cable TV and Internet through a router. My Ubuntu box is connected to the router and provides file serving ...
2
votes
3answers
702 views

ps -xa | grep node to kill specific process

I am currently using the following command to get a process: ps -xa | grep node Which results in the following: 13611 ? Sl 0:03 /opt/brackets/Brackets-node /opt/brackets/node-core 20713 ...
0
votes
1answer
103 views

Is ubuntu able to kill a process because of low memory and how to know it

Everything is in the title. I'm running a play framework and a redis process on my ubuntu 2GB RAM VPS but last night the 2 processes suddenly crashed without any log (which is weird because they ...
0
votes
1answer
57 views

Why is my non-system HDD cannot spin down?

My non-system (/media) HDD unfortunatly wakes up from sleep after around 1-2 min. I tried to investigate which process could request an access to hdd while sleep with the help of thes thread: ...
1
vote
1answer
178 views

Is sudo killall -u lightdm safe?

I realized that my server has many processes runned by lightdm: Can i killall processes from lightdm? Is sudo killall -u lightdm safe?
0
votes
1answer
145 views

Ubuntu is very slow in my Laptop Asus N51VN

My laptop has a 4G ram and 500G hard with the Intel core 2 duo but Ubuntu is very very slow in my laptop I try Ubuntu studio Ubuntu 14.04 Ubuntu 14.10 Ubuntu 15.04 instead Windows operation work ...
3
votes
1answer
49 views

Process [#] terminated with status [#]

What is "process [number in parentheses] terminated with status 1"? or "with status 99"? I forget exactly where it appeared. Probably in a crash report.
2
votes
1answer
83 views

Can there be two init processes?

I am new to Operating Systems (specifically Linux) and this is my first question here I want to ask, can there be two process with CMD = init (as given by ps - e command). I had two processes on my ...
0
votes
1answer
37 views

High uptake of memory in the nano process (root)

In Ubuntu server 14.04 have a high consumption in the process called nano (root), which is consuming too much memory RAM. Why this happens? And as I controlled?, i have a server with 5 gb in ram and ...
1
vote
1answer
44 views

Switch tasks on active process to new process

What I'm going to explain is really about nginx processes, so maybe it can be done in nginx, or maybe its a Linux feature. In anyway, I hope it's possible. I have an ningx process running, that looks ...
1
vote
2answers
121 views

Wait for PID - shown in ps

I am using the command below in a script to wait for a PID and then do something when that process finishes: while ps -p [pid] > /dev/null; do sleep 1; done; [cmd] where [pid] is the PID of the ...
0
votes
1answer
82 views

Automatically restart a crashed software [duplicate]

I am using "Docky" and it is a software prone to crashes once in a while. Is there a way to keep this software always running even after a crash? I want "Docky" to restart itself if it crashes so i ...
2
votes
3answers
77 views

Can I somehow pause all processes of an user logged in in background?

I have mainly two accounts on my 14.10 laptop: Mine (admin) and my brother's (restricted). Now when my brother is logged in and runs some applications like firefox with flash player, it consumes ...
0
votes
0answers
47 views

What in install.sh in Kubuntu 14.04?

My laptop fan is sometimes loud when running Kubuntu 14.04, I guess it is because of one process taking 12-13% of CPU memory. I am new with KDE/Kubuntu. What is that? Should it be running like ...
0
votes
0answers
6 views

Screen turn off during Restore

I just reinstalled my ubuntu 12.04 and during the back-up restore my screen just turned off but my computer is still working. The hard drive's light is off. I guess its no longer in use. It's has been ...
0
votes
0answers
34 views

strange process of making a slow network

whether this process, making the connection to be slow. how to eliminate it permanently, I have used comment kill -s 9 [PID]. but reappears help me please. tks PID USER PR NI VIRT RES SHR ...
0
votes
1answer
44 views

how to list all processes as sorted names

As far as I know, ps -ewill list all processes in ubuntu. But the results are sorted based on pid. I want the results are based on sorted names. What command should I use ?
0
votes
1answer
55 views

See processes which use device

I have this (hopefully) irrational fear someone might hijack my webcam, especially since some of my colleagues started to put some tape around theirs. For some reason I am sometimes not able to ...
0
votes
0answers
142 views

“asking all remaining processes to terminate…” problem again with 14.04.1 LTS

I tried install ubuntu 14.04.1 LTS on my laptop. the installation process was a breeze. however, after rebooting at the prompt "reboot to use the system" when installation complete, it stuck at ...
0
votes
1answer
50 views

Creating a script involving the memory usage of processes

How can one create a bash script that displays the sum of memory usage for the processes which have PID<100?
0
votes
0answers
51 views

adding and deleting users problem

I have a problem with users this problem is that I can't add or delete them. When I try to add or delete them I have those logs: I searched it on the internet and I found that these problems are ...
0
votes
0answers
10 views

What is the difference between stopping, ending and killing a process? [duplicate]

As I always see the three options in system monitor, I thought I'd ask what the differences are. Even though there seems to be a clear gradation with how violent the commands are (end < stop < ...
1
vote
0answers
342 views

Process “/bin/sh -e /proc/self/fd/9” - what starts it and why?

I have a process /bin/sh -e /proc/self/fd/9 that runs on my system. sh -e /path/to/file in dash (which sh is symlinked to on my Kubuntu 14.10) just tests for existence of a file. In /proc/self/fs I ...
0
votes
0answers
184 views

Can't stop Apache

I just dump here the code: root@xxx-linux:/opt/lampp# ./lampp stopapache XAMPP: Stopping Apache...fail. apachectl returned 1. root@xxx-linux:/opt/lampp# It surely works, because it parses the ...
-1
votes
1answer
38 views

How to see why a process call failed

From python i make several subprocess.Popen calls, and some of them are failing? How do I see what's happened to them and if they're still around or if there are orphan processes lying about? ps aux ...