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

learn more… | top users | synonyms (1)

-1
votes
0answers
9 views

Process default signal handler: What is the default behavior

If a process does not handle a specific signal, what are the default reactions the process may have upon receiving that signal ?
1
vote
1answer
15 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
19 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
26 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
31 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
17 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
22 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
433 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
54 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
24 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
24 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
13 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
83 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
15 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
224 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
58 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
310 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
66 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
43 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
161 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
100 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
42 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
72 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
29 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
31 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
107 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
66 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 ...
1
vote
3answers
65 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
27 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
37 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
33 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
134 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
32 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
48 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
247 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
147 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
28 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 ...
1
vote
0answers
63 views

incron tab won't fire

I'm trying to get incrontab running, but it won't work. This is the error I get: access denied on ~/propt/apo/feeds - events will be discarded silently and this is the line in incrontab I want to ...
0
votes
1answer
46 views

program opening multiple processes

I am using Ubuntu 14.04 and am using KDE Dolphin as my file manager. It works just fine. I did however notice that it is now running in multiple processes. It is as if every time I go to a new ...
1
vote
0answers
49 views

What would cause a system freeze from navigation to /proc?

This is really driving me crazy, if I pull up nautilus and navigate to /proc, my system will completely freeze up. The only way to get out seems to be to SysReq RSEINUB, but sometimes even that ...
1
vote
1answer
440 views

Can't disable redshift

A few weeks ago I installed the redshift application using: sudo apt-get install redshift redshift-gtk I've faced a lot of bugs with it, including not being able to disable it. It finally got to ...
0
votes
0answers
49 views

How to limit CPU usage for a process BEFORE starting it?

I read a few ways to limit CPU usage for a process, but all of them work after the process has started. I am looking for a way to do it before the process starts. Any ideas? Sorry if has already been ...
0
votes
0answers
18 views

How to Terminate the Child process using ISR from parent process?

I wanted to create a C program to terminate a child process after specific time period (alarm()) using user defined ISR(Interrupt Service Routine) of parent process. How to do it?
0
votes
1answer
13 views

CPC Resources Checking

I am new to Ubuntu Linux, I want to check, how many applications are running and how many process, Executable files are running.
0
votes
1answer
139 views

java process hogs both cpu and net speed

Recently, I had noticed that my net speed had become slower. In the network statistics of System Monitor the correct speed was shown. I used tools like nethogs to investigate which process had so much ...
0
votes
1answer
16 views

PID created with system()

i'm new in ubuntu. I'm creating a programm with opens 2/4/8 new process in separate terminals. Using system(). How can i get PID of them, or change nice value, using another terminal?
2
votes
0answers
173 views

Why does f.lux uses 100% of a cpu core?

I installed f.lux on Ubuntu 14.04, The gui doesnt work properly but I am able to access settings through the xterminal. While looking in the system monitor, it can be seen that a process called ...