shell script to write certain information to a log file

Encerrado Postado há 2 anos Pago na entrega
Encerrado Pago na entrega

You are an IT support engineer and you have been asked to build a GNU/Linux bash script that monitors a computer system and user activity regularly and logs key information. You need to create a script “[login to view URL]” that automatically and regularly writes to a log file “[login to view URL]”. The log file will need to contain time-stamped detailed information about significant changes to the following:

a) Users currently logged in

b) Current processes

c) Top 5 CPU utilizing processes

d) Devices plugged in (e.g. USB)

e) Disk usage

1. Overall disk usage

2. The user’s home directory (/home/someuser…)

3. Other key directories

f) Network interfaces and their states

g) Any other relevant information…

The script will need to be written to extract only key details about the changes to the computer system such as listed above and add them to an ever-growing log file. Hence the log file should consist of easily readable key details only. For pass level you are expected to write a script that satisfies a) to f) listed above. For higher marks you are expected to add relevant extra information (e.g. monitoring OS system file changes, monitoring installed applications, etc.) and relevant features, more easily readable output (e.g. HTML), configurable log levels (e.g. verbose, debug, standard and key-details only), etc.

Linux Shell Script

ID do Projeto: #32203237

Sobre o projeto

4 propostas Projeto remoto Ativo em há 2 anos

4 freelancers estão ofertando em média ₹13463 nesse trabalho

sureshp2007

We can develop the shell script and store the output into logfile. We have some doubts:- 1. What is the log file size in MB or Number of lines? 2. Daily new log will be created or only one log file will be maintained? Mais

₹50000 INR in 5 dias
(0 Comentários)
0.0
NithyaMurugesan

I work in Unix environment for more than 10 years. This task is cake-walk for me. I'm interested in this task.

₹1050 INR in 2 dias
(0 Comentários)
0.0
Colin28

Hello, Sysadmin here, I can help you creating the bash script. I have a lot of Linux distros experience and I can create the script for every distribution u want.

₹1450 INR in 7 dias
(0 Comentários)
0.0