最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Run As Service runassrv.exe 詳細(xì)參數(shù)第1/2頁(yè)

 更新時(shí)間:2007年10月15日 20:40:38   作者:  
Run As Service

把任何可執(zhí)行文件(包括批處理和角本)當(dāng)作系統(tǒng)服務(wù)運(yùn)行的工具

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
介紹:

  ■ 將任何可執(zhí)行文件作為系統(tǒng)服務(wù)運(yùn)行。
  ■ 開始主要是為了移植一些linux 的 daemon;也可以用于啟動(dòng)任何應(yīng)用程序和維護(hù)性角本。
  ■ 安靜地運(yùn)行,除非指定了 Interactive 模式,否則不會(huì)彈出任何窗口。
  ■ 無(wú)需登陸,系統(tǒng)啟動(dòng)后自動(dòng)運(yùn)行,無(wú)需等待用戶登陸完畢。
  ■ 作為附帶的功能,支持啟動(dòng)、停止和刪除任何系統(tǒng)服務(wù)。
  ■ 完整接管系統(tǒng)服務(wù)管理器的指令(啟動(dòng)、停止等等)。運(yùn)行的程序終止后,自動(dòng)向服務(wù)管理器提交狀態(tài)同時(shí)自身退出,不會(huì)駐留內(nèi)存。

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
1.1.0.628 版新增內(nèi)容:

  ■ 所有 Action (例如:add / remove 等)無(wú)需再加前綴。
  ■ 新增 pause / continue 操作。
  ■ 現(xiàn)在開始,一個(gè) runassrv 服務(wù)可以并發(fā)運(yùn)行多個(gè) /cmdline 指定的應(yīng)用。
  ■ runassrv.exe 本身不需要放入系統(tǒng)搜索路徑中了。
  ■ 新增 control 操作,向指定的服務(wù)發(fā)送控制碼。
  ■ 新增 listsrv 操作,列出所有服務(wù)和驅(qū)動(dòng),支持很多過(guò)濾條件。
  ■ 新增 -logfile 和 -loglevel 選項(xiàng),日志記錄功能。
  ■ 新增 -unstoppable 系統(tǒng)服務(wù)管理器將拒絕停止一個(gè)以該選項(xiàng)安裝的服務(wù)。
  ■ 內(nèi)存收縮策略,典型情況下內(nèi)存開銷少于 300KB。
  ■ 解決了在某些系統(tǒng)上 start / stop 命令無(wú)效的問(wèn)題。

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
1.1.2.803 版新增內(nèi)容:

  ■ 如果指定了多個(gè) /cmdline 參數(shù),那么服務(wù)啟動(dòng)時(shí),用戶命令將會(huì)按照 /cmdline 的指定順序逐個(gè)執(zhí)行。
  ■ 每條用戶命令都將等待上條 /cmdline 命令就緒后才開始執(zhí)行,保證有依賴關(guān)系的命令可以正常運(yùn)行。(參見(jiàn):“關(guān)于執(zhí)行就緒”)
  ■ 為每條命令設(shè)置默認(rèn)的“當(dāng)前工作目錄”參數(shù)。例如,有命令:“/cmdline:C:\test\app.exe”,在執(zhí)行該命令時(shí),其當(dāng)前工作目錄將被設(shè)置為“C:\test\”,保證應(yīng)用程序可以正常訪問(wèn)配置信息和私有數(shù)據(jù)。

  ■關(guān)于執(zhí)行就緒■ 對(duì)于命令行程序(包括批處理和角本),執(zhí)行就緒意味著標(biāo)準(zhǔn)輸入輸出設(shè)備已初始化完畢,并且已經(jīng)進(jìn)入主程序入口(main());對(duì)于圖形界面程序,執(zhí)行就緒意味著主窗體注冊(cè)和初始化完畢,程序已經(jīng)在主循環(huán)處等待接受消息。

≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
幫助屏幕:

C:\Documents and Settings\Administrator>
#runassrv

===========================================================================
  Run As Service Ver 1.1.2.803 by BaiYang / 2004 - 2006, Freeware
===========================================================================
Run any program as a Service

USAGE: runassrv <Action> <Options>
===========================================================================
Actions:
  add          - Add a Service.
  remove       - Remove a Service.
  start        - Start a Service.
  stop         - Stop a Service.
  pause        - Pause a Service.
  continue     - Continue a paused Service.
  control      - Control a service by send it a op-code
  listsrv      - List all installed services on local system
  listgrp      - List all service load order groups on local system (by start
                 order).
  -h           - this screen
===========================================================================
Options:
  -cmdline     - when the service start, witch program you want to run.
  -name        - the service name.
  -dispname    - service's display name in service manager
  -desc        - service's description in service manager
                   DEFAULT: none
  -type        - service type, can be:
                   FileSystemDriver
                   KernelDriver
                   OwnProcess (DEFAULT)
                   ShareProcess
                   InteractiveProcess
                 NOTE: set this option incorrectly may endanger your system!
  -starttype   - service start type, can be:
                   SystemStart
                   BootStart
                   AutoStart (DEFAULT)
                   DemandStart
                   Disabled
                 NOTE: set this option incorrectly may endanger your system!
  -errctl      - service error control policy, can be:
                   ErrorIgnore
                   ErrorNormal (DEFAULT)
                   ErrorSevere
                   ErrorCritical
                 NOTE: set this option incorrectly may endanger your system!
  -group       - specify service load order group
                   DEFAULT: none
  -depen       - names of services or load ordering groups that the system
                 must start before this service, delimited by '/'
                   DEFAULT: none
  -user        - specifies the name of the account under which the service
                 should run.
                   DEFAULT: LocalSystem
  -pass        - contains the password to the account name
                   DEFAULT: none
  -priority    - priority of the program you want to run, can be:
                   Idle
                   BelowNormal
                   Normal (DEFAULT)
                   AboveNormal
                   High
                   RealTime
  -unstoppable - make service unstoppable by system service control manager.
  -opcode      - for "control", specify the operation code.
  -logfile     - specify the logging target.
                   DEFAULT: don't log to file.
  -loglevel    - specify the lowest logging level, can be:
                   DebugOnly (Most Detail)
                   Info
                   Warning
                   Error (DEFAULT)
                   FatalError
                   Disabled (Close Logging Output)
===========================================================================
Special Options With "listsrv":
  -name        - list service name that match the wildcard pattern
                   DEFAULT: *
  -dispname    - service display name's wildcard pattern.
                   DEFAULT: *
  -pid         - service belong to specified process.
                   DEFAULT: any
  -type        - specify service types to be match, delimite by "/".
                   DEFAULT: any
  -starttype   - specify service starttypes to be match, delimite by "/".
                   DEFAULT: any
  -group       - service belong to the load order group
                   DEFAULT: any
  -state       - service's current state, can be:
                   active
                   inactive
                   DEFAULT: any
===========================================================================

相關(guān)文章

最新評(píng)論

石家庄市| 涞源县| 汝城县| 庆云县| 和静县| 东山县| 五家渠市| 乌拉特前旗| 米林县| 平湖市| 抚州市| 东阿县| 沂水县| 济源市| 新丰县| 城步| 鄂尔多斯市| 偏关县| 德清县| 柞水县| 丰宁| 潢川县| 丁青县| 岳池县| 托克托县| 枣庄市| 黑山县| 自贡市| 定陶县| 黎城县| 定日县| 洱源县| 济南市| 怀远县| 南川市| 井陉县| 嘉鱼县| 宣城市| 如东县| 河北区| 突泉县|