Questions tagged [process]

A process is an instance of a computer program that is being executed.

Filter by
Sorted by
Tagged with
-1
votes
3answers
50 views

How to find a process's parent

In ps one can see all the processes that running in my system. How can I check for each process which process has started them? For example if process A starts process B, how can I find by looking ...
-1
votes
1answer
202 views

Why systemd stopping immediatly after spawning?

I am facing issue while loading vpp.service in systemd. I have written following service. [Unit] Description=Vector Packet Processing Process After=syslog.target network.target auditd.service [...
-1
votes
1answer
45 views

How to monitor all file writes and reads initiated by a particular application?

How can I monitor in real time, which files an application reads and writes to while it is running? In my particular case I want to monitor korganizer.
-1
votes
2answers
760 views

Wait command works when pid doesn't exists

I'm facing an unexpected behaviour of the wait builtin. ~ ❯ sleep 1 & [1] 72009 ~ ❯ [1] + 72009 done sleep 1 ~ ❯ wait 72009 ~ ❯ echo $? 0 Although the PID doesn't exist anymore wait ...
-1
votes
1answer
511 views

How start a script on startup automatically on PXE booting linux

I have a virtual machine that is PXE booted. How can I start a script to run as a background on startup without having to manually start it? I have tried the following things, and they do not work. ...
-1
votes
3answers
307 views

How can I get a list of processes without options? [closed]

How can I get a list of processes without options? I know ps aux | less works, but it still shows command line options. Is there a way to circumvent this?
-1
votes
1answer
7k views

Maltego stuck in Loading Modules

I'm using Kali Linux 2016 on Vmware 12 player. I'm trying to run maltego(first time) and it's stuck on loading modules. any suggestions?
-1
votes
1answer
133 views

How to find out on which core a thread is running on?

Let's say we have a CPU-intensive application called multi-threaded-application.out that is running on top of Ubuntu with a PID of 10000. It has 4 threads with tid 10001, 10002, 10003, and 10004. I ...
-1
votes
1answer
36 views

Why does the shell not terminate by kill -s TERM?

#!/bin/sh trap 'trap - EXIT; echo exit' EXIT trap 'echo term; exit' TERM sleep 100 If I run kill for the PID of the shell process of the script, it does not terminate. If I remove the TERM trap, ...
-1
votes
2answers
134 views

How to control multiple processes based on user defined conditions continuously

My question involves two programs (kodi and xscreensaver). Since I have encountered this with other applications, let me be more general and say I have two applications, say App1 and App2. I wish ...
-2
votes
1answer
112 views

What executes instructions for a process: the kernel or the cpu?

Computer Systems: a Programmer's Perspective says: Figure 8.14 shows an example of context switching between a pair of processes A and B. In this example, initially process A is running in user mode ...
-2
votes
2answers
87 views

Why are process management files on Linux stored under /var/run?

Why are process management files on Linux stored under /var/run? For example: $ ls -ltr /var/run/ | grep pid -rw-r--r-- 1 root root 4 Mar 26 14:12 lvmetad.pid -rw-r--r-- 1 ...
-2
votes
2answers
1k views

Bash operator & not working [closed]

As per the bash reference, we can give a non-blocking command by ending it with an ampersand(&) character. However, when I try the below command its not working: python -m SimpleHTTPServer 8080&...
-2
votes
2answers
167 views

Why is there no choice for cooperative scheduling?

Operating System Concepts says CPU-scheduling decisions may take place under the following four circum- stances: When a process switches from the running state to the waiting state (for example, as ...
-2
votes
1answer
36 views

Who starts a program to run?

Who starts a program to run on RAM? Is it Kernel? Suppose I hit 'ls' command in linux, I know it is running on RAM processed by CPU-Core and make sys-call (to Kernel) whenever necessary and flush the ...
-2
votes
1answer
167 views

How are the processes involved when we send a signal using control keys or running `kill`? [closed]

A signal is sent by or from a process to another process. A bash process is usually run in a terminal emulator process such as gnome terminal. A bash process in turn runs other processes. So when ...
-2
votes
1answer
67 views

What command lines should I use for the following? [closed]

What command lines should I use for... printing a list of users running bash now in alphabetical order print the count of users who are running bash right now save the list of users who are running ...
-2
votes
1answer
108 views

Does execve() make a child unrelated to its parent?

When a process fork() a child, the two processes are related. The child inherits a lot of things from the parent, including some IPC objects such as pipes and anonymous memory mappings. If the child ...
-2
votes
1answer
82 views

Find process source which executing python scripts [closed]

From last month some process is executing python scripts on my server with centos 6 with LAMP stack which are nothing but spam bots and eating server resources. Please check image below, How do I ...
-2
votes
2answers
932 views

pgrep not available on AIX

On AIX, I get pgrep -lf ora_pmon ksh: pgrep: not found. Does anybody know how to change the code so that it doesn't use pgrep? This is the result on another operating system: pgrep -lf ora_pmon 4104 ...
-2
votes
2answers
60 views

Identifying shell script's subshell number from within a script itself

I am accidentally caught in a desire to reveal the subshell number (BASH_SUBSHELL) from within the script itself, but i get subshell 0 Here is the script's line echo "Operated from subshell: $...
-3
votes
1answer
28 views

Differencess in process tree after stop session for few mins [closed]

Stop executing session for 3 mins with the sleep command and show differences in the process tree (with + symbol for new processes and - symbol for those which are gone). How to write a script for ...
-3
votes
1answer
556 views

How to run a command in the background?

How would you run man -df in the background properly? When I try ping man -df > /dev/null it goes through at first it gives me a PID number but then it says ping unknown host man and it doesn't list ...
-3
votes
1answer
249 views

Reasons that may cause a running process to voluntarily or involuntarily give-up the CPU?

What are the reasons that may cause a running process to voluntarily or involuntarily give-up the CPU? As only one process can be running in the CPU/Core at any one time.
-4
votes
2answers
131 views

Which Linux distro/mode offers lowest interference when running your own applications?

I'm interested in a Linux distro to build C projects and test their behavior in a very predictable and controlled environment. I'm especially concerned about letting the scheduler deal as much as ...
-4
votes
1answer
503 views

Kali linux laptop lock screen

Now I am trying to hack my router password, and I want to ask if I lock my laptop, the hacking procces still goes on? or I need to have my screen on. Thanks.
-5
votes
1answer
299 views

How would a diagram for (ls) look like?

This is a Diagram for what happens after one has entered ls in the bash and executed it: the first part shows the situation before ls is executed. Bash is a childprocess of the terminal emulator ...

1
44 45 46 47
48