Prg 420 Week 2 Ind. Assign.

Only available on StudyMode
  • Topic: Process, Regular expression, Kill
  • Pages : 4 (1214 words )
  • Download(s) : 323
  • Published : November 11, 2012
Open Document
Text Preview
University of Phoenix Material

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.

top - 20:12:57 up 4:14, 2 users, load average: 0.00, 0.00, 0.00 Tasks: 138 total, 1 running, 137 sleeping, 0 stopped, 0 zombie Cpu(s): 1.7%us, 0.7%sy, 0.0%ni, 97.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 499240k total, 303752k used, 195488k free, 25476k buffers Swap: 1015800k total, 0k used, 1015800k free, 134516k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2889 student 20 0 64784 37m 6612 S 1.3 7.6 0:04.08 nxagent 3140 student 20 0 50584 12m 9628 S 0.7 2.5 0:00.66 gnome-terminal 192 root 20 0 0 0 0 S 0.3 0.0 0:19.24 scsi_eh_1 1 root 20 0 2852 1384 1184 S 0.0 0.3 0:00.80 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 4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuset 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenbus 15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 sync_supers 16...
tracking img