вариант
Дом Список 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.

Копировать Копировать

На основе указанного пользователем пути целевого каталога и порога заполнения диска создайте готовый скрипт Shell, который можно сразу запустить в терминале Linux. Скрипт подсчитает размер заполнения диска всех первых уровней подфайлов и подкаталогов в целевом каталоге, отсортирует их по убыванию заполнения, выведет путь и точное значение заполнения для элементов превышающих заданный порог, вывод будет понятным для чтения, не требует дополнительных сторонних инструментов.

Копировать Копировать
Комментарии (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