0
votes
0answers
14 views

Open Text Summarizer in Java

I am using Open Text Summarizer on Ubuntu, and it works fine from my terminal... To use it I have to run the following command in terminal: ots -r 5 /home/arslan/tempEclipse.txt Now I want to ...
0
votes
1answer
32 views

Start a new process without blocking the terminal

Is it possible to do this? For example if I run "gedit tifatul.txt" via the command line, my terminal becomes blocked and I can't enter other command in this terminal before I quit gedit. Can I start ...
4
votes
1answer
38 views

Finding a process's filename from its PID?

I'm trying to figure out what program keeps killing the network indicator: $ nm-applet ** Message: applet now removed from the notification area ** Message: PID 31340 (we are 28924) sent signal 15, ...
1
vote
1answer
25 views

find binary linked to a process which crashes soon as launched?

Program A after checking the system configuration executes one of Programs B, C or D. When I run Program A, it launches one of these and newly launched program crashes (takes less than a second). This ...
1
vote
2answers
34 views

How to find processed called from a specific Terminal?

I sometimes start processes in the background using the terminal. For example: $ matlab & Some hours later, I cannot remember which Terminal I began matlab from, i.e. which Terminal is not safe ...
0
votes
0answers
135 views

I can't kill a port process

I'm doing in Ubuntu 12 alex@ubuntu:~/folder$ lsof -t -i:3000 4469 alex@ubuntu:~/folder$ kill 4469 alex@ubuntu:~/folder$ lsof -t -i:3000 4469 What did I do wrong?
3
votes
3answers
313 views

Reading the output from any process using it's pid

Is it possible to attach a terminal to an already runing process by using it's pid in a similar fashion to using the fg command for jobs.
3
votes
2answers
123 views

Are there any command to see how processes are working?

I'm very new to Ubuntu. If I do this sort of command say: cp file1 file2 The shell creates a child process and that child process will call cp, which in turn call exec system call of operating ...
1
vote
1answer
5k views

How to find the Process ID (PID) of a running terminal program?

I am running a program in the terminal that I can't escape with Ctrl-C and that I want to kill. How can I find its PID?
3
votes
1answer
170 views

How do I run an I/O intensive application only when the computer is idle?

Is there a tool which can be instructed to pause specified processes if user uses a keyboard or mouse and to resume it in certain time after user has stopped interaction to the OS? I would like to ...
2
votes
1answer
119 views

how to recover backgrond process from a killed terminal

I have launched a long running process from ssh in background . Unfortunatly my connexion crashed . Now I'm trying to recover this process but when I execute fg it didn't detect it . How can I bring ...
0
votes
1answer
134 views

Send a variable to a processes using PID in command line? [closed]

I have a processes that is open and can retrieve variables but it is running in the back ground. so i need to send a variable to the processes using the PID, is that possible in the command line on ...
2
votes
1answer
1k views

How do I get the parent process ID of a given child process?

How to get parent pid from a given children pid? I know I can mannully check it under /proc, I am wonder if there is a smart/better way to achieve this in Ubuntu. Note the parent may or may not be ...
3
votes
1answer
190 views

launching a program from bash causes bash to go to new prompt

When I run a program from the console, e.g. me@box:~$ firefox I expect the console to log error messages (I think this is std out or std err?) and other items from the program, firefox in this ...
0
votes
0answers
144 views

Reading the stdout and stderr channels of a specific process from proc [closed]

I'm trying to read the output of an already running process which will take some days to finish this way: tail -f /proc/<PID>/fd/0 (1) but what I get is: tail: cannot open ...
0
votes
2answers
164 views

the relationship between terminal and the process

Mostly, if I closed the current terminal, the sub_process are also closed. Of course, if I use suspend the process and use `bg JobID wakeup it, the process is divided with the terminal and run in ...
17
votes
4answers
8k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
5
votes
5answers
218 views

How can I add to a already running process an additional 'shutdown' command?

On a regular basis I forget to add && shutdown -h now to a long-running process. Is there any way to add a shutdown -h now command after the first command was invoked? It is not intended to ...
15
votes
3answers
5k views

“kill <PID>” not really killing the process, why?

I am trying to improve my command line skills and I have encountered a problem where I cannot kill a process. I type kill 2200 where 2200 is my PID and the process is not killed. After few minutes ...
21
votes
4answers
1k views

Can one pick up a running application from terminal?

Sometime I need to run an application from terminal for debugging. If I am sure the bug will occur short after launching the application, I can run this application from the Terminal. However, bugs ...
3
votes
2answers
678 views

Shell script to restart a process if it outputs a certain piece of text

I have a python program which, from time to time, crashes with a number of different exceptions usually due to network issues. The only way to get it to work is to restart it. How would I write a ...
32
votes
4answers
6k views

What's the difference between 'killall' and 'pkill'?

After using just plain kill <some_pid> on Unix systems for many years, I learned pkill from a younger Linux-savvy co-worker colleague1. I soon accepted the Linux-way, pgrep-ing and pkill-ing ...
4
votes
2answers
1k views

cp command process info

Is there any specific package for cp command which shows the process of being copied. I'm wondering if there is any package cp which shows additional information that what has been copied and what ...
7
votes
2answers
926 views

Find which files are read or written to

I want to see which files are read or written to. Is there any program or a command for that? I can remember I used this method to hunt down viruses and malware hiding locations when I used windows a ...
25
votes
6answers
4k views

What causes Nautilus to restart whenever I kill it?

In htop, I kill Nautilus, and within one second, it's back, with a new PID! The restarted Nautilus shows in the Processes list, but has no GUI until I manually launch Nautilus... I've heard ...
4
votes
5answers
5k views

What's the terminal command for finding out a process's id

I want to exit a process using the command line, but I can't recall the command to look up the process's ID. Does anyone know it?