Write a python script to generate interesting statistics

Assignment Help Computer Engineering
Reference no: EM132212350

Write a python script to generate some interesting statistics from an Ubuntu auth.log file. Mainly we want to find:

Total number of login failures for ssh.

A histogram of all the user names attempted for logins.

If the total number is >= 100, make the username and number RED.

If it is less than 100, make the username and number YELLOW.

A histogram of all the IP Addresses the attempts came from.

Reference no: EM132212350

Questions Cloud

Determine the length of the entered string : If the entered string is one or more characters in length display the following information about the string and exit the program.
Write the r command to produce a table with the same row : Write the R command to produce a table with the same row and column headings, but the entries are the average temperature for that month and year.
Write a query to display the manager name : Write a query to display the manager name, department mname, department phone number, employee na,e. customer name, invoice date.
Take a string parameter and returns a string containing : Write a function called scramble_words, which takes a string parameter and returns a string containing the same words but randomly reordered.
Write a python script to generate interesting statistics : Write a python script to generate some interesting statistics from an Ubuntu auth.log file. Mainly we want to find Total number of login failures for ssh.
Write a python program that implements a metar class : Write a Python program that implements a Metar class containing a special method that allows you to print out the text of an undecoded METAR.
Write a query to display the first name and last name : Write a query to display the first name, last name, street, city, state, and zip code of any customer who purchased a Foresters Best brand top coat.
How much time has elapsed between the newest and oldest file : Display in days, hours, minutes, and seconds. Use datetime.timediff for each of the three folders.
Give the worst case time complexity in terms of n : Write a recursive and efficient algorithm that counts the number of nodes in a given binary tree at height h = 1, and prints the final count.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Challenges of internet search

State different challenges of relying over the Internet for your research?In extending a single-system mail system to distributed mail system, state the key additions which should be involved? Discuss in scholarly detail.

  Explain the fundamental components of a distributed system

explain the fundamental components of a distributed system.

  Calculate and print the area and circumference of a circle

Write a java program that declares a radius value as an integer of your choice (between 25 and 80) and then calculates and prints.

  Prepare a mips asm program that requests for three numbers

Prepare a MIPS asm program that requests for three numbers from the user. Month, Day, and Year. You may assume that a valid date is given.

  Explain the exertion of one of the sources of power

Select four people currently in the media and discuss their exertion of one of the sources of power. Students must cover all four of the sources.

  In short describe the situation inside your company

It is likely that your organization uses various decision-support programs, as in  programs that automate production, programs for resource optimization, and so on.

  Write the css code for an external style sheet

Write the CSS code for an external style sheet that configures the text to be brown, 1.2em in size, and in Arial, Verdana, or a sans-serif font.

  Calculate the volume and surface area of a sphere

Write a program to read in a radius from the keyboard, and then calculate the volume and surface area of a sphere.

  What factors in computer design would affect the decision

What factors in computer design would affect the decision.

  Creating a program that creates a single tips object

Creating a program that creates a single Tips object

  Create a use case diagram that captures the scenario

A key component of electronic payments by government is an External Certification Authority (ECA) certificate, which enables secure payment transactions.

  Determine highest distance

Determine highest distance

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd