• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/21

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

21 Cards in this Set

  • Front
  • Back
Which command sends a signal to a process?

1. kill
2. pkill
3. priocntl
4. ptree
1. kill
2. pkill
Which commands can be used to list processes?

1. pkill
2. ps
3. ptree
4. pgrep
2, 3 & 4

2. ps
3. ptree
4. pgrep

Although pgrep without arguments doesn't list processes.
Which would display a full list of processes and not just those of the user running the command?

1. ps
2. ps -Af
3. ps -ef
4. none of the above
both 2 & 3

2. ps -Af
3. ps -ef
What graphical interface is available to manage processes?
Solaris Management Console (SMC)
What filesystem is the Process File System used for tracking processes?
PROCFS or /proc
When using pkill & kill, what number corresponds to which signal.

Number
1
9
15

SIGNALS:
SIGHUP
SIGTERM
SIGKILL
1 -> SIGHUP
9 -> SIGKILL
15 -> SIGTERM
With no arguments, what signal is sent to the process id?
15 or SIGTERM
The lpsched process has a PID of 214. What command will terminate this process?

1. pkill lpsched
2. kill -9 214
3. kill -15 214
4. pkill -9 lpsched
All of them will kill the process. Some more deadly than others.
Processes are assigned a process class, how do you view the class of your processes currently running?

1. priocntl -l
2. dispadmin -l
3. ps -c
4. only root can view these
3. ps -c

Under the column heading "CLS"
Which command displays the configured process classes for your system?

1. ps -c
2. priocntl -l
3. dispadmin -l
4. ps -l
2. priocntl -l
3. dispadmin -l
Each process has a 'nice' number from 0 to 39. The /usr/bin/nice command, when used with no arguments will do what?

1. increase the process nice number by 4
2. decrease the process nice number by 4
3. results in an increase of the process priority
4. results in a decrease of the process priority
Both 1 & 4

It increases the nice number by 4, wich results in a decrease in priority because the higher the nice number the lower the process priority.
You are the root user, which command could you use to increase the process priority for proc1?

1. nice +10 proc1
2. nice -10 proc1
3. nice proc1 +10
4. nice proc1 -10
2. nice -10 proc1
With the following crontab entry:
30 7 * * * /usr/local/scripts/nbcheck.sh

When is this script automatically run?

1. Every day at 7:30am
2. July 30th each year
3. Every 7 minutes & 30 seconds
4. Every 30 days at 7:00am
1. Every day at 7:30am
What command & argument will display/list your crontab entries?
crontab -l
What command & argument do you use to edit crontab entries?
crontab -e
You are the root user, what command do you use to modify the crontab entries for the user oracle?
crontab -e oracle
Which directory contains the individual user's crontab files?

1. /etc/cron
2. /usr/crontabs
3. /var/cron/crontabs
4. /var/spool/cron/crontabs
4. /var/spool/cron/crontabs
The crontab has 6 fields, put these in order as they are in a crontab.

1. hour
2. numeric day of week (0-6, Sunday =0)
3. day of month
4. numeric month (1-12)
5. job/command to run
6. minute
Fields in Order:
6--1--3--4--2--5

minute
hour
day of month
numeric month
numeric day of week
job/command to run
Provide the crontab entry to run the command:
echo "Happy Birthday"
at 4:30pm on April 12th.
30 16 12 04 * echo "Happy Birthday"
What file must you create to list users that can create crontab files?

1. crontab
2. cron.allow
3. crontab.allow
4. allow
2. cron.allow
What is the major difference between running a job using 'at' or using 'crontab'?
The 'at' job runs a single time, but 'crontab' jobs can be scheduled to repeat automatically.