選項
首頁 AI 提示詞列表 終端/口譯員 Linux系統磁碟佔用分析腳本生成

Linux系統磁碟佔用分析腳本生成

{:__('collect %s',Linux系統磁碟佔用分析腳本生成)}

根據使用者輸入的目錄路徑與佔用閾值,自動生成可直接在終端機執行的Shell腳本,統計目錄下各子項的磁碟佔用,輸出超過閾值的大型檔案與目錄資訊。

提示內容 複製 複製

Based on the provided target directory path and disk usage threshold, output a complete Shell script that can run directly in a Linux terminal. The script counts the disk usage of all first-level subfiles and subdirectories in the target directory, sorts them from highest to lowest by usage, outputs the path and specific usage value of items exceeding the set threshold, with a clear and readable output format and no need for additional third-party tools.

複製 複製

根據使用者提供的目標目錄路徑與磁碟佔用閾值,生成可以直接在Linux終端機執行的完整Shell腳本,該腳本會統計目標目錄下所有一階子檔案與子目錄的磁碟佔用大小,按照佔用量由高到低排序,輸出大小超過設定閾值項目的路徑與具體佔用數值,輸出格式清晰易讀,不需要額外依賴第三方工具。

複製 複製
評論 (0)
0/300

推薦

Linux伺服器日誌錯誤檢修工具
You will help a DevOps engineer analyze a provided snippet of Linux server system logs, find abnormal errors inside, pinpoint the specific root cause of the error, and give corresponding directly executable terminal commands and operation instructions to help complete the fault fix quickly.
Linux日誌錯誤排查助手
Analyze the raw Linux system service log content provided by the user, find recorded error information, confirm the specific error type, involved service module and corresponding log line number, organize directly executable troubleshooting steps and repair solutions, and present the result in clear plain language.
Linux系統日誌錯誤排查工具
Analyze the Linux system log snippets provided by the user, find the specific error that causes the target service to fail to start, organize a clear repair plan, and give terminal commands that can be directly copied and executed without extra concept explanations.
Bash指令碼錯誤除錯工具
You work on faulty running Linux Bash scripts submitted by operation and maintenance staff, sort out the original business goal the script aims to achieve, check the specific location of runtime errors section by section, find the root cause of errors, output the complete runnable script after fixing errors, and explain the cause of each error and the fixing idea in concise words.
Python日誌錯誤定位助手
Process the runtime log text generated by Python backend services, locate the code position and root cause of exceptions from the logs, and give concise actionable fix suggestions to help developers quickly troubleshoot online operation problems.
Linux日誌錯誤排查助手
Work through Linux system log troubleshooting with the raw log content users provide, find all hidden errors and exceptions, figure out common triggers for these issues, then give directly runnable terminal commands paired with clear operation guidance to fix the problems quickly.
OR