A process is an instance of a computer program that is being executed.
14
votes
3answers
16k views
How to monitor CPU/memory usage of a single process?
I would like to monitor one process's memory / cpu usage in real time. Similar to top but targeted at only one process, preferably with a history graph of some sort.
43
votes
6answers
11k views
Keep SSH Sessions running after disconnection
I sometimes have long running processes that I want to kick off before going home, so I create a SSH session to the server to start the process, but then I want to close my laptop and go home and ...
13
votes
3answers
1k views
How can I set the processor affinity of a process on Linux?
The question is all in the title: How can I set the processor affinity of a process on Linux?
11
votes
5answers
2k views
What is using this network socket?
I'm trying to use NTP to update the time on my machine. However, it gives me an error:
host # ntpdate ntp1.example.org
10 Aug 12:38:50 ntpdate[7696]: the NTP socket is in use, exiting
What does the ...
6
votes
2answers
466 views
Viewing foreground process using ps
I can see the background process using ps. But Is there a way to view the foreground process? For example,
$nohup process1 &
then
ps -ef | grep "process1"
would display the process ...
6
votes
2answers
288 views
How to find tty from which a particular cmd “scp” is executed
How can I find out who executed a particular command and which terminal was used to run it?
Original:
how can i know particular cmd is executed by whom and to know about my terminal