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
44 views

Ho can I make sure a program is killed when VPN is running?

There is a program that I need to not have running whenever my VPN is running. I don't want to resort to closing it manually every time, because I might forget sometime. I would like to guarantee ...
2
votes
1answer
18 views

Quickly execute commands without running out of memory [on hold]

I am writing a .Net application that runs on Mono. It executes and gets the output of several terminal commands every second or so, continuously. However, after several seconds, it will crash ...
2
votes
1answer
94 views

How can I determine if a process has a window, and subsequently show, hide or close it?

Is it possible, either through a shell script or terminal command, assuming you have the PID, determine if it has a main window (form), and then get info about it (title) and show/hide/close it?
3
votes
1answer
52 views

How to get the list of running GUI applications in the Unity Launcher?

I need a list with only those apps that are currently open/running in Dash, the ones that have that small white arrow(s) on the left side of the icon. Is there any way to get it?
1
vote
1answer
33 views

How to autostart node forever and use spawn() as sudo on Ubuntu?

My app periodically spawns a CasperJS scraper: spawn(CASPER_PATH, [SCRIPTS_PATH + fileName, '--ssl-protocol=any', '--user='+user, '--scrapeId='+scrapeId, '--pass='+pass], { ...
3
votes
1answer
21 views

System almost halted by backgrounded `yes` command

I recently ran: yes Pandas > WantBamboo & Though I didn't mean to put the & at the end... Something important then came up and I had to leave my computer for a couple of minutes, when I ...
1
vote
1answer
20 views

How do you stop a suspended job from receiving GUI interaction?

If you suspend a process from the terminal with CTRL+Z everything from that process is suspended including the UI. But if you interact with the UI while it is suspended the interactions are still ...
4
votes
3answers
189 views

How to start or kill tasks when the core temperatures goes above/below a specific value?

I would like to write a short script that gets launched manually once and then should: run a command if all temperatures are below x °C. pause the command if any temperature rises above y °C. ...
1
vote
2answers
28 views

What is /usr/lib/tracker?

I ran ps -aux and I see like 4 of these name 1696 0.0 0.3 337052 11892 tty2 SNl+ 06:46 0:00 /usr/lib/tracker name 1698 0.3 0.4 502776 19272 tty2 SNl+ 06:46 0:24 ...
2
votes
1answer
27 views

What service asks for “Authentication to change own user data”?

Related: Seemingly random “Authentication is required to change your own user data” Every now and then (only after resuming from Suspend) I get the following dialogue. The information provided is ...
0
votes
0answers
26 views

Kill process: SIGKILL does not work

There is a strange thing that never happened to me. kill -9 PID does not work. The process is still there. I tried also with htop -> F9 -> Enter but nothing. How can I resolve this problem? ...
2
votes
1answer
118 views

Better nice: how can I pause a demanding process completely if the computer is unidle?

Some background jobs on my PC do heavy processing. Running them with maximum nice level still produces slow interactivity and annoys me. Is there a better way than maximum nice? As soon as I use the ...
0
votes
1answer
12 views

Can't find the window for a process whose status is `Sl` [duplicate]

I am under Ubuntu 14.04 with Gnome Classic as desktop environment. I have a process, whose status is Sl, see below: $ ps aux | grep PDFXC t 20363 0.1 0.0 2676268 6436 pts/61 Sl 2015 ...
1
vote
2answers
38 views

How to stop Ubuntu tracking process?

As far as I know Ubuntu is using a process to track user usages and maybe personal information, some like google and other websites use cookies to provide you with "more suitable add". Can someone ...
0
votes
0answers
28 views

Ubuntu: i can't kill some processes and Apache doesn't restart

I can't restart Apache: if i try to start it, the error is this: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down ...
0
votes
0answers
78 views

Strange Unama pocess in top

I am seeing a strange process called "unama" in my top program's output, however, I cannot seem to find any reference about this process on Google and it is consuming a fair amount of resources (30% ...
3
votes
2answers
73 views

How to find out why process was killed on server

I ran a job on our server the other day that took 70% of the memory. When I logged one day later to check on it, the job had been killed (it said "killed" in the terminal). My question is, can I find ...
2
votes
3answers
235 views

How can I record a video like output of top command for set time period?

The top command outputs a kind of live view of processes and their use of resources in a system. I'd like to start a program on a server installation, which starts a variety of different processes, ...
4
votes
1answer
55 views

How to kill a process in state “T” (Terminated)

this is a very specific question, I am sorry if there is a duplicate somewhere but I haven't been able to find it here or otherwise. In a server I have a process in state T (Terminated). I know I ...
15
votes
4answers
2k views

What is the meaning of the `|` symbol in the shell?

What does the | symbol mean in sudo ps -ef | grep processname command? Also can anyone please explain this command? I have used this command only for getting the PID and killing that process, but I ...
2
votes
1answer
88 views

Kill a nonresponsive window? [duplicate]

In Gnome Classic in 14.04, I am running a program (it opens a chm file, but I forgot the name of the program and the window doesn't show the name of the porgram) in a window. It becomes non ...
0
votes
1answer
12 views

resume paused gnome-shell from virtual terminal

I tried to pause a long-running process using gnome's system monitor. Unfortunately, when I clicked the menu, the process list rearranged and I managed to pause gnome-shell itself -- resulting in my ...
0
votes
0answers
86 views

Start a background process, write to stdin and read from stdout without blocking

I have a program which reads from stdin and writes to stdout. In my example it is cat. I want to have three scripts to do something like the following: start.sh cat would create a background process ...
1
vote
3answers
36 views

Examine processes and threads of a program in the terminal

I would like to know if it is possible to view a running program entirely on terminal. What I mean is, as the program is being run with its own interface in desktop, can we also actually view all real ...
0
votes
2answers
28 views

Always Problems Killing Programs

I always have problems killing programs. It's so frustrating. Look at this example below. I simply want to kill the nano process, on id 29409. Why, when I type sudo kill 29409 did it not work? $ ps ...
1
vote
0answers
28 views

HIbernation or Suspending & Restarting for NON-root users

My purpose is to run a main shell script which calls many sub-processes like other shell scripts, perl sources, and compiled c++ files. I want to run the main shell script "run.sh" at some line in ...
0
votes
0answers
128 views

“socat” process using 100% of a CPU core on Ubuntu 15.04

Recently, my computer, which is running Ubuntu 15.04 with the GNOME desktop environment installed, has started running slowly. I wondered why this was happening and looked in gnome-system-monitor, ...
0
votes
1answer
45 views

result of ps -ef | grep?

I'm new to Ubuntu and I've problem with port 6703 i executed this command ps -ef | grep 6703 and got this result user 4378 4308 0 09:40 pts/2 00:00:00 grep --color=auto 6703 but can't ...
1
vote
1answer
76 views

Why is khubd process using too much of my CPU?

analyzing the process manager I found that the khubd process uses more CPU than other processes all that are running. It uses at least 25% and even uses around 40%. Does anyone know what this process ...
0
votes
0answers
19 views

Killing the process started with upstart

I use upstart to launch rails app with unicorn. This is the conf file in /etc/init/unicorn_rails.conf. # simple uWSGI script # http://uwsgi-docs.readthedocs.org/en/latest/Upstart.html description ...
2
votes
1answer
43 views

Bash file for sending a signal to a process

I need to write a bash program which will take the name of a program and a name of a signal as arguments and then do some things. If the name of the signal is not given, the default signal should be ...
0
votes
1answer
41 views

Gufw is running, but no ufw process running. Normal?

Gufw is protrayed as a front-end to ufw, but when Gufw is running, I don't see ufw running. When run ps -ef | grep ufw, should it report processes for both ufw and gufw, or would we only see gufw if ...
0
votes
1answer
15 views

Allowing processes that started through ssh to continue and log output in file

So this is a bit of a multi part question, I have a vps that I connect to through ssh to run a few processes on. I would like to be able to start the processes and close my terminal window but still ...
0
votes
0answers
30 views

How to get the terminal (xterm with any emulator) to properly close processes?

I noticed that my terminal in ubuntu 15.04 (default terminal emulator, or terminator, so it appears to be an xterm issue) doesn't seem to properly close processes. For example, running gulp ...
0
votes
2answers
28 views

Character limit on process name?

I notice I can't get much info on processes associated with the chromium browser, whether I am looking at gnome-system-monitor, top, or the like. Any process associated with chromium reads as ...
3
votes
1answer
42 views

Start processes to run in parallel

I am trying to start 16 python scripts in parallel. I tried to do for i in {0..15} do python my_script.py "$i" done But checking my htop this only runs on one processor. I am guessing ...
0
votes
0answers
72 views

Boot Hangs Ubuntu Server 14.04

When I boot my server machine, it hangs unless I hit F12 at the POST screen and select the hard drive. There the grub menu shows up and I just select the first option, booting Ubuntu Server without an ...
1
vote
1answer
40 views

Safe to kill a PID

Process Ids are generated in such a way that they're unique and tend to either increment, wrapping at some point, or be randomly generated, as far as I can tell. It seems there's a small but real ...
2
votes
1answer
62 views

Why does killall (sometimes?) needs to be applied twice?

Why does killall (sometimes?) need to be applied twice? Here's an example where a "double" killall is needed to end the process. When and why does a process needed to be killed "twice"? What happens ...
15
votes
3answers
2k views

Kinder / gentler / subtler equivalent alternative to killall (e.g. “endall”)?

How do I end all processes with the same name in a more gentle way than killall does? I don't want to interrupt the processes, but leave them time to properly quit. See also: How do I kill ...
0
votes
0answers
98 views

What data is being sent to Canonical with gvfsd-http and ubuntu-geoip-pr?

What data is being send to Canonical with gvfsd-http and ubuntu-geoip-pr? How do I read content of traffic sent to and from these specific processes? Output of $ lsof -i shows that my Ubuntu is ...
0
votes
0answers
32 views

killing process on port does not work

i am trying to kill a process that is using port 8180 to find the process i did: sudo netstat -lpn |grep :8180 Then i got the following result: tcp 0 0 0.0.0.0:8180 ...
3
votes
4answers
526 views

When I open gedit from terminal, I am unable to use terminal for anything else until I close gedit. Why? [duplicate]

I am VERY new to the world of Linux. I'm running Ubuntu 15.04 on a Lenovo laptop. My terminal emulator is Gnome Terminal. I know a few things. Let's say I type cd ...
1
vote
1answer
71 views

What is Shotwell doing in background permanently

My mate is a new ubuntu user, primarily as alternative to not need to upgrade to windows 10. He uses his machine mainly for archiving and reworking of hundreds of photos as he is a hobby photographer. ...
0
votes
1answer
16 views

Process pasued but connection not terminated to files in locasystem

I am not sure whether this is the right place or not but as this is a question which needed a solution I am posting here. I have used kill -SIGSTOP 1234 command to pasue a process named as 1234 and ...
0
votes
2answers
66 views

shell script to check if a process is up

I want to check if a proces is up: [nyxqa@qckmaccg102 scripts]$ ps -fu nyxqa UID PID PPID C STIME TTY TIME CMD nyxqa 19620 1 0 08:42 ? 00:00:00 ./ArcaDirect ITD ...
0
votes
1answer
8 views

Highlighted processes on top

I am running four processes in two computers, a master node and a slave node. I gave the command to spawn these processes, while on screen command. Now, I logged into with ssh, in both computers and I ...
1
vote
0answers
208 views

Allowing multiple programmes to access /dev/video0 simultaneously?

I've just recently noticed that video from my webcam does not always work in a programme, so long as something else is accessing it. Let's explain this with some usage examples: I'm running uTox (a ...
22
votes
2answers
2k views

Process 'niceness' vs. 'priority'

When running top, I can see this (shortened) example output: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4586 ipc-adm+ 20 0 1303900 605152 92844 S 30,6 29,3 ...
13
votes
5answers
1k views

How to kill all processes apart from specific one

On my local server, many java processes are running, and at the same time I am using Eclipse. Now when I need to restart my processes (I start processes through a shell script), before every start I ...