Quote:
Originally Posted by
Maddy123
We found CPU is high due to python process .Is this something that Oracle team should look on or Unix team has to work on it ?Could you please advise use of python process ?
Python is a is a scripting language like ksh, perl, PHP, etc.. See
this link. Therefore, it depends on which python script is in fact running. Use
ps -o [options] and add options to the ps command to display detailed information about the script. See the man page of "ps" for details about possible options. I suggest starting with "args" (complete command with all arguments), "time" (cumulative CPU time), "vsz" (virtual memory consumption in 4k-pages) and work from there.
The following outcomes are possible (note, the list is not complete):
1) process has gone wild
If the process normally should not consume so much CPU but for now does you have to kill it and perhaps start over. This can be regarded as a bug and the programm should be modified to avoid such situations in future.
2) this is the way the process works
depending on what the process is supposed to do it may need that much CPU. If this is the case the only thing which helps is a bigger system with more CPU resources.
I hope this helps.
bakunin