File Processing Commands Worksheet
What UID and PID have the highest get along of physical memory a process has used and is not swapped out? Show all processes and full output.
first conjure spinning discharge, then F, followed with D, then P. Pressing Top pompositys the current processor processes. F adds or removes fields onto the display. D for delay and P for PID. Another way would just type A and D. A would display PID and d would display UID. This method for or so reason that not show up with me though.
If using a long listing and no process modifiers, what is the swap dummy make out for the bash mold?
To get the swap lay amount for bash command, You would press Top, followed by -p pidof, press f, p and then enter.
1 PID USER PR NI VIRT reticuloendothelial system SHR S %CPU %MEM prison term+ COMMAND
2021 xyz 20 0 XXXXX XXXX 1664 S 0 0.2 0:00.43 bash
2 PID PPID TIME+ %CPU %MEM PR NI S VIRT SWAP RES UID COMMAND
2901 2019 1:14.09 0 0.3 30 0 S 79482 28m 3867 1100 bash
3 PID %MEM VIRT SWAP RES CODE DATA SHR nFLT nDRT S PR NI %CPU COMMAND
2021 0.2 22132 16m 4952 XXX XXXX X664 1 0 S 20 0 0 bash
When using top command, what command would you use to kill a process?
utilise top command, just press k
If you were not using top command, what command would you use to kill a process?
Killall (process name)
Killprocess
What command would you use to manually mount the standard CD-ROM finesse /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, this would display the amount of space availabe in a clear way.
Type in the command grep - - help to access the help manual. Using this tuition and the information from the text, how would you write a command to find the design 111 in a file called myfile.txt?
grep - 111 myfile.txtIf you want to get a full essay, order it on our website: Orderessay
If you want to get a full essay, wisit our page: write my essay .
No comments:
Post a Comment