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