Questions tagged [process]
An instance of a running computer program.
741
questions
0
votes
0
answers
6
views
Hanged program not shown up in process explorer [migrated]
This is something bugging me for more than a decade. Occasionally there is a program hang in Windows (in this case a setup program in Windows 10 Pro), I tried to close it from resource monitor and it ...
0
votes
1
answer
26
views
Ideas: How to continuously monitor and kill the restricted process in Ubuntu20
I have a bastion host where users run specific software like (nodejs) instead of using the bastion as a jump host. I cannot restrict internet access, and this software's installed in users' home ...
0
votes
1
answer
30
views
how to stop that ip requests and how to find that files who start the progress
i have that problem, that if i take a view over
iftop -i eth0 -o 10s -p -P
command i get a ton of list information
192.168.8.119:ssh => 192.168.8.98:62424 5.12Kb 5....
0
votes
0
answers
8
views
What process manager is suitable for multiple instances of the same service?
I am working on an app which can start and stop a service (lnd) with different options for different users:
Service Instance 1 for Alice using config 1
Service Instance 2 for Bob using config 2
...
0
votes
0
answers
122
views
supervisord refuses to start when provided program config
I'm setting up supervisord to run a few scripts perpetually.
If I start supervisord without any program (*.conf file in /etc/supervisor/conf.d), it runs perfectly fine
root@networking:~# systemctl ...
0
votes
1
answer
30
views
How to restart a web application via SystemD if not responding?
When using Supervisor there are a couple of plugins available that are able to restart an application if it's using to much memory (-> memory leak at e.g. some Java-tools) or if the application is ...
0
votes
1
answer
30
views
Linux server nrpe nagios check_procs process state monitoring - need info, when process is restarted
I need to be informed by nagios when a process on a remote server is restarted.
The only thing I do not know how to do is to check its process state, and what way to do it?
I got in remote server this ...
0
votes
0
answers
19
views
Why is my cronjob command interrupt after 1 minute? [duplicate]
I have a cronjob command that runs once every day on Ubuntu 18.04. Below is the crontab:
25 06 * * * /opt/my/app arg >> /opt/my/cron.log 2>&1
I checked the log and the command was run at ...
0
votes
0
answers
36
views
How to restart deluged daemon on macos?
I am running an old macbook pro as a server and have deluged running on it.
How can I restart the daemon without having to restart my server each time?
0
votes
1
answer
94
views
How to calculate CPU utilization for an application in a multicore system
On 8-core server, 0-3 are configured as isolcpus and remaining cores (4-7) are available for system and user processes to run. My application has multiple processes which will run on any one of the ...
0
votes
0
answers
39
views
Dante server high CPU% load and negotiation process
I am a noobie trying to figure out a way to host proxies for my family and friends (around 20 people maybe) for Telegram. I am using a DigitalOcean droplet with 2vCPU and the rest are base ...
0
votes
1
answer
38
views
Debian: Find unknown process pinging ip on old subnet after subnet change [duplicate]
I changed my network subnet from 192.168.1.0 to 10.10.10.0, but some rogue process is trying to hit port 9100 on 192.168.1.145
I have tried sudo lsof -n | grep TCP | grep 9100 with no luck.
I have ...
0
votes
2
answers
90
views
How can I find out which program is executed through a PID which is ended
I found there is a program that killed my Apache regularly, according to the log information, I understand there is a program using "/etc/init.d/apache2 stop" to stop apache, since this ...
0
votes
1
answer
42
views
In Linux/bash how can I prevent asynchronous commands?
I have a makefile that calls external build scripts.
Some of these scripts (which I can't change) make use of commands that are forked / backgrounded (or asynchronous as the bash manual names them)
...
0
votes
0
answers
23
views
Delaying my own process to automount an external storage which start at boot
I would like to implement my own process into a CentOS7 operating system which automount an external storage (AVID ISIS for this example) at boot through systemd.
To do that, I scripted the mount ...
6
votes
2
answers
666
views
How to find out what service is listening on a specific port of a Ubuntu server without proccess id?
I have decided to post this question even though there are a lot of similar questions, but none of them answered mine.
I periodically check the ports my server listens to.
My ubuntu OS by the output ...
-4
votes
1
answer
46
views
Oracle too much processes [closed]
My oracle server has a huge queue and slowly executes user requests. I have increased ram and cpu but still same problem.
I dont know anything to oracle, can you please give me commands to check if my ...
0
votes
1
answer
22
views
Identifying user activity/processes from log message on remote machine - 10.0.0.2 - user A, using service account B trying to connect to 10.0.0.3
I just inherited an older Linux server. I am getting asked to identify and stop a process initiated by a user. How can I go about identifying what process a user is executing that matches the logs ...
1
vote
1
answer
157
views
Laravel/PHP process on debian 10 only ever using one of two CPU threads
I am running a Debian 10 Buster server on a google VM with PHP 7.3 Apache2 and MySQL 8. On the server, I am running Laravel 8 as an API for two clients. I recently upgraded the VM to an n2-standard-2 (...
0
votes
1
answer
574
views
How do I find the PID file for a process given the PID number?
I'm trying to use Monit to monitor and send email alerts about a process when it stops running, but I need the location of the PID file for that process. I can find the PID number using the htop or ps ...
0
votes
1
answer
113
views
Why atop shows high CPU but sum of individual processes %CPU far smaller?
How can the sum of processes' CPU-% usage be lower than the total CPU load, according to atop and top, please?
I have a CPU reaching very high load (87%, for several hours) even though the sum of the ...
1
vote
1
answer
640
views
Process terminates after SSH logout on windows server
I have a Windows server 2016 machine that needs to run an file that uses the cli, remotely using SSH.
It is known that logging out of an SSH connection terminates processes that were started by the ...
1
vote
0
answers
287
views
Keeping processes alive when closing SSH connection on MobaXTerm
I'm facing somme issue when trying to keep process alive when shutting down session in MobaXTerm.
I have a java process which should run on a linux server.
I am using two commands, nohup and screen.
...
-1
votes
1
answer
35
views
What does the option passed at the end of the Systemd command mean?
I have this command:
systemctl restart rh-php71-php-fpm -l
I would like to know what the -l which is passed at the end of the command corresponds to?
0
votes
1
answer
224
views
How to list the capabilities associated with a process in *nix systems?
From - man capabilities
UNIX implementations distinguish two categories of processes:
privileged processes (whose effective user ID is 0, referred to as
superuser or root), and unprivileged processes ...
1
vote
1
answer
100
views
Why does "ipcs -m" only show one process?
I want to find out how the shared memory is used between the different processes running on a server and got the impression that the "ipcs -m" command can be used for this purpose. So when I ...
0
votes
2
answers
141
views
How can I find the location of the source code for an app running on an Ubuntu image?
Let's say I've logged into an image that was spun up by an automated process and it's serving up a website (in my case it's a Rails site). I'm rooted, but don't know where to find the source code. ...
1
vote
2
answers
2k
views
Zabbix low-level discovery - CPU usage per process - two items with identical keys
I'm trying to use Zabbix for monitoring CPU usage by different processes on Windows Server. Processes to monitor are not determined upfront. I want to use LLD to monitor top 3 CPU demanding processes.
...
0
votes
1
answer
34
views
Is it possible to umount a drive from where a program is running?
I want to run some confidential program on a cloud server. In order to protect it from being copied, I can encrypt it into a drive and mount the decrypted drive to run it. However I want to umount the ...
1
vote
1
answer
298
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 ...
3
votes
1
answer
1k
views
Zabbix - UserParameter Powershell script item is 'not supported' - CPU per process monitoring
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 ...
1
vote
1
answer
567
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
1
answer
51
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
1
answer
56
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
1
answer
190
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 ...
2
votes
0
answers
466
views
Find the process listening on a port (not showing in lsof)
Update:
The port was opened by NFS. I figured this out by configuring NFS to listen on a known port.
Using Ubuntu 18.04
I want to know which process or kernel function listens on UDP port 38637.
I ...
0
votes
1
answer
119
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
3
answers
75
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
2
answers
336
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
1
answer
495
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
0
answers
23
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
1
answer
172
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
1
answer
42
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
0
answers
92
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
1
answer
304
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
0
answers
640
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 ...
1
vote
0
answers
997
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
0
answers
478
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 ...
1
vote
0
answers
132
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
1
answer
97
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 ...