Pos 420 Unix Worksheet Essay Example
Pos 420 Unix Worksheet Essay Example

Pos 420 Unix Worksheet Essay Example

Available Only on StudyHippo
  • Pages: 1 (360 words)
  • Published: May 16, 2017
Text preview

University of Phoenix Material File Processing Commands Worksheet

  1. What UID and PID have the highest amount of physical memory that a process has used and is not swapped out? Show all processes and full output.
  2. Using a long listing and no process modifiers, what is the swap space amount for the bash command?
  3. When using top command, what command would you use to kill a process?
  4. If you were not using top command, what command would you use to kill a process?
  5. What command would you use to manually mount the standard CD-ROM device /dev/db1 at /media/disk?
  6. What command would you use to display the amount of available disk space on /dev/db1 in a human readable form?
  7. Type in the command grep - - help to access the help manual.

Using this information and the information from the text, how would you write a command to find the pattern “111” in a file called myfile. txt?

  • What UID and PID have the highest amount of physical memory that a process has used and is not swapped
    ...

    out?

    Show all processes and full output. top press f press d press p You'll will find cpu usage in descending order for all processes.

    • Using a long listing and no process modifiers, what is the swap space amount for the bash command? top -p pidof_bash After typing the above command press A (Capital a). You will see the below output.
    • When using top command, what command would you use to kill a process? k
    • If you were not using top command, what command would you use to kill a process? ill processid killall processname
    • What command would you use to manually mount the standard CD-ROM device /dev/db1 at /media/disk? mount /dev/db1 /media/disk
    • What command would you use to display the amount of available disk space on /dev/db1 in a human readable form? df -h /dev/db1
    • Type in the command grep - - help to access the help manual.

    Using this information and the information from the text, how would you write a command to find the pattern “111” in a file called myfile. txt? grep -irna "111" myfile. txt

    View entire sample
    Join StudyHippo to see entire essay