Question: Please write simple python program and also explain the logic of program because i am not able to understand anything and i am crying so

Please write simple python program and also explain the logic of program because i am not able to understand anything and i am crying so much.please explain properly with code please Please write simple python program and also explain the logic of programbecause i am not able to understand anything and i am crying

You are tasked with the smooth running of an EC2 instance. Of late, you have been noticing some issues with its performance. To identify which application is causing the issue, you have downloaded the log file which has data collected in the below format (each field value is separated from next value by a space). [Process_Name) (Status) (CPU_Utilization%] (Memory_Utilization%] [Disk_Utilization%] [Network_Utilization%] [Date] [Time) You had noticed that performance issues were generally observed between 10:00 AM to 03:00 PM, due to some application running in the background. So as the first step, you want to identify all such applications which have Utilized CPU, Memory, Disk, and Network more than or equal to 50%. Write a program to identify and print the date and focess name of the applications that satisfy all the above conditions. Print the details in the order of input date. Constraints: Time is specified in 24 hours format CPU Utilization, Memory Utilization, Disk Utilization, and Network Utilization are given in % No space is allowed in the Process name Input is collected from STDIN Input format: [Process_Name) (Status) (CPU_Utilization) [Memory_Utilization] [Disk_Utilization] [Network_Utilization) Date] (Time) Output format: Print all the records that satisfy conditions in the following format [Date) (Process_Name] Sample Input 1 Windows_Command Prompt Running_in_Background 55 69 66 89 01/01/20 14:00 Libro Office Running_in_Background 50 41 25 60 01/02/20 9:00 Libro Office Running_in_Foreground 50 63 71 69 01/08/20 11:00 Apache_HTTP_Server Running_in_Background 62 54 62 87 01/09/20 15:00. Apache_HTTP_Server Running_in_Foreground 97 75 22 60 01/10/20 15:00 Sample Output 1 01/01/20 Windows_Command Prompt 01/09/20 Apache_HTTP_Server der processData(data): # data is a singleline of input from the console 4 *WRITE YOUR CODE HERE 5 6 pass 7. def main(): 8 data=[] 9- for line in sys.stdin: 10 S = line.split() 21 data.append(s) I _2 processData(data) 3 4 5 maino

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!