Preview

File Processing Commands Worksheet

Satisfactory Essays
Open Document
Open Document
385 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
File Processing Commands Worksheet
University of Phoenix Material

Sara Eisenhower

POS/433

June 29, 2015

David Horvath

University of Phoenix

File Processing Commands Worksheet

What UID and PID have the highest amount of physical memory a process has used and is not swapped out? Show all processes and full output.

UID – “d” PID = “A"

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22 root 20 0 0 0 0 S 0.7 0.0 4:11.36 ata/0 212 root 20 0 0 0 0 S 0.7 0.0 2:09.14 scsi_eh_1 3249 student 20 0 80492 37m 6152 S 0.3 7.6 0:01.23 nxagent 3276 nx 20 0 3172 528 456 S 0.3 0.1 0:00.05 nc 3486 student 20 0 49496 11m 9444 S 0.3 2.3 0:00.13 gnome-terminal 3504 student 20 0 2672 1140 880 R 0.3 0.2 0:00.04 top 1 root 20 0 2852 1376 1180 S 0.0 0.3 0:00.88 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0

If using a long listing and no process modifiers, what is the swap space amount for the bash command?

[student@bsit_rh61 ~]$ toptop - 00:35:03 up 18:08, 2 users, load average: 0.01, 0.02, 0.00Tasks: 138 total, 1 running, 137 sleeping, 0 stopped, 0 zombieCpu(s): 0.3%us, 1.3%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%stMem: 507472k total, 308388k used, 199084k free, 33048k buffersSwap: 1015800k total, 0k used, 1015800k free, 133664k cached

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?

killall or kill <PID>

What command would you use to manually mount the standard CD-ROM device /dev/db1 at /media/disk?

mount -t vfat/dev/db1/media/disk

What command would you use to display the amount of available disk space on /dev/db1 in a

You May Also Find These Documents Helpful

  • Good Essays

    final exam

    • 1020 Words
    • 5 Pages

    TCO (2) In DOS, you use the ____ command to create a partition, and the format command to prepare the partition for use.…

    • 1020 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    3 2 Work File A

    • 538 Words
    • 2 Pages

    3) What level of education/certification must you have for this career? 4 years at a university…

    • 538 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It250

    • 272 Words
    • 2 Pages

    Following the job number, the shell displays the ________ number—a larger number assigned by the operating system.…

    • 272 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Following the job number, the shell displays the ________ number—a larger number assigned by the operating system.…

    • 2385 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    Operating System

    • 1099 Words
    • 5 Pages

    Answer: d. It redirects the output of one command to the input of another command.…

    • 1099 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Guide to Unix Chapter 2

    • 999 Words
    • 4 Pages

    9. In UNIX and Linux systems, what source of extra memory space is used when…

    • 999 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    File Processing Commands

    • 354 Words
    • 2 Pages

    3 PID %MEM VIRT SWAP RES CODE DATA SHR nFLT nDRT S PR NI %CPU COMMAND…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unix processes are instances of an executed program. UNIX, being a multi task operating system handles thousands of processes at a time. We are able to check on what processes are currently running by typing ps at the UNIX prompt. Depending on the options used with the ps command, we can see different outcomes such as $ps -ef | more. This will list all the processes in the system. Some items you might see using the ps command are PID which is the process ID number, TT or TTY shows the controlling terminal for the process. If there is no controlling terminal then a question mark is used.…

    • 567 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 1 Study Guide

    • 846 Words
    • 4 Pages

    28. What is the purpose of the |more parameter at the end of a command line?…

    • 846 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    1) First go to the website www.statdisk.org and then scroll down to the bottom of the page to download…

    • 622 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Linux Assignment 3

    • 1307 Words
    • 6 Pages

    PID process identification numbers. Each of these numbers identifies the command running in the background. You can use the PS (process status) utility to display the PID numbers of running commands.…

    • 1307 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 2 Lab Report

    • 822 Words
    • 4 Pages

    4. Take a screen shot of the Disk Management snap-in that shows the volumes you created by pressing Alt + Prt Scr, and the paste the resulting image into the Lab02_worksheet file in the page provided by pressing Alt + V.…

    • 822 Words
    • 4 Pages
    Satisfactory Essays
  • Better Essays

    #include #include float avg_wt,avg_tt; int i = 0,ttl_wt=0,ttl_tt=0,qt; struct process { int prn; char type; int bt; int wt; int tt; struct process *nxt; }*stfor,*stbck,*np,*endfor,*endbck,*temp; void ins_node(struct process *np) { if(np->type == 'f') { if(stfor == NULL) stfor = endfor = np; else { endfor->nxt = np;…

    • 401 Words
    • 2 Pages
    Better Essays
  • Satisfactory Essays

    Nnmn

    • 361 Words
    • 2 Pages

    SL NO Policy No 1 2 164453542 165097380 Mode (Q/H/Y) Half Yearly Yearly Prem ium Am ount (Rs) 6337 48040 Total Am ount (Rs) 12674 48040…

    • 361 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    04 Utilization

    • 353 Words
    • 5 Pages

    Total utilization of each processor = u = u1 + u2 + …. + un…

    • 353 Words
    • 5 Pages
    Satisfactory Essays