檢查 Windows 資源。
Windows 列印無法為某項操作配置足夠的資源,或是正在處理升級。不需要立即採取任何動作。
監視器採用單一設定參數,來控制啟用「Microsoft-Windows-PrintService/Admin 與 Microsoft-Windows-PrintService/Operational」事件記錄時是否應監視 “Print Spooler”,以及重新啟動事件記錄服務。根據預設,只會在「Microsoft-Windows-PrintService/Admin 與 Microsoft-Windows-PrintService/Operational」啟用時監視 “Print Spooler” 監視器。
如果問題仍然發生,請判斷電腦的系統資源是否不足,例如 CPU 資源、磁碟 I/O 效能或記憶體。
若要找出造成系統資源不足的原因,您可以使用「可靠性和效能監視器」產生「系統診斷報告」,或是使用「資源監視器」判斷 (即時) 哪些應用程式或服務使用太多系統資源。
若要產生其中將提供收集 60 秒系統資訊的「系統診斷報告」,請使用下一小節 (「產生系統診斷報告」) 中的程序。若要使用資源監視器即時監視系統資源,請使用「啟動資源監視器」小節中的程序。
若要執行此程序,您必須有 Administrators 的成員資格,或者必須已被委派適當的權限。
產生系統診斷報告
若要收集系統資訊 60 秒並產生「系統診斷報告」:
開啟提高權限的 [命令提示字元] 視窗。(按一下 [開始],指向 [所有程式],按一下 [附屬應用程式],以滑鼠右鍵按一下 [命令提示字元],然後按一下 [以系統管理員身分執行])。
在命令提示字元下,輸入 perfmon /report,然後按 ENTER。可靠性和效能監視器將會開始收集資料,以便建立「系統診斷報告」。
報告就緒可供檢視時,找到報告的「診斷結果」區段,然後查看是否有任何警告 (在報告中會以「警告」表示)。您可以從此區段循著連結,找到解決警告的額外說明。此外,您還可以展開「基本系統檢查」區段中的每一個類別,查看更多關於警告出現原因的詳細資料。同時,「效能」區段會提供有關消耗最多資源的幾個項目的處理程序層級詳細資料。
啟動資源監視器
若要啟動資源監視器:
重要:資源監視器會在產生系統診斷報告時停止收集資訊。若要在「系統診斷報告」完成後開始收集資訊,請在監視器中按一下 [啟動]。
開啟提高權限的 [命令提示字元] 視窗。(按一下 [開始],指向 [所有程式],按一下 [附屬應用程式],以滑鼠右鍵按一下 [命令提示字元],然後按一下 [以系統管理員身分執行])。
在命令提示字元下,輸入 perfmon /res,然後按 ENTER。資源監視器將開始執行。
[資源概觀] 窗格中的四個捲動圖形會顯示 [CPU]、[磁碟]、[網路] 和 [記憶體] 的即時使用情形。圖形下方會有四個可展開的區段,其中包含每項資源的處理程序層級詳細資料。按一下資源標籤查看詳細資訊,或是按一下某個圖形展開對應的詳細資料。您可以使用即時使用情形資訊找出消耗最多資源的項目。按一下欄位標題,依照該欄排序表格中的資料,再按一次欄位標題則會反向排序順序。
Target | Microsoft.Windows.Server.10.0.PrintServerRole | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.10.0.PrintServer.PrintSpoolerService.PrintSpoolerStatus.System.CheckWindowsresources.EventBased.UnitMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.Server.10.0.PrintServerRole" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.PrintServer.PrintSpoolerService.PrintSpoolerStatus.System.CheckWindowsresources.EventBased.UnitMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Negative" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Microsoft-Windows-PrintService/Admin</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(362|369)$</Pattern>
</RegExExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-PrintService/Operational</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(312|313)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>