Skip to main content

Questions tagged [pid]

PID (Process IDentifier) is the number that identifies a process running on an operational system.

0 votes
0 answers
27 views

Is it possible to create a non-forking vnc service?

I followed this article to create a vnc service. The service is forking and uses a PID-file. My version of the service description — [email protected] — looks like this: [Unit] Description=Start ...
ElToro1966's user avatar
0 votes
0 answers
144 views

RHEL + kill -9 not really killing the process

We have around 85 running process with lshw Since these process increased the CPU load average , We tryed to kill them with kill -9 but without success root 3275 0.0 0.0 131720 8992 ? D ...
King David's user avatar
0 votes
0 answers
33 views

how to send multi video in udp protocol with in single ip/port?

According to the ffmpeg documentation using UDP protocol i need send multi input to local network in single IP/Port and received from VLC Player each video can choose with Program number and show it ! ...
user2687117's user avatar
0 votes
0 answers
547 views

How to recover text typed into a text box on chrome after the browser refreshed and cleared all information (mac)?

I had a job application completely typed out after hours of hard work, and used the website's 'save' feature - however to my despair the website randomly refreshed and I lost all my answers! I've been ...
Sampall's user avatar
0 votes
1 answer
692 views

How to get PID of python3 working program

I want to write a program on bash that will restart my script once every some time. The program runs in an infinite loop and launch like this: Python3 main.py So to restart it, I need to do Kill [pid]...
ASDORDSAUSER's user avatar
1 vote
2 answers
372 views

WMIC ProcessID does not get parsed within the same command instance

I've got a batch script that I'd like to capture its Process ID but the PID is not being parsed from within the same command instance. For example, running the batch script with the following code ...
Joseph Karkar's user avatar
0 votes
1 answer
468 views

How can i dump the contents of a file that was opened with nano in a running process? (Linux)

I have run the command ps -ef and found the following : UID PID PPID C STIME TTY TIME CMD root 1 0 0 12:30 ? 00:00:00 socat tcp-l:1024,reuseaddr,f root ...
Astral Wanderer's user avatar
0 votes
1 answer
565 views

Is it possible to retrieve the PID number of a specific chromium tab?

I'm trying to introduce a solution to a problem and in order to achieve that, I need to get the PID number of the Chromium process that displays a specific webpage (ie. http://localhost:4025). Is it ...
ceremcem's user avatar
  • 635
1 vote
1 answer
430 views

Sysinternals procmon "Process Active Summary" is missing most processes

I am trying to track CPU usage of our build script and of all the processes it spawns to accomplish the task of creating a release. I ran a procmon64.exe (with profiling) session during the course of ...
David I. McIntosh's user avatar
2 votes
2 answers
980 views

$ps -ax shows long-running "windows server"

When executing the ps -ax command, I see the following: 158 ?? 294:09.79 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer -daemon It is far and away the longest ...
Liam White's user avatar
0 votes
1 answer
611 views

Terminal on Mac not providing responses using various PID related commands

When I try and find the PID of a port using a command such as any of the following (where xxxx is the port number): lsof -i tcp:xxxx netstat -vanp --tcp | grep xxxx sudo lsof -i -P | grep LISTEN | ...
macuser's user avatar
0 votes
1 answer
201 views

Clamav-Daemon Does Not Write Pidfile

I am trying to configure Monit to monitor clamav-daemon. However, it appears that the /etc/init.d/clamav-daemon script does NOT actually write the pdifile to /var/run/clamav /etc/init.d/clamav-daemon:...
mjones's user avatar
  • 317
1 vote
1 answer
3k views

Find path of a PID process

I want to get the path of a PID. For example the PID is 8036, I want to get the path of it. Like this: Get-Path -pid 8036 Output: C:\Windows\svchost.exe How can I do that? Or can I?
TheCodeExpert's user avatar
1 vote
0 answers
278 views

How do I know which Command Prompt is related to a specific PID?

I have multiple Python programs running in separate Command Prompt windows in order to find a memory leak (the specifics are irrelevant). While watching the processes on Task Manager > Resource ...
ihavenoidea's user avatar
0 votes
0 answers
206 views

su processes spawning with high CPU (Debian 9)

I am running a VM on Google Cloud with Debian 9. I should be the only user with access to the VM. Every so often the Web application I am running (phpbb) becomes very slow. When I log into to look at ...
badroit's user avatar
  • 171
0 votes
1 answer
108 views

Move Memory Associated with Program to Disk

I am using PsSuspend to suspend processes by their PID that are using excessive CPU or GPU computational resources whenever I am working on something else and need to have the CPU/GPU working on that ...
EllipticalInitial's user avatar
2 votes
0 answers
147 views

Netstate and process that are not there?

8080 port is occupied so I can not start glass fish server on it , so I use netstate and find the PID of program whom use that port , but problem start here there is no process or service with this ...
johnny is here's user avatar
0 votes
0 answers
42 views

How to open 100 file with one proccess?

I know the output of ulimit -S -n is the number of fd that a process can handle or create. How can I open files more than that number to reach the limit of my system with one process ID?
Ali's user avatar
  • 15
1 vote
1 answer
723 views

PID in CMD.EXE is not showing in Task Manager

So I was looking at my cmd.exe > netstat -ano and I noticed that there were two PID's (4472)(9032) that had the same IP address that was showing as established. When I went to compare the PIDs to ...
Joe's user avatar
  • 11
0 votes
0 answers
1k views

Service name from PID

I got a port id(8080) already in use error when try to host a app. tried the below to know which service uses the port 8080 > netstat -aon | findstr 8080 TCP 0.0.0.0:8080 0.0.0.0:...
Jeyan's user avatar
  • 101
1 vote
0 answers
533 views

Get pid by loaded module name

I need a way to get PIDs of processes that have specific 32-bit .dll module loaded. Powershell (x86) has Get-Process -Module, but it takes too long and doesn't have PID linked if -Module argument ...
Danil's user avatar
  • 11
1 vote
2 answers
3k views

Does systemd's forking service remove PidFile?

I have ported my LSB-controlled daemon to systemd using a wrapper script that starts and stops the daemon. My systemd (multi-instance) service file uses Type=forking, ExecStart=..., ExecStop=..., and ...
U. Windl's user avatar
  • 705
6 votes
2 answers
9k views

How can I use Monit to monitor a service that does not have a /var/run/ pid file or how can I create a pid file?

I am using Debian 9.8 I have a service that runs my dotnet program. I would like to monitor it with monit but in all of the examples, you need to reference a .pid file in /var/run but my dotnet ...
TheColonel26's user avatar
1 vote
1 answer
1k views

Why does PID of apps change/Is there a pattern?

Long story short, I'm trying to write a program in Python that will continuously run the command kill [PID of iTunes but from some testing with the command ps aux | grep iTunes | egrep -v "grep|...
Rhett Henderson's user avatar
0 votes
0 answers
818 views

autossh creating many processes

I'm using autossh to connect to a reverse SSH tunnel. I run it from startup. However, I was facing problems in that the tunnel sometimes goes down. I created a script which checks if the tunnel is ...
Engineer999's user avatar
2 votes
1 answer
2k views

How would I see if a certain Batch File is running and get the PID?

It's a common problem I've run into a lot, where I want to see if another batch file is running or not. This is fairly easy, but then getting the PID is hard. This is why I wrote my own script that ...
Mark Deven's user avatar
  • 1,660
4 votes
1 answer
10k views

Can not find port in netstat for a specific PID in tasklist

I have trouble finding the port for a running SQL Server (SQLEXPRESS): The command tasklist in CMD shows PID = 3376 for sqlservr.exe. It's the same PID as in the Properties of this SQL Server (...
stonebe's user avatar
  • 207
1 vote
2 answers
399 views

Portable way to find all PIDs by cmdline

I want to find the PID of all processes which were run by a cmdline call which contains a certain string my_exec. For instance, with macOS or Ubuntu, open a terminal and run /bin/bash, and then in ...
Nisba's user avatar
  • 183
0 votes
0 answers
182 views

Is it possible to pass a PID variable as a parameter into a crontab?

Is it possible to pass a PID variable as a parameter into a crontab: 0 * * * * JETTYPID=$(ps aux | grep "jetty92.state" | grep -v grep | awk '{print $2}') OR Could I just define the variable at the ...
Alex Lorsung's user avatar
0 votes
0 answers
595 views

How to create own process id in batch (Window)

I have a batch script and via that script I have started the logstash. Its running successfully and writing logstash logs in my own file. logstash.bat -f CONFIG_FILE_NAME >> C:\User\logs\agent....
Mishi's user avatar
  • 113

15 30 50 per page