Cisco Headend System Release 2.7 Guida All'Installazione
Stop System Components
4026031 Rev B
19
5 From the root user prompt, type
pgrep –fl cron
and press
Enter
. The DNCS
displays the cron process ID (PID).
Example:
The following are only examples of sample output. Your output is
likely to be different.
If the cron process is running without any child processes, you should see
something similar to this example:
something similar to this example:
pgrep – fl cron
209 /usr/sbin/cron
If the cron process has spawned a child process, you should see something
similar to this example:
similar to this example:
pgrep – fl cron
209 /usr/sbin/cron
14651 sh -c /export/home/dncs/test/tst 2>&1
14652 sh -c /export/home/dncs/tst2 2>&1
Note:
209 /usr/sbin/cron
14651 sh -c /export/home/dncs/test/tst 2>&1
14652 sh -c /export/home/dncs/tst2 2>&1
Note:
The cron process may have spawned multiple child processes.
6 Use the cron PID from step 5 and type
ptree <PID>
and press
Enter
.
7 Does the resulting list only include
/usr/sbin/cron
?
If
yes
, choose one of the following options:
–
On a Solaris 8 system type
/etc/rc2.d/S75cron stop
and press
Enter
. The
system stops all cron jobs on the DNCS.
–
On a Solaris 10 system type s
vcadm -v disable -s cron
and then press
Enter
.
If
no
, (the results from step 6 show multiple cron processes), type
kill -9
<PIDS>
and press
Enter
.
Important
:
List the PIDs in reverse order.
Example: kill -9 14652 14651 209
Note:
If the results from step 6 did not show /usr/sbin/cron, skip the rest of
this section and go to Ensuring No Active Database Sessions on the DNCS
(on page 20).
(on page 20).
8 To confirm that the cron jobs have stopped, type
pgrep -fl cron
and press
Enter
.
The command prompt should be the only item displayed; no processes should be
displayed.
displayed.
Note:
the “l” in “fl” is a lowercase “L.”
9 Is the pgrep process the only process that is listed?
If
yes
, go to Ensuring No Active Database Sessions on the DNCS
(on page 20).
If
no
, call Cisco Services.