【转】sdemon命令实践

ArcSDE Instance esri_sde Status on ZHIYONG at Fri Apr 02 15:39:29 2010 ------------------------------------------------------------------------- Server Connection Mode:         Accepting Connections Active Server Processes:        1   说明:查看当前sde服务器的状态,两个参数分别表示连接模式和活动进程。     Kill the 1 registered server task(s) and shutdown ArcSDE,    ARE YOU SURE (Y/N)? : y Killing 1 ArcSDE Process(es) . . . ArcSDE Instance esri_sde on zhiyong is Shutdown!   C:\>sdemon -o status   ArcSDE Instance esri_sde Status on ZHIYONG at Fri Apr 02 15:45:33 2010 ------------------------------------------------------------------------- ArcSDE instance esri_sde is not available on ZHIYONG.   说明:停止当前sde服务。   esri_sde service failed during initialization. Please check event log or error log files. Error starting esri_sde service on zhiyong (-1) Operation Failed, Unable to start iomgr.   C:\>sdemon -o start -i esri_sde -s zhiyong -p sde ArcSDE Instance esri_sde started Fri Apr 02 15:47:03 2010   C:\>sdemon -o status   ArcSDE Instance esri_sde Status on ZHIYONG at Fri Apr 02 15:47:13 2010 ------------------------------------------------------------------------- Server Connection Mode:         Accepting Connections Active Server Processes:        1   说明:启动sde服务,和使用windows系统中启动服务的优点在于能看到提示信息。如果一次启动不成功,可以多启动几次。一般情况会发生在初次安装的时候,最后一步总是启动不成功,可以尝试使用命令解决问题。     ArcSDE Instance esri_sde on ZHIYONG is Paused, no further connections will be al lowed.   C:\>sdemon -o status   ArcSDE Instance esri_sde Status on ZHIYONG at Fri Apr 02 15:51:16 2010 ------------------------------------------------------------------------- Server Connection Mode:         Paused/Block Connections Active Server Processes:        1     说 明:此功能是将服务处于暂停状态,最明显的标志是Server Connection Mode表现为Paused/Block Connections。此时如果使用客户端进行连接,则会报错,信息为:Faild to connect to database SDE not accepting connecting requests。可以使用sdemon –o resume命令恢复连接状态。     ArcSDE Instance esri_sde on ZHIYONG is Resuming, new connections will now be all owed.   C:\>sdemon -o status   ArcSDE Instance esri_sde Status on ZHIYONG at Fri Apr 02 15:54:55 2010 ------------------------------------------------------------------------- Server Connection Mode:         Accepting Connections Active Server Processes:        1     说明:恢复服务器的连接状态。     ArcSDE Instance esri_sde Registered Server Tasks on ZHIYONG at Fri Apr 02 15:59: 06 2010 ------------------------------------------------------------------------- S-ID   User     Host:OS                          Started ----- -------- -------------------------------- ------------------------ 18    TESTSDE ZHIYONG:Win32                    Fri Apr 02 15:13:43 2010 19    SDE      ZHIYONG:Win32                    Fri Apr 02 15:55:37 2010   说明:sdemon -o info -I <{users | config | stats | locks | vars | instance}> [-q] {[-i <service>] [-s <server_name>] | [-H <sde_directory>]},用来查看当前服务器连接的人数,配置信息以及示例等信息。5个参数代表查看不同的信息。此句可以显示当 前连接的用户数为2人。     ArcSDE I/O Manager Process Management on Fri Apr 02 16:20:53 2010 ------------------------------------------------------------------------- Kill All Servers?     ARE YOU SURE (Y/N)?: y   C:\>sdemon -o info -I users   ArcSDE Instance esri_sde Registered Server Tasks on ZHIYONG at Fri Apr 02 16:21: 06 2010 ------------------------------------------------------------------------- There are no ArcSDE users logged in.     说明:删除当前连接用户。
posted @ 2012-07-16 18:38  adodo1  Views(119)  Comments(0Edit  收藏  举报