| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 34.1 | clean means what it says!! | OPG::PHILIP | And through the square window... | Tue Oct 13 1992 10:19 | 13 | 
|  | Dave,
  The 'clean' option will remove all the temporary files that get created
  in the /var/cm/tmp directory, and additionally, kill any cm processes
  that are found to be running on the system (so you dont have to do a
  'ps -ax | grep cm' then kill each process you find) all this ensures
  that we startup in a known state, so the "To restart...." message is
  valid and I beleive it should stay, hopefully all will be revealed
  when we get the documentation finished.
Cheers,
Phil
 | 
| 34.2 | More feedback | VINO::DBIGELOW | Innovate, Integrate, Evaporate | Tue Oct 13 1992 15:43 | 56 | 
|  |     Phil,
    
    Here's some of the script using the -clean option.
    
    # ps -aux | grep cm
    root      4936  0.0  0.1   40   32 p0 S      0:00 grep cm
    
    
    # cm_startup
    
    # ps -aux | grep cm
    root      4961 34.9  7.3 3028 1944 p0 R      0:01 /var/cm/actions/cm_eventlist
    root      4957  0.0  1.4  532  376 p0 S      0:00 /usr/bin/cmd
    root      4967  0.0  0.1   40   32 p0 S      0:00 grep cm
    root      4956  0.0  1.4  536  372 p0 S      0:00 /usr/bin/cmd
    root      4954  0.0  1.4  492  376 p0 S      0:00 /usr/bin/cm_ensd
    
    # cm_startup - clean
    
    There is a Notification process running on the machine
    
    There are CM Daemon processes running on the machine
    # ps -aux | grep cm
    root      4995 13.4  6.4 3196 1712 p0 S      0:01 /var/cm/actions/cm_eventlist
    root      4957  0.0  1.3  544  344 p0 S      0:00 /usr/bin/cmd
    root      4990  0.0  1.2  536  324 p0 S      0:00 /usr/bin/cmd
    root      4988  0.0  1.2  492  316 p0 S      0:00 /usr/bin/cm_ensd
    root      4961  0.0  6.4 3180 1700 p0 I      0:01 /var/cm/actions/cm_eventlist
    root      4991  0.0  1.3  552  348 p0 S      0:00 /usr/bin/cmd
    root      4956  0.0  1.2  536  324 p0 S      0:00 /usr/bin/cmd
    root      4954  0.0  1.2  492  316 p0 I      0:00 /usr/bin/cm_ensd
    root      5007  0.0  0.1   40   32 p0 S      0:00 grep cm
    
    
    Note that I did not stop CM before issuing the startup and now appear
    to have multiple processes.
    If I then issue a shutdown command (cm -s), then not all the processes
    get killed. As a matter of fact, everything still works, except for 
    the shutdown as evidenced below:
    
    # cm -s
    Do You Really want to Shutdown ConsoleManager? (N) :y
    Socket connect error - /var/cm/tmp/CM_CONTROL
    No such file or directory
    ps -aux | grep cm
    root      4957  0.0  1.5  544  392 p0 S      0:00 /usr/bin/cmd
    root      5034  0.0  0.1   40   32 p0 S      0:00 grep cm
    root      4961  0.0  6.4 3196 1716 p0 I      0:01 /var/cm/actions/cm_eventlist
    root      4956  0.0  1.4  536  372 p0 S      0:00 /usr/bin/cmd
    root      4954  0.0  1.4  492  376 p0 I      0:00 /usr/bin/cm_ensd
    root      4995  0.0  6.4 3196 1716 p0 I      0:01 /var/cm/actions/cm_eventlist
    
    
Cheers,
    
    Dave
 | 
| 34.3 | Syntax Dave. | OPG::SIMON |  | Wed Oct 14 1992 10:53 | 10 | 
|  | Dave,
	the syntax for the cm_startup does not include
a - sign.
	cm_startup clean will work. I can change the text
output if you like, what do you consider to be more 
appropriate. I shall also look at putting in a trap for
incorrect syntax.
Cheers Simon....
 | 
| 34.4 | How about ... | VINO::DBIGELOW | Innovate, Integrate, Evaporate | Wed Oct 14 1992 14:38 | 18 | 
|  |     Simon,
    
        How about something like:
    
          Stopping Console Manager daemon process pid xxxxxxxx
          Stopping Console Manager ENS daemon pid xxxxx
          Stopping ...
          .
          .
          .
          Starting Console Manager daemon
          Starting Console Manager ENS
          Starting ....
          .
          .
          .
    
    Dave
 |