Question: Assignment 1 and 3 have been solved here before Assignment 5 : Monitoring tools: an introduction to some of the UNIX administrative commands. In this

Assignment 1 and 3 have been solved here before
Assignment 5: Monitoring tools: an introduction to some of the UNIX administrative commands.
In this exercise follow the directions for Assignments 1 and 3, Part 1. When a question is asked, put your answers in a file called: admin.docx. For answers consult the man pages and any other Internet sources you can find. Also append to this file the results of doing the following UNIX command-line steps on the lxcluster. Bear in mind that different UNIX systems will use variants for administrative command line options and output! You may have the ability to use the sudo(1) command to install these tools.
Step 0:
Question 1: what is the purpose of the ps (1) command?
Execute the ps efl | more command
Question 2: what is the meaning of the values under the following column headers: UID, PID PPID, C, PRI, and SZ?
Step 1:
Question 3: what is the purpose of the time (1) command?
Execute the command time ps-efl
Question 4: what is the meaning of the time output?
Step 2:
Question 5: what is the purpose of the ip (8) command?
Execute the ip addr command
Question 6: what is the name of the network loopback device?
Question 7: what are the IP addresses (NOT the MAC address) of all active network interface devices?
Step 3(skip this one because the networking tools are not installed); to install use: $ sudo apt install net-tools
Question 8: what is the purpose of the netstat(8) command
Execute the netstat a | more command
Question 9: what is the meaning of the state terms: LISTEN, SYN_SENT, SYN_RECV, ESTABLISHED, FIN_WAIT_1, and FIN_WAIT_2?
Step 4:
Question 10: what is the purpose of the vmstat(8)(may be called vm_stat(1) instead?)
Question 11: what is the purpose of the optional parameters?
Execute the vmstat command (with no parameters)
Question 12: What is the meaning of the fields displayed?
Step 5(skip this one as the networking tools are not installed); to install use: $ sudo apt install sysstat
Question 13: what is the purpose of the iostat(1) command?
Execute the iostat command (note: the output may not be well formatted)
Question 14: what is the meaning of the values under the column headings?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!