Questo contenuto non è disponibile nella lingua selezionata.

14.6. Tidying an Application


Tidying an application helps manage application disk space, and performs the following functions:
  • Run the git gc command on the application's Git repository on the server.
  • Clear the application's /tmp and log file directories that are specified by the application's OPENSHIFT_LOG_DIR and OPENSHIFT_TMP_DIR environment variables.
  • Clear unused application libraries and remove any library files previously installed by a git push command.

Important

Log files are not automatically backed up or rotated. Tidying an application runs the rm -rf command to clear the contents of these directories. Before performing this step, save the log files by creating a snapshot of the system with the rhc snapshot save command.
Tidy an application with the following command:
$ rhc app tidy App_Namerhc app tidy App_Name
Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat