Script to Delete Log Files in LINUX

Merhaba, bu yazımda sizlere basit bir script ile log dosyasının nasıl silineceğini ve cronjob oluşturmayı anlatıyor olacağım. Linux işletim sistemi ve çalışan uygulamalar sürekli olarak çeşitli günlük dosyalarında, günlüğe kaydedilen çeşitli türlerde mesajlar üretir. Günlük kaydı, sistemin çalışması ve hataları hakkında ana bilgi kaynağıdır.Günlük dosyalarının çoğu /var/log dizininde bulunur. Öncelikle scripti barındıracağımız klasörü oluşturalım. Oluşturmuş olduğumuz script klasörünün içine shell […]

Read more

ESXi Log File Locations

Authentication /var/log/auth.log Contains all events related to authentication for the local system. ESXi host agent log /var/log/hostd.log Contains information about the agent that manages and configures the ESXi host and its virtual machines. Shell log /var/log/shell.log Contains a record of all commands typed into the ESXi Shell and shell events (for example, when the shell was enabled). System messages /var/log/syslog.log Contains all general log […]

Read more