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

  Questionconsider an adt called squarematrix the matrix can

questionconsider an adt called squarematrix. the matrix can be represented by a two-dimensional array of integers with

  What steps might you take to gain the cooperation

Hypothetically speaking, you are assigned to a committee of three to decide on a dress code for Campbellsville University Staff and Faculty.

  Is a project that a systems analyst might be involved in why

How might a company really determine the return on investment for server virtualization? Is this a project that a systems analyst might be involved in? Why or why not?

  Are their natural clusters in the data

STA 141A Fall 2016 Assignment Topic: R Programming. Are their natural clusters in the data? Are these clusters related to different natural strata determined by the values of the categorical variables like Ed, Race, Sex, Smoke

  Create a form using while and for loop with textbox

Create a form using While and For loop with textbox to enter loan amount, term of the loan in year, starting annual rate, ending annual rate and rate step value

  Write a gui that will let the user sample several types

Write a GUI that will let the user sample several types of borders using a drop-down menu.

  Perform basis path testing to the average function

White-box software testing techniques. Perform basis path testing to the average function.

  Describing what is e-commerce and mobile technology

Your company is experiencing decline in business because of competition. Your manager thinks they may be able to turn the company around if they can get help.

  Give description of the network design plan

For the equipment price list, make up price list based on fair market value for each peice of equipment. Do the same for the labor costs.

  You work for a regional forensic computer lab and have been

you work for a regional forensic computer lab and have been tasked with recovering all data from a suspects cellular

  How to write code for selection sort, insertion sort

How to write code for selection sort, insertion sort. Using your performance of selection, bubble and insertion sort, add a counter in an appropriate place so as to measure the runtime of your code for example this capacity be a counter to track ..

  Consider a two-dimensional integer array of size n x m

Consider a two-dimensional integer array of size n x m that is to be used in your favorite programming language.

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