Questions tagged [process]

An instance of a running computer program.

Filter by
Sorted by
Tagged with
1
vote
1answer
81 views

Audio stops on streaming server when I disconnect from remote desktop?

I'm streaming audio through Spotify (though I've tried YouTUBE, Pandora, etc) on my Vultr server (support was no help); and when I disconnect from the remote session; the audio stops playing on my ...
-3
votes
0answers
13 views

a shell script that shuts down all processes launched by a particular user in the last x hours [duplicate]

I need a shell script that shuts down all processes launched by a particular user in the last x hours. I tried this: HOUR=$2 curenttime=$(date + %s) for pid in $( ps -u "$USER" -o pid) do
0
votes
1answer
20 views

Suspicious ksoftirqd_1 process using high cpu [duplicate]

I run this webserver that serves data to a couple of apps. In the last couple of days I have noticed that some requests take some more time than usual, so I did a top to find out what's running and ...
2
votes
0answers
25 views

Monitoring CPU per Process Utility using zabbix agent

I'm new to zabbix and I'm trying to create custom User Parameter to Monitor CPU utility per process(Windows Machine). I have a powershell script and a user parameter, I also added a new item under ...
0
votes
1answer
21 views

pidstat: difference between task and process?

The pidstat command has options relating to tasks and others relating to processes (e.g. -C and -G). What's the difference?
0
votes
1answer
42 views

Structure to track running/completed scripts in proc/

I have a script that runs every hour, and without using a database, I would like to check if that file is either: (1) currently running; (2) already completed; or (3) not yet run. If it's #3, then I ...
0
votes
1answer
21 views

Force Nginx to create a new process for each request

Nginx reverse proxy send and receives requests from client to a defined port, that usually is a process that responds to requests the thing is if for one of requests the process crashes the whole ...
0
votes
1answer
23 views

Suspicious process 'find' running under user nobody

At startup I noticed my machine was under heavy load. Opened up a terminal and top to find a process running the command find under user nobody that was using 90%+ of my memory. I killed it ...
1
vote
0answers
26 views

Find the process listening on a port (not showing in lsof)

Using Ubuntu 18.04 I want to know which process or kernel function listens on UDP port 38637. I have researched this problem and found similar questions: https://superuser.com/questions/42843/...
0
votes
1answer
32 views

Get the age of a process?

How can I see the age (in seconds) of a process in Linux? I want to do it in a script. ps has various start/lstart/start_time options, which show a textual format for the date & time the process ...
0
votes
0answers
9 views

What's causing initctl stop to fail?

I have an upstart process which terminates all child processes during post-stop: post-stop exec killall my-process & exec sleep 10 This works as expected, however I'm unsure of the following two ...
0
votes
0answers
20 views

Forcing unmount of hanging CIFS mount (server crashed while writing to mountpoint)

Machine A mounts via CIFS from Server S to /backup A is writing to CIFS mount. Server S crashes while writing, it stayed offline for several hours. Now process on machine A hangs in the process "D" ...
0
votes
0answers
10 views

SnS: Windows 10, System HTTP process running on a port,.. What exactly is running… Jeopardy like

I'm trying to figure out "what" is running on port 8888 on my windows system. Let me say that this is a fresh reboot, I do not have IIS installed or any apache/nginx programs, there are no docker ...
0
votes
3answers
38 views

What determines the user a services started

I thought, that the service files under /lib/systemd/system/ determine as what user a service is started. But apparently that's not (always) the case. Here's an example: ~# ps faux ... whoopsie 1445 ...
1
vote
2answers
120 views

Record SSH commands sent to a Mac from Windows

I've got a bit of a puzzler - I am an administrator on both a Windows 10 and a Mac Catalina machine. The Windows machine is currently running software that has a known bug - SSH commands are sent to ...
2
votes
1answer
34 views

Determine windows process Uptime

Is there a way to determine the 'uptime' of a process in Windows. I would prefer to use powershell and not a third party tool, and I would like process name, start time and process Id.
0
votes
0answers
20 views

Easily monitor the CPU % use of a process

I'm have a small ISP and currently we are running an application of a customer that it's creating high CPU pikes. Basically we have chrome tab running and automate a process to stresstest a web ...
-2
votes
1answer
37 views

Moving Processes to and from Swap [closed]

Referring to Moving a process to and from swap and other answers which talk about moving processes to and from the swap space for Linux, none of them give a prolific description of the pros and cons ...
-1
votes
1answer
31 views

Resource consuming process

I have a Debian server hosting an AngularJS - Java application. When I run the htop command I have the following process which consumes the resource and I wanted to know what this process is for? ...
0
votes
0answers
31 views

Ubuntu service is showing running even after the process is killed

I have created a service like below:- Description=Java Service [Service] User=nobody # The configuration file application.properties should be here: WorkingDirectory=/home/ubuntu/pear ExecStart=/usr/...
0
votes
1answer
80 views

Why does cron job spawn child process every few seconds

I have a cron job that keeps spawning child process with the same name as parent process every few seconds. All the CPU usage is happening on the child process for few seconds and then dies. Seems ...
0
votes
0answers
11 views

Respawning Vulnerable Process After Killing Using PID [duplicate]

I am using ubuntu server. One process which is vulnerable and unwanted is consuming CPU about 90-100%. After killing this process using it PID. it remain silent about 1-2 minute and then respawn. Its ...
0
votes
0answers
96 views

Diagnosing nginx 408

Users upload photos to my site, using an HTML5 plupload runtime that submits the files to a php script at /upload-process. Normally this works fine, but sometimes the call to /upload-process times ...
0
votes
0answers
24 views

Are cpu quotas on cgroups hard limits or not?

When setting cgroups are they guaranteed to be enforced? I am seeing that a process that belongs to to a specific cgroup that has quota of 52 shares (hence 5% utilization) when I run top it is ...
1
vote
0answers
194 views

What are the steps to track down a 'too many open files' issue

I'm trying to track down and root cause a 'too many file open' issue on RHEL 7. From googling around, if I run this command it give me the open file count in the first column and the PID in the ...
1
vote
0answers
142 views

Determining What Process Isn't Cleaning Semaphores

I was having the common issue of not being able to restart httpd because of a high number of locked semaphores. After clearing those and restarting httpd, I also doubled the semaphores. However, I'm ...
0
votes
0answers
77 views

windows - how to kill a zombie process keeping a service alive?

I tried stopping a service (umrdpservice), but it was stuck in "stopping" status. I proceeded finding it's process id, and killed it. However the service is still stuck on "stopping". How do I find ...
1
vote
0answers
48 views

Difference between Task Manager's Processes and Details tabs

In Windows' Task Manager we have 2 tabs that show process CPU usage: Processes and Details. Trying to find a hotspot in my developed software, I noticed that CPU usage differs there in a huge manner - ...
0
votes
1answer
47 views

What is task status PA refers to?

I am looking into a crash dump for RHEL 7.4. It shows some of the task status as PA. None of the help pages talk about the details of this task status. can anyone tell me what PA refers as the ...
0
votes
1answer
89 views

How to identify the source of growing blocked processes on a system container (LXC/OpenVZ)

When the number of blocked processes grow indefinitely, how to identify exactly what are these processes. Since I'm inside a system container (LXC/OpenVZ), I can't modify the hosts' kernel modules to ...
0
votes
2answers
113 views

How to tune linux machine in order to improve CPU load average and CPU utilization

We are working with huge hadoop cluster. We have 736 datanode machines and each node have 16 core X 2 thread. On some machines we saw CPU load average (98-128 for 5 min). After deeply ...
0
votes
1answer
480 views

ps + kworker with state D

we have redhat machines in cluster redhat version is - 7.2 when we perform ps ax on the machine we saw many kworker with state D example 17165 ? D 0:00 [kworker/u66:1] 2151 ? D 0:58 [...
0
votes
0answers
742 views

Kill a running process inside a docker

I've run a find command on a very large folder inside my docker, and now it is stuck for more than an hour. I've tried to kill -9 the process, and kill the docker container with docker kill <...
2
votes
0answers
100 views

why doesn't htop display the same process start time than ps

Ubuntu 16.0.4.5, htop 2.0.1 and 2.2.0 compiled from source. Showing the STARTTIME column in htop, displays Jan25 but ps -o lstart displays Sat Dec 15 20:58:46 2018 By looking at the pid it seems ...
-1
votes
1answer
171 views

How to block Windows Service from spawning new process

In continue to my SO question, I would like to know how it is possible, by GPO, or a security setting, to prevent from a Windows Service to spawn new process. I have a machine with Windows Service ...
1
vote
1answer
108 views

Using ftrace to spy on files being created?

We are in this scenario: https://stackoverflow.com/questions/7304826/how-to-debug-a-multithreaded-hung-process-in-linux When we try to look at a rogue process (which is consuming 100% CPU) then it's ...
-1
votes
2answers
97 views

What are the common ports/ranges that standard Windows processes will listen on?

Is there any documentation that I can reference that outlines what ports or port ranges that most standard Windows processes will listen on? For example, if I saw wininit.exe listening on TCP 16000, ...
0
votes
1answer
46 views

Monitor and act on another process CPU consumption [closed]

I'm looking for away to monitor a specific process CPU consumption and act if the process didn't consume any CPU for the last X minutes/seconds on linux. The use case it that I've a machine on EC2 (...
1
vote
1answer
521 views

accidentally delete mysql files in /var/lib/mysql

I made a big mistake!, I have a vps(centos7) server and for deleting temp files have a command: sudo find /tmp -type f -atime +10-delete this command is good but this time by mistake i forgot to ...
2
votes
2answers
761 views

How do I Identify an anonymous process that's changing a system setting?

I see an anonymous process changing the time of my systemtime to UTC every 80 sec. Using the journalctl -f command I only see a message that says 'systemd[1]: time has been changed' but it doesn't ...
0
votes
1answer
35 views

Can a linux process be configured to run ANY time it is ready?

I have a process that does a small amount of work, then goes to sleep for 1-5ms. When that sleep time is up, I want that process to get the CPU IMMEDIATELY! Whatever process is already on the CPU ...
0
votes
0answers
41 views

`wc` holding yum lock for over 2 days

I just logged onto a server that hasn't been logged into for two months (August 2nd). When I did yum remove google-authenticator, I got: Existing lock /var/run/yum.pid: another copy is running as pid ...
0
votes
1answer
161 views

How to tell threads from processes in top and ps on Linux?

I find it quite confusing to differentiate threads and processes when I run top and then press H or run ps -Hef. I know that they share the same attributes, which makes them similar but was wondering ...
1
vote
1answer
58 views

Find the source of a *nix process?

I have a dev and QA web server running on the same EC2. I've created a shell script (which is called via Cron) to check to see if a process is running and if not, restart it. Shell script: #!/bin/...
0
votes
1answer
34 views

How to find out how node web server is started on our server?

So we have a bunch of old (like 2 years) Ubuntu 14.04 servers running production application, which has an API endpoint in Node. But we have no idea how to start/stop/restart node on it.. it just ...
0
votes
1answer
183 views

Process without name [duplicate]

I have a web server, due to an outdated Wordpress some hacker uploaded a webshell. Throught it, he launched a process but the ps command is not showing any name for the process: root@serv ~ # ps aux|...
0
votes
1answer
462 views

get process id of openvpn client in bash script

In a bash script I am starting openvpn as a client like this: #!/bin/bash conf_file=/etc/openvpn/blahblah.conf openvpn_pid_file="/var/run/openvpn-client/ovpnc.pid" command_line="/usr/bin/openvpn --...
0
votes
2answers
358 views

Kill a process inside an lvm snapshot

In my XEN host, I have a snapshot that cannot be removed with lvremove $ lvremove /dev/vg0/snap-tmp-vm06.docker-disk -fdv DEGRADED MODE. Incomplete RAID LVs will be processed. Using logical volume(s) ...
0
votes
0answers
637 views

Monit throwing failed protocol test [HTTP] instead of starting process

I have a custom process (an elixir application) running. I want to setup monit for it. I am setting up the monit check in /etc/monit.d as the following: set daemon 30 check host meraj-pc with ...
0
votes
1answer
47 views

Unable to fork children even after exiting previous ones

I have a CentOS VM on which I'm running a php socket server, that forks on every connection. The child process does its job and then exits. The parent is also waiting to reap the dead zombie process (...

1
2 3 4 5
15