An instance of a running computer program.
Questions tagged [process]
761 questions
10
votes
2 answers
How is htop "Swp" calculated?
When I run htop (on OS X 10.6.8), I see something like this :
1 [||||||| 20.0%] Tasks: 70 total, 0 running
2 [||| 7.2%] Load average: 1.11 0.79 0.64
3 [|||||||||||||||||||||||||||81.3%] …

Weier
- 203
- 1
- 2
- 5
10
votes
5 answers
How to send jobs to background without stopping them?
Ctrl+z sends the current job to background, but stops it.
And how to resume a stopped job?

Jader Dias
- 4,705
- 19
- 50
- 51
10
votes
4 answers
UNIX permissions to allow group users to kill each others' processes
Let's say we have a group (dev) which has many users and a shared development directory with g+rwx permissions on all contained files. Is this setup sufficient so that any dev user can kill a process launched by any other dev user (assuming the…

maerics
- 203
- 1
- 2
- 7
10
votes
3 answers
top in batch mode, need CPU% for every core
I know that after running top, I can press 1 and get a list of the CPUs with their utilization percentages. I suspect I can do this in batch mode too with the -b option, but I don't know how, and I cannot find it in the manual.
I need to read it…

Nathan
- 258
- 2
- 4
- 10
9
votes
4 answers
How to get all running process ids only?
I know that
ps ax
returns the pids
1 ? Ss 0:01 /sbin/init
2 ? S< 0:00 [kthreadd]
3 ? S< 0:00 [migration/0]
All I need is to clean those strings, but I couldn't do it with sed because I couldn't write the proper…

Jader Dias
- 4,705
- 19
- 50
- 51
9
votes
1 answer
Write to stdin of a running process using pipe
I am in a similar situation as in this post
But I couln't get the solution provided there to work in my situation as the answer seems related to that question only.
In particular, I couldnt understand what was the purpose of
cat my.fifo | nc…

aditya
- 93
- 1
- 1
- 3
9
votes
1 answer
What does the leading dash in process cmdline mean?
I noticed a process taking full CPU on my linux server, of which the COMMAND column from top -c is -bash.
cat /proc//cmdline shows -bash too.
What does the leading dash mean?
More info: I don't know if it's relevant, /proc//exe ->…

Arrix
- 235
- 1
- 5
8
votes
5 answers
Route IP Traffic Based on Process to Different Default Routes / Interfaces
I'm trying to determine if it is possible to selectively route IP packets from a process or process group through a specific interface while all other packets are routed through another interface. That is, I want all traffic from /usr/bin/testapp to…

justinzane
- 191
- 2
- 13
8
votes
1 answer
App Pool doesn't respect memory limits
I am dealing with a legacy .NET app that has a memory leak. In order to try and mitigate a run away memory situation, I've set the app pool memory limits from anywhere between 500KB to 500000KB (500MB) however the app pool doesn't seem to respect…

lucuma
- 145
- 1
- 7
8
votes
2 answers
Remove a zombie process from the process table
I've got an annoying zombie process that gets adopted by init, and it won't go away.
I've read there is a way to create a dummy process, attach the zombie as a child of that new process and then kill it, removing it from the process table.
How would…

Jelle De Loecker
- 1,094
- 6
- 17
- 30
8
votes
3 answers
Supervisor VS cronjob
Actually I'm using supervisor to monitor a process and restart it when it stops for some reason. The problem is that in case of a supervisor crash the process stops get monitored.
So I thought to schedule a cronjob to check supervisor is running,…

Paolo
- 283
- 1
- 4
- 12
8
votes
5 answers
How can I move a process to a core or dedicate a process to a processor?
I have an Intel E5620 processor. I have used cat /proc/[pid]/stat to determine what processor the process was last run on (39th field). How can I ensure that a process is dedicated to a processor (I have 8 available) or better yet, how can I…

Engineer2021
- 601
- 8
- 25
8
votes
0 answers
How to restart a daemondo controlled process?
How can I restart a daemondo controlled process with other options on my MAC (OS-X 10.4)? I changed /opt/local/etc/LaunchDaemons/org.macports.gearman/org.macports.gearman.plist and killed the gearman process. Daemondo restarted it but with the same…

stofl
- 193
- 6
8
votes
5 answers
Pain removing a perl rootkit
So, we host a geoservice webserver thing at the office.
Someone apparently broke into this box (probably via ftp or ssh), and put some kind of irc-managed rootkit thing.
Now I'm trying to clean the whole thing up, I found the process pid who tries…

paul.ago
- 201
- 2
- 7
7
votes
3 answers
top is only showing current user processes
Recently got a dedicated server running CentOS 6.7, we have ran updates and noticed that top is only showing processes for the current user.
[myuser@server2 ~]$ top -b -n1
top - 20:19:20 up 1 day, 10:09, 3 users, load average: 0.80, 0.50,…

Linx
- 398
- 4
- 10