Company: Citi Bank - Hirepro
Difficulty: medium
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 and 03:00 PM, due to some application running in the Running_in_Foreground . 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 75%. Write a program to identify and print the date and Process name of the applications that satisfy all the above conditions. Print the details in the order of input date. Read the input from STDIN and print the output to STDOUT. Do not print arbitrary strings anyw