Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using putty: Repeat the process that you used to save the log file that will be produced by this lab. You can either use the

Using putty:

Repeat the process that you used to save the log file that will be produced by this lab. You can either use the log feature on putty or the script command at the shell prompt.

Login to our system and follow these steps while recording your session. Once your session has been recorded. Open your file and next to command prompt, describe what you just have done. i.e. :

fanderson@syccuxfs01:~> ps << this command shows the running processes

PID TTY TIME CMD 1257 pts/5 00:00:00 bash 1596 pts/5 00:00:00 ps

fanderson@syccuxas01:~>

Upload your .txt file to the dropbox. Remember the format:

Question: in this case the command used, then explain what the command does, then

a partial output (using the log feature) of the command. Just like the above example.

use ----------- cut ---------- if the output is too long.

>>>>>>>>>>>>>>>> start here <<<<<<<<<<<<<<<<<

$ ps ax

$ ps ef

$ ps aux

$ps ef f

$ ps -f -u wmorales <<< it can be user userid

$ ps aux --sort=-pcpu,+pmem

$ ps aux --sort=-pcpu | head -5

$ ps -f --forest

$ ps -e -o pid,uname,pcpu,pmem,comm

$ ps -e -o pid,uname=USERNAME,pcpu=CPU_USAGE,pmem,comm

$ ps -e -o pid,comm,etime

$ watch -n 1 'ps -e -o pid,uname,cmd,pmem,pcpu --sort=-pmem,-pcpu | head -15'

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions