Processes And Systems Services Chapter 10

Which of the following file types can create processes on a Linux system? (Select two.)
Click the card to flip 👆
1 / 40
Terms in this set (40)
During the process of troubleshooting a resource issue on a server, a technician enters the following command and receives the output showing zombie processes.

[user@centos7]#ps aux |grep Z

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDljenkins 2346 0.0 0.0 0 0 ? Z 08:44 0:02 [kdmflush] ljenkins 3365 0.0 0.0 0 0 ? Z 08:64 0:14 [bioset]ljenkins 3812 0.0 0.0 0 0 ? Z 09:31 0:05 [bioset] ljenkins 4957 0.1 0.0 0 0 ? Z 10:16 0:35 [email-client] ljenkins 5276 0.1 0.0 0 0 ? Z 12:04 0:45 [email-client]

What should the technician do NEXT to resolve the issue with kdmflush zombie processes?
What is the default nice value for a process not executed with the nice command?0What command would you enter at the command prompt to start the gedit program in the background?gedit &You have several processes running in the background, as shown by the jobs command below: [1]+ Running gedit & [2]+ Stopped crontab e What command will bring the gedit program to the foreground?fg 1What would you enter at the command prompt to start the gedit process with the highest priority possible?nice -n -20 geditYou need to send a process to the foreground. Which command should you enter to identify the job ID for the process?jobsA developer calls you with a problem. They were trying to debug a new daemon and mistakenly placed it on the production machine instead of on a lab machine. To ensure that the CPU gives preference to other processes, you need to lower the daemon's priority. The PID number is 2345. Which command would you use to decrease the daemon's priority?renice -n 10 2345A developer calls you with a problem. She was trying to debug a new daemon and mistakenly placed it on the production machine instead of on a lab machine. It has now entered runaway mode. The PID number is 2345. She attempted to stop the process with the standard kill command, but it had no effect. Which command would you use to assure that the process will terminate?kill -9 2345What is the result of the nohup gedit & command?gedit will start in the background and persist in the background after logging out of the shell.After a severe lightning strike nearby, a number of processes seem to be running on the server in runaway mode. What utility would terminate these processes by name and not just by process ID number?killallThe /sbin/grpck process is not responding and needs to be killed. There are multiple instances that were spawned and need to be terminated. Which of the following commands will terminate all instances of the grpck process?pkill -SIGTERM -f grpckWhat should you enter at the command prompt to remove tasks 2 and 3 in the at queue?atrm 2 3Which command should you enter at the command prompt to list the tasks in the at queue for the current user?at -lWhich of the following statements best describes the effects of having only the gshant user account listed in the /etc/at.allow file?Only gshant and root can use the at command.Which crontab option should you use to display the contents of the crontab file for the current user?-lWhich command could you use to verify whether a crontab file exists for the thobbs user?crontab -l -u thobbsWhich file should you edit if you want to permit specific users to edit their respective crontab file but deny all other users on the system from editing their crontab file?/etc/cron.allowYou are editing the crontab file and want an entry to run every hour at five minutes past the hour. Which of the following entries will accomplish this task?5 * * * * /home/emmett/example.shYou have an anacrontab file with the following settings: RANDOM_DELAY=35 START_HOURS_RANGE=17-23 #period in days delay in minutes job-identifier command1 5 cron.daily nice run-parts /etc/cron.daily7 20 cron.weekly nice run-parts /etc/cron.weekly@monthly 50 cron.monthly nice run-parts /etc/cron.monthly Between which hours of the day will tasks scheduled with anacron start to run?Between which hours of the day will tasks scheduled with anacron start to run?: Between 5:00 p.m. and 11:00 p.m. If the system was down during the time period a weekly task was scheduled to run, what is the minimum amount of time anacron will wait to run a task after the system is back up?: 20 minutes If the delay for daily tasks is 5 minutes, how much time will anacron add to the delay of 5 minutes before it runs the scheduled daily task?: A randomly chosen number of minutes between 0 and 35What is the full path and filename of the file that is used to schedule tasks for the anacron daemon?/etc/anacrontab/What service does cron rely on to run the scripts in the /etc/cron.daily, /etc/cron.weekly, and /etc/cron.monthly directories?anacronYou need to set the system date and time using the date command. Which date option should you use?-sFor what purpose would you edit the /etc/localtime file?Set the current time zone.Which commands can you use to change the time zone (TZ) environment variable? (Select two.)1. tzconfig 2. tzselectWhich hwclock option sets the system time to the current hardware clock time?-sYou need to set the hardware clock to the same value as the system clock. Which command should you use?hwclock -wWhich of the following commands will set the system time to match the time server on the network at 192.168.1.10?netdate 192.168.1.10Your system time is over thirty minutes different than the time on the NTP time provider. When you use the ntpd command, the time is not updated. Which ntpd option should you include?-gWhich of the following represent a cluster of NTP time providers?pool.ntp.orgYou want to configure the NTP daemon to receive time from pool.ntp.org. What entry should you place in the /etc/ntp.conf file?server pool.ntp.orgYou are using a systemd-based Linux system and have made changes in the /etc/ntp.conf file. Which of the following commands should you use to implement these changes?systemctl restart ntpd