option
Maison Liste de prompts IA Terminal/Interprète Génération de script d'analyse d'utilisation disque Linux

Génération de script d'analyse d'utilisation disque Linux

{:__('collect %s',Génération de script d'analyse d'utilisation disque Linux)}

Génère un script Shell exécutable directement dans le terminal selon le chemin de répertoire et le seuil fournis, compte l'utilisation disque des sous-éléments et affiche les éléments dépassant le seuil.

Contenu du prompt Copier Copier

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.

Copier Copier

Selon le chemin du répertoire cible et le seuil d'utilisation disque fournis, génère un script Shell complet exécutable directement dans un terminal Linux. Le script compte la taille d'utilisation disque de tous les sous-fichiers et sous-répertoires de premier niveau dans le répertoire cible, les trie par utilisation décroissante, affiche le chemin et la valeur d'utilisation exacte des éléments dépassant le seuil défini, avec un format de sortie clair et lisible, sans besoin d'outils tiers supplémentaires.

Copier Copier
commentaires (0)
0/300

Recommandation

Outil de dépannage d'erreurs de logs 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.
Outil de diagnostic d'erreurs de logs 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.
Outil de dépannage d'erreurs de logs 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.
Outil de débogage d'erreurs de script 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.
Localisateur d'erreurs de logs 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.
Outil de dépannage d'erreurs de logs 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