檢視cisco記憶體cpu使用狀態命令
show process cpu his 歷史cpu使用情況查詢 用於定位情況某個時間段cpu佔用率的
show process cpu 檢視裝置占用cpu的情況,檢視有哪些異常的cpu佔用率
show version 檢視交換機的版本資訊
show memory detailed 檢視交換機記憶體利用率
show environment status 檢視交換機的電源、風扇資訊
show environment temperature 檢視交換機的溫度
show log 檢視交換機的log資訊
show inventory 檢視cisco的sn號
show controllers 硬體介面型別的資料報及差錯統計資訊
show inte***ce f0/0 counters errors 介面、硬體**、控制平面硬體
show stacks 監控和中斷程式對堆疊的使用,並顯示系統上一次重啟的原因
show run | section unassigned section 特定的段落 比begin更為嚴格
檢視h3c記憶體cpu使用狀態命令
dir 檢視交換機flash空間大小
display cpu-usage #檢視cpu利用率
display memory #檢視記憶體目前利用率
display environment #檢視當前溫度
display fan #檢視風扇狀態
display power #檢視電源狀態
display lldp neighbor-information 檢視鄰居裝置位址
fan prefer-direction slot 1 port-to-power 風扇運轉不正常解決方式
license activation-file install flash:/license/ 啟用license
display license device-id 顯示裝置的sn和did資訊
snmp-agent trap enable ssh 開啟ssh伺服器端告警傳送開關
display patch-information allpatch檢視系統所有補丁的狀態
display this inte***ce 顯示路由器當前介面檢視的資訊
compare configuration用來比較當前配置與儲存裝置中配置檔案內容是否一致
schedule reboot at 17:30 2016/6/6 計畫任務重啟指令
為系統打補丁
patch load slot 1 file flash:/ 載入補丁
patch active slot 1 file flash:/ 啟用補丁
patch deactive slot 1 file flash:/ 消除該補丁的作用。
patch run slot 1 file flash:/執行補丁
display system restart#檢視華為裝置重啟原因
no startup-time reason
1) 2016-12-12 09:03 commad-reset 命令重啟
3) 2016-12-12 08:58 cool-reset 掉電重啟
4) 2016-12-11 20:22 remove-reset 拔掉介面板
5) 2016-12-11 19:58 unknown-reset 未知原因
6) 2016-12-11 19:58 exception-reset 例外重啟
7) 2016-12-11 19:51 deadloop-reset 死迴圈重啟
檢視MySQL執行狀態
了解 mysql 資料庫的執行狀態查詢 了解當前 mysql 的執行時間 共執行了多少次 select update 是否進行碎片化整理 當前連線的個數 最大併發數 show status 命令常用的 show status like uptime 啟動時間 show status like com...
檢視crontab執行狀態
cron服務是linux的內建服務,但它不會開機自動啟動。可以用以下命令啟動和停止服務 sbin service crond start sbin service crond stop sbin service crond restart sbin service crond reload 要把cr...
檢視PHP FPM執行狀態
1 php fpm內建了狀態頁,開啟後可檢視php fpm的詳細執行狀態,給php fpm優化帶來幫助。開啟php fpm.conf,配置php fpm狀態頁選項 pm.status path hdfphpss 配置nginx.conf,新增可訪問server server 重啟或過載nginx,和...