Question: 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

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!