The problem comes up when you run couple of python scripts. in top at command, it shows only 'python' with these scripts. How to rename a process or otherwise tag it so that I could tell them apart in top?
To run the top command, type top in the command line and press Enter. The command starts in interactive command mode, showing the active processes and other system information. Customize the view using the available options.
The top command (table of processes) displays the processor activity of your Linux box and also displays tasks managed by the kernel in real-time. It also shows information about CPU and memory utilization of a list of running processes.
Top's first line, top, shows the same information as the uptime command. The first value is the system time. The second value represents how long the system has been up and running, while the third value indicates the current number of users on the system.
Pressing “c” toggles the COMMAND column between displaying the process name and the full command line.
Simply use the --full-commands
option to show the full command line for each process :
top -c
Press "c
" and display the command-line - that will allow you to see what they are.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With