The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
214 views

Creating an automated idle process kill script

I would like to implement a solution to a specific instance of the generic problem wherein idle users tie up resources. I know the user list can be retrieved with w, the associated PID with ps, and ...
3
votes
2answers
34 views

Is there a limit to processes I can run in the background?

Is there a limit to how many jobs you can have running in the background when using command prompt? I've heard varying answers to this question, but is there a concrete number that is set as the limit?...
2
votes
1answer
33 views

Is there any command that limits the use of cpu resources by percentage?

So far I've been using nice -n 10, but that's just sets the priority of the command I want to run low, but if there's no other process running at that time the command will take all the remaining cpu ...
9
votes
5answers
6k views

I am using `&`: why isn't the process running in the background?

I know that I can append & to a command to run the process in the background. I'm SSH'ing into an Ubuntu 12.04 box and running a python program with $python program.py & -- but when I go to ...
-3
votes
1answer
55 views

What is the difference between nice and renice?

What is the difference between the two commands nice and renice to manage process priority?
3
votes
2answers
67 views

Get the terminal emulator name inside the shell script

I have used pstree to find the name of the parent emulator of running shell script using something similar to the following: pstree -s $PPID | awk -F '---' '{print $6}' This works in my current ...
0
votes
2answers
118 views

how to get info about the user and the processes he is running in systemd?

If I wanted to know who is logged in since when and what are the processes currently running under his control, how can I do that in systemd?
2
votes
3answers
102 views

How to list all linux processes that had any network activity during some period of time (past or future)?

I'd like to know which processes use the network: To inspect if any unknown to me (and potentially malicious) programs on my system use the network; To learn the amount of network traffic by the ...
0
votes
1answer
168 views

Too many tabs in Chrome causes whole computer to freeze

When I open too many (more than ~8/9) tabs in Chrome the whole GUI freezes and the mouse pointer doesn't move and the system responds incredibly slowly to keyboard input (~20s delay). I'm assuming it'...
0
votes
1answer
94 views

Haveged service won't run (dead pid)

So my system entropy is low on my centos 6 VM. (137) and I installed haveged, Yum install haveged But when I go to start the process it instantly dies: Process is dead but sub system is locked ...
3
votes
1answer
76 views

List loaded libraries of a process on FreeBSD

How can I list all loaded libraries of a process in FreeBSD? On Linux I can use /proc cat /proc/$pid/maps on Solaris there is pldd pldd $pid For FreeBSD /proc also works: cat /proc/$pid/map ...
0
votes
0answers
104 views

LINUX processes are forking up to thousand of processes again, even after kill command

On one of our boxes, I'm encountering strange problem from time to time.. in.tftpd processes are forking up to thousand of processes, getting server to almost unresponsive state. I've tried various ...
2
votes
4answers
457 views

What is an open file description?

When you fork a process, the child inherits its parent's file descriptors. I understand that when this happens, the child receives a copy of the parent's file descriptor table with the pointers in ...
0
votes
3answers
273 views

Using The Grep Command

I have two simple questions regarding the use of the grep command that I'm sure that someone can help me with. What I want to do is: show the total lines (processes) running as me except for the ...
2
votes
1answer
78 views

lsof misses files

Why does lsof fail to list files I have open. For example I open with the text editor some file in my home directory. $ gedit ~/.python_history lsof does not even work as root $ sudo lsof | grep ...
0
votes
1answer
51 views

Issues executing program

Ultimately I'm trying to get a program to run at start up and work correctly. I have been successful in getting it to show up in running processes after a reboot, but it doesn't seem like it is ...
1
vote
2answers
728 views

Expect script: How to handle two processes?

I am using Expect to automate VoIP calls for quality measurements. My script is calling another VoIP client for a given amount of times. Before the calls should be handled, tcpdump should sniff all ...
1
vote
1answer
587 views

Kill wifi connection

I am trying to debug my wifi which does not work so I want to stop wpa_suppliciant and apply the -d option If I first kill -9 <pid> Then ps -A | grep wpa returns a new pid I am on ...