Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING UNIX/LINUX COMMAND LINE IN TERMINAL. What letter (character) would you type while top(1) is running (interactive command) to: (a) sort process by decreasing percentage-of-memory

USING UNIX/LINUX COMMAND LINE IN TERMINAL.

image text in transcribed

What letter (character) would you type while top(1) is running (interactive command) to: (a) sort process by decreasing percentage-of-memory usage? (b) print the command the user typed to start each process. For instance, a process may be running a program called 1s, but the user may have typed "/bin/ls -lah" to start it. By default, top shows (just) the program name in the COMMAND field. Hence, in this example top will report (just) "ls". What character would you type to top while it is running to have it display "/bin/ls -lah" for this process instead (and analogously for all other processes)? Include output from top to demonstrate the effect of the character you specified/typed. A cut-and paste of the interactive window is fine. Hint: recall one can search through a man page by pressing / and entering a regular expression pattern. Press N to advance to the next match and Control + Nto see the previous match

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions