⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psservice.htm

📁 这里面包含了很多的工具, 其中有DbgView这个非常方便的工具, 如进行VC编时, 在程序中加一句OutputDebugString("debug info"), 就可输出信息到DbgView这个工
💻 HTM
📖 第 1 页 / 共 2 页
字号:
                                utility, <i>PsService</i> enables you to logon 
                                to a remote system using a different account, 
                                for cases when the account from which you run 
                                it doesn't have required permissions on the remote 
                                system. <i>PsService</i> includes a unique service-search 
                                capability, which identifies active instances 
                                of a service on your network. You would use the 
                                search feature if you wanted to locate systems 
                                running DHCP servers, for instance. </p>
                              <p>Finally, <i>PsService</i> works on both NT 4 
                                and Windows 2000, whereas the Windows 2000 Resource 
                                Kit version of <i>SC</i> requires Windows 2000, 
                                and <i>PsService</i> doesn't require you to manually 
                                enter a &quot;resume index&quot; in order to obtain 
                                a complete listing of service information.</p>
                              </td>
                          </tr>
                          <tr> 
                            <td height="40" colspan="3" valign="middle"><span class='sectionheader'>Installation</span></td>
                          </tr>
                          <tr> 
                            <td colspan="3" valign="TOP"> 
                              <p>Just copy <i>PsService </i>onto your executable 
                                path, and type &quot;psservice&quot;.<br>
                                <br>
                                <i>PsService </i>works on NT 3.51, NT 4.0, Win2K 
                                and Windows XP. 
                            </td>
                          </tr>
                          <tr> 
                            <td height="40" colspan="3" valign="middle"><span class='sectionheader'>Usage</span></td>
                          </tr>
                          <tr> 
                            <td colspan="3" valign="TOP"> 
                              <p>The default behavior of <i>PsService </i>is to 
                                display the configured services (both running 
                                and stopped) on the local system. Entering a command 
                                on the command-line invokes a particular feature, 
                                and some commands accept options. Typing a command 
                                followed by &quot;-?&quot; displays information 
                                on the syntax for the command.<br>
                                <font color="#000000" size="2" face="arial"></font><br>
                                <b>usage: psservice [\\computer [-u username] 
                                [-p password]] &lt;command&gt; &lt;options&gt;</b><br>
                              <table width="100%" border="0">
                                <tr> 
                                  <td valign="top" align="LEFT" width="180"><b>&nbsp;&nbsp;&nbsp; 
                                    query</b></td>
                                  <td valign="top">Displays the status of a service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT" width="150"><b>&nbsp;&nbsp;&nbsp;&nbsp;config</b></td>
                                  <td valign="top">Displays the configuration 
                                    of a service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;start</b></td>
                                  <td valign="top">Starts a service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;stop</b></td>
                                  <td valign="top">Stops a service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;restart</b></td>
                                  <td valign="top">Stops and then restarts a service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;pause 
                                    </b></td>
                                  <td valign="top">Pauses a service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;cont</b></td>
                                  <td valign="top">Resumes a paused service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;depend</b></td>
                                  <td valign="top">Lists the services dependent 
                                    on the one specified</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;find</b></td>
                                  <td valign="top">Searches the network for the 
                                    specified service</td>
                                </tr>
                                <tr> 
                                  <td valign="top" align="LEFT"><b>&nbsp;&nbsp;&nbsp;&nbsp;\\computer</b></td>
                                  <td valign="top">Targets the NT/Win2K system 
                                    specified. Include the -u switch with a username 
                                    and password to login to the remote system 
                                    if your security credentials do not permit 
                                    you to obtain performance counter information 
                                    from the remote system. If you specify the 
                                    -u option, but not a password with the -p 
                                    option, <i>PsService</i> will prompt you to 
                                    enter the password and will not echo it to 
                                    the screen.</td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr> 
                            <td height="40" colspan="3" valign="middle"><span class='sectionheader'>How it Works</span></td>
                          </tr>
                          <tr> 
                            <td colspan="3" valign="TOP"> 
                              <p><i>PsService</i> uses the Service Control Manager 
                                APIs that are documented in the Platform SDK.
                            </td>
                          </tr>
                          <tr> 
                            <td height="40" colspan="3" valign="middle"><span class='sectionheader'>PsTools</span></td>
                          </tr>
                          <tr> 
                            <td colspan="3" valign="TOP"> 
                              <p><i>PsService</i> is part of a growing kit of 
                                Sysinternals command-line tools that aid in the 
                                adminstration of local and remote Windows NT/2K 
                                systems named <a href="../../ntw2k/freeware/pstools.shtml"><i>PsTools</i></a>. 
                            </td>
                          </tr>
                          <tr> 
                            <td colspan="3" height="40" valign="top" align="center"> 
                              <p><br><br><br>
                                <a href="../../files/psservice.zip"><b>Download 
                                PsService (20KB)</b></a></p>
                              <p><a href="../../files/Pstools.zip"><b>Download PsTools 
                                Suite</b><font
face="arial"><b></b></font></a></p>
<a href="#top"><b>Back to Top</b></a> </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </TD>
              </TR>
            </TABLE>
            <!-- #EndEditable --></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
<!-- #EndTemplate --></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -