On your Linux machine, use ___________ command that displays the memory
Using the previous command, add the ability to have the command output in "human
readable" format
Physical Memory___________________
Total Cached___________________
Available ___________________
Free___________________
Again, use the previous two commands and add the ability to watch the memory in real
time.
Leave that running in the background and open new terminal.
Run the command that create a flag file that will dump your cache memory. What is that command?
What happened? What changed?
Swap Lab
Run the command that will allow you to add to the system config file that will allow you
to change the swap percentage.
What command did you use?
On your Linux machine, use free command that displays the memory
Using the previous command, add the ability to have the command
output in "human readable" format
free -h
Physical Memory 1.9GB
Total Cached 696MB
Available 631MB
Free 135MB


Again, use the previous two commands and add the ability to watch the memory in real time.
top
Leave that running in the background and open new terminal.
Run the command that create a flag file that will dump your
cache memory. What is that command?
sudo swapoff -a && swapon -a
free -h
What happened? What changed?
Swap Lab
Run the command that will allow you to add to the system config file that will allow you
to change the swap percentage.
What command did you use?
sudo swapoff -a && swapon -a
free -h

if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)
On your Linux machine, use ___________ command that displays the memory Using the previous command, add...
Linux ps is a command that displays information about all processes currently running in your system. Read man page of ps command. Enter the following commands: (1) ps-ef more and (1) ps -ef | more and (2) ps-aux | more. Both of these will result in displaying a long list of processes. Identify what processes are started when the system is booted, and what processes are started later on. For each process, find out who owns it, what code it...
WITH SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-3 In this hands-on project, you run processes in the background, kill them using the kill and killall commands, and change their priorities using the nice and renice commands. 1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. 2. At the command prompt, type sleep 6000 and...
On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type sleep 6000 and press Enter to start the sleep com- mand, which waits 6000 seconds in the foreground. Do you get your prompt back after you enter this command? Why? Send the process an INT signal by typing theCtrl+c key combination. At the...
Please write the Linux commands and run them. h. What is the command or commands that would list the contents of the /var/log directory in alphanumeric order? List the command and its output. i. What is the command or commands used to list the files in /var/log in order of their size? List the command and its output. j. What is the command or commands used to list the top 10 file who use the most disk space? What is...
This is done in Linux terminal. Modify the .bashrc file using command line which would add the following functionality to your shell upon opening a new terminal: 1. Alias called “fc” (short for “folder contents) invoking the command “ls -lah”B. Welcome message “This is demo number 7” C. Variable “semester” being equal to “Winter 2020” and print the value on screen 2. Create any directory of your choice and add it to PATH variable. 3. Show an example of local...
On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type ps –ef | grep bash and press Enter to view the bash shells that are running in memory on your computer. Record the PID of the bash shell running in your terminal (tty2): . At the command prompt, type kill –l and press...
with SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-4 In this hands-on project, you view and manage processes using the top command-line utility. 1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. 2. At the command prompt, type top and press Enter. 3. From the output on the terminal screen, record the following information: a....
Boot into your Linux partition (or open Linux in a VirtualBox VM). You will create a new directory in your home directory called csci2020u/lab02. We’ll add this folder to the Git repositories. Use the following steps to complete this lab: 1. Change into the csci2020u directory 2. Make a new directory, called lab02 3. Add the lab02 directory to Git 4. In the lab02 directory, create the directory structure used by Gradle (the files will be initially empty, you can...
Using Linux Create a custom banner that displays the following information when you log into your normal user’s shell (hint: edit ~/.bashrc): “Hello USER” – (make use of the USER environment variable to get the username) “Welome to HOSTNAME” (make use of the HOSTNAME environment variable) System uptime System’s private IP addresses (not full blown ifconfig output, but just a line for each interface that says “The IP address for ETHX is: XXX.XXX.XXX.XXX” – hint: use the grep and awk...
Using Unix/Linux Command line in terminal and C programming. (b) Write a basic C program contained in a1q4.c and perform the following tasks in your program’s main() function: (8 marks) • Declare and initialize at least one variable of these types: char, int, unsigned int, float, double and long double. When initializing your variables, ensure the constants you use are of the same type as your variable. See the “Constants” section of Topic 7 for more information. • Use printf(3)...