Questions tagged [process]

An instance of a running computer program.

761 questions
0
votes
1 answer

YouTrack java process started to disappear on VPS

I had YouTrack installed on my VPS, and lately it just stopped working. Installation method I used is described here: https://confluence.jetbrains.com/display/YTD65/YouTrack+JAR+as+a+Service+on+Linux.+Alternative+Method (with the difference that I…
Łukasz Zaroda
  • 117
  • 2
  • 11
0
votes
1 answer

init / inittab respawn (count number of times it occurs)

I added the following line in my /etc/inittab to respawn a program if it crashes. #test must always run. aa:2345:respawn:/home/pi/test/test Is there a way to know how many times the init/respawn event occurs ? Is there a log file for inittab ? I'm…
ssinfod
  • 113
  • 1
  • 4
0
votes
1 answer

kill tcp port binding by deleting proc/[0-9]/net/… in linux

I have a script to call syscall Kill the process that holds a certain TCP port in Linux (ubuntu). But even if I do that, sometimes the port still remains in /proc/[0-9]/net directory binding the port. Is there any easy way to force to free the tcp…
0
votes
1 answer

Set CPU affinity for all processes of specific user with taskset

I have ubuntu server 14.04, and I'm wondering if there is any easy way to achieve this task. For example, I can already do this for single processes with taskset -pac 2 29435, but is there any way to assign it via username instead of process…
user3794271
  • 3
  • 1
  • 2
0
votes
1 answer

Source of long running find process on server

I'm wondering where a long running find process on my ubuntu linux server (14.04 LTS) came from and what the meaning of it is. Here is the output of ps: 16915 ? SN 32:41 /usr/bin/find /tmp /var/tmp -type f -exec head -n 1 {} ; According…
0
votes
1 answer

NUMA processor definition

NUMA, non-uniform memory access designates a symetric multi-processing system where processors are grouped into nodes, with each group sharing some level of memory, so that memory access on same node is faster than memory access to another node. To…
kiriloff
  • 129
  • 4
0
votes
0 answers

Odd entries in Debian Linux /var/log/auth.log

I have found some odd entries all of the sudden in my /var/log/auth.log files. They are showing up every 10-20 seconds or so. There isn't anything in cron that would do this, and I am at a loss of where to look next. Nov 17 02:21:06 centaur…
lext01
  • 21
  • 4
0
votes
1 answer

Is it possible to kill a process based on its environment, from the command line?

Scenario: Let's assume I have a script that spawns a few processes. There may be times when the script has to be aborted. Most times this is fine. However, sometimes one or two of the spawned processes remain running, and are orphaned, because the…
Sagar
  • 534
  • 3
  • 7
  • 21
0
votes
1 answer

Know which file is related to a process execution

In Unix, with top I have an output similar to this: 13916 root 18 0 903m 129m 9936 S 51.4 0.1 3:07.01 php How can I know which file is this php process executing? For example: 13916 root 18 0 903m 129m 9936 S 51.4 0.1 3:07.01 php…
0
votes
5 answers

Way to kill frozen application

I have an application that freezes. I can't terminate it with ^C, so I have to do following: $ ./myapp ^C^Z [1]+ Stopped ./myapp $ pgrep -lf myapp 18479 bash ./myapp $ kill -9 18479 $ fg bash: fg: job has terminated [1]+ Killed …
nkrkv
  • 103
  • 3
0
votes
1 answer

Why when setting a process ppid to 1 will disown it?

When i write a shell script like below: # demo.sh somework & Then run it sh demo.sh.Use & will cause the demo.sh exit and make the somework's parrent PID be 1, the init. Then i exit my terminal, make the session over, why the somework doesn't…
0
votes
0 answers

Sudden increase in my CPU usage during random moments(Win Server 2012)

At random times, no matter if I am online or not I see that my server having increased Process usage spikes, as you can see in the picture: So I go inside the Dashboard on the Server Manager, look at the CPU alerts and see what programs was…
0
votes
2 answers

Writing a script that can start and manage processes?

I am wondering if there is some way to do this. I need to write a script or something that: Can start some processes with some args, for example: start server.exe -port 8899 -name "Epic Server 1" start server.exe -port 8897 -name "Epic Server 2" If…
jmasterx
  • 143
  • 1
  • 5
0
votes
1 answer

Intentionally stop a process from responding

Is there any way to intentionally prevent a process from responding - ie. not close or kill it, but stop it dead in it's track, so it immediately stops processing anything? I've often found myself wanting to force a process into a non-responsive…
Mikk3lRo
  • 183
  • 1
  • 7
0
votes
2 answers

how to identify a command prompt window?

Enviroment: windows 7 Currently i have machine on which we launch 2 batch files on system start up. These batch files internally run multiple programs by running on separate command prompt windows. So in effect, i have lets say 3 command prompt…
Schu
  • 123
  • 3