{"id":35107651,"url":"https://github.com/joaomjbraga/trim","last_synced_at":"2026-05-23T07:01:09.179Z","repository":{"id":278993374,"uuid":"937427028","full_name":"joaomjbraga/trim","owner":"joaomjbraga","description":"fornece uma visão clara e detalhada sobre como ativar e verificar o TRIM em sistemas Linux, além de incluir seções para contribuições!","archived":false,"fork":false,"pushed_at":"2025-02-23T02:56:34.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T13:43:05.913Z","etag":null,"topics":["code","linux","trim"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaomjbraga.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-23T02:46:56.000Z","updated_at":"2025-12-27T10:12:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"9234f82a-d34a-4238-a337-23f78964c009","html_url":"https://github.com/joaomjbraga/trim","commit_stats":null,"previous_names":["joomdeveloper/ativandotrim","joaomjbraga/ativandotrim","joaomjbraga/trim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joaomjbraga/trim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomjbraga%2Ftrim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomjbraga%2Ftrim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomjbraga%2Ftrim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomjbraga%2Ftrim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaomjbraga","download_url":"https://codeload.github.com/joaomjbraga/trim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomjbraga%2Ftrim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33386076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code","linux","trim"],"created_at":"2025-12-27T18:28:47.574Z","updated_at":"2026-05-23T07:01:09.173Z","avatar_url":"https://github.com/joaomjbraga.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ativando TRIM\n\nEste repositório contém instruções para ativar e verificar o TRIM em sistemas Linux. O TRIM é uma funcionalidade importante para manter a performance e a longevidade de SSDs.\n\n## Instruções de Ativação\n\nPara ativar o TRIM, siga os passos abaixo:\n\n1. **Ativação do Timer do fstrim:**\n   ```sh\n   sudo systemctl enable fstrim.timer --now\n   ```\n\n2. **Verificação do Status do Timer:**\n   ```sh\n   systemctl status fstrim.timer\n   ```\n\n3. **Forçar a Execução Manual do TRIM:**\n   ```sh\n   sudo fstrim /\n   ```\n\n## Configuração de Preset Personalizado\n\nPara criar ou editar um arquivo de preset personalizado, siga os passos abaixo:\n\n1. **Criar Diretório para Presets:**\n   ```sh\n   sudo mkdir /etc/systemd/system-preset/\n   ```\n\n2. **Criar ou Editar o Arquivo de Preset:**\n   ```sh\n   sudo nano /etc/systemd/system-preset/90-custom.preset\n   ```\n\n3. **Adicionar a Linha de Ativação:**\n   ```plaintext\n   enable fstrim.timer\n   ```\n\n## Aplicando as Mudanças\n\nPara aplicar as mudanças, execute o comando abaixo:\n\n```sh\nsudo systemctl preset-all\n```\n\n## Verificação Final\n\nPara verificar se o timer do fstrim está ativo, utilize o comando:\n\n```sh\nsystemctl status fstrim.timer\n```\n\n## Contribuições\n\nContribuições são bem-vindas! Sinta-se à vontade para abrir issues ou pull requests.\n\n## Licença\n\nEste projeto está licenciado sob a MIT License.\n\n---\n\nEsperamos que este guia tenha sido útil. Para mais informações, consulte a documentação oficial do systemd.\n\nEste `README.md` fornece uma visão clara e detalhada sobre como ativar e verificar o TRIM em sistemas Linux, além de incluir seções para contribuições!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomjbraga%2Ftrim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaomjbraga%2Ftrim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomjbraga%2Ftrim/lists"}