Answered step by step
Verified Expert Solution
Question
1 Approved Answer
An ISP (Internet Service Provider) has a data file which contains a month's worth of information about user's connect times and bandwidth usage as well
An ISP (Internet Service Provider) has a data file which contains a month's worth of information about user's connect times and bandwidth usage as well as storage usage. There are two types of lines in the file, a connect line for each user connection which has 5 fields containing the login, start and stop times as well as the bandwidth usage broken into the number of bytes in versus the number of bytes out. and daily storage usage lines which contains the number of bytes of disk space being used by the user which has the following format: Write an awk script to find whether the user maynard has a total connect time exceeding 10.000 or if his total bandwidth in or his total bandwidth out exceeds 10,000,000.000 bytes or whose maximum storage for the month exceeded 10.000.000. If any of these conditions are valid, then print out all statistics for the user maynard. The output should look like: maynard Connect Time = 1085 Bandwidth In = 12314457 Bandwidth Out = 98456 Storage = 27846439
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started