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

How to fix processing with runit and git-daemon-run

I'm trying to install Django using sudo apt-get install python-django But I'm getting error Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
30 views

Which process sent data out of my computer? [duplicate]

Using vnstat, I observed a lot of uploaded data from my computer and I don't know which process sent data out of my computer. Is there a tool to get stats on how much data a process consumed during a ...
0
votes
1answer
38 views

What command is the most effective for listing processes? [on hold]

I've seen lots of developers use ps -ef to list processes and kill them (such as in ENCOM, devs of OS-12). However, there is also htop. A friend told me that it is only a wrapper around ps and ...
4
votes
1answer
131 views

What is the process gvfsd-smb-browse?

That process happened to crash on my system. Nothing very serious, but as I am curious I tried to get information on it but could not find a quite satisfying answer about what it is and what it does. ...
0
votes
5answers
48 views

How can I kill a process with a phrase in its name? [duplicate]

I need to kill a process that contains myName in its description. Currently I'm doing: ps -ax |grep myName I see PID kill -9 PID How can I do the same with one command without entering the PID?
1
vote
2answers
24 views

How to see if a specific process is running or not for 1 hour in shell

My process name is test. If I use ps -ef | grep test I see that process is running. Now I want to check this every 10 mins for one hour and print success if it's running successfully for one hour. ...
12
votes
3answers
577 views

How can I hibernate a running application?

Example use case: I run Chromium with a couple of tabs open and decide that I don't need to access the application for the next 20 minutes. In order to conserve laptop battery time, I would like to ...
-1
votes
0answers
10 views

How to set a limit for the amount of RAM and/or Swap a process can use?

Is there a way of limiting how much RAM and/or Swap a certain process is allowed to use? It would be nice if I could also apply this to all sub-processes, however it would also be good if there was ...
0
votes
2answers
55 views

How are processes described in Ubuntu? [closed]

I need to know in detail how are processes described in Ubuntu? I have tried Google, but no luck. As I require it for research purposes, please help. Thank you.
0
votes
0answers
13 views

Use MOSIX for process migration

I am using MOSIX on Ubuntu 14.04 LTS for process migration.I have installed MOSIX successfully on Ubuntu. Now I want to form a cluster of two nodes to perform premptive process migration.But I dont ...
1
vote
1answer
34 views

kill all process greater than some process ID and match with particular name

I want to kill all google chrome process which is run via CRON. */5 * * * * export DISPLAY=:0 && google-chrome --app=http://localhost/runmysql.html so the process which has lower process ...
1
vote
0answers
14 views

Monitor CPU and bandwidth usage of cpu and save to csv

I would like to monitor a specific process. I need to know timestamp, CPU usage (%) and Bandwidth (tcp upload and download in % or byte/s) of this process. I have tried something like this: ps -Ao ...
3
votes
1answer
35 views

How to avoid killing the wrong process in a bash script?

I'm writing a bash script that spawns a couple of child processes, and will be run by a cron job every hour. It's actually running an rsync command to a remote server, and the associated ssh ...
0
votes
0answers
30 views

Login loop after killings process

I'm having an annoying issue. I terminated some processes from another users, which were holding me back changing the user's home folder location. I killed 2 processes (I do not remember the actual ...
0
votes
1answer
71 views

How do I start/stop failed upstart job?

I have an upstart script in /etc/init/myexample.conf. This job basically runs a java jar file. Normally, I can start and stop this using sudo start myexample and sudo stop myexample. I changed the ...
0
votes
1answer
93 views

mysql process stopping install as cannot kill

I am trying to install mariadb but install exits as fail as Mysql is running and it cannot stop. MySql is not installed but there is a process running which I cannot kill root@sonic-ubuntu ~ # ps ...
0
votes
1answer
46 views

Script to check system is locked or not at certain time

I want to write a script to check whether system is locked or not at certain time. So can anyone tell me what would be the condition to verify that system is locked or not ? Thanks in advance!!
1
vote
1answer
88 views

How 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 ...
1
vote
1answer
32 views

Quickly execute commands without running out of memory [closed]

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
118 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?
4
votes
2answers
114 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?
0
votes
1answer
98 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
32 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
28 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
219 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
131 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
55 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
46 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
124 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
16 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
94 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
73 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
99 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
158 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
255 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
68 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
3k 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
110 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
15 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
177 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
59 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
36 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
37 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
290 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
67 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
181 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
30 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
48 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
77 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
18 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 ...