The Problem On a Linux-based system, the root file system is filling up by some unknown process. It continues regardless of what files are moved or cleaned from the file system. # df -hP / /dev/mapper/VGExaDb-LVDbSys1 ext3 30G 29G 0 100% / There are no large files to account for the full file system: # […]
Archives for March 2019
How to find and delete files older than some particular time period in Linux
Searching by file timestamp Unix/Linux filesystems have three types of timestamp on each file. They are as follows: Access time (-atime): The timestamp when the file was last accessed. Modification time (-mtime): The timestamp when the file was last modified. Change time (-ctime): The timestamp when the metadata for a file (such as permissions or […]
How To Increase The Retention Of “sar” Data To ‘N’ Days in Linux
The system performance is constantly monitored by the sysstat tools. Performance logs are not retained for as long a time as desired. This post outlines steps to increase the retention of sar data to the desired number of days. How To Change The Performance Log Retaining Period Logs are kept for a period of days. […]
How to Compress and Extract Files and Directories in Linux Using gzip and bzip2
The post explains provides basic commands to compress files and folders in Linux OS. To compress a file or folder, gzip and bzip2 are two very popular tools. gzip bzip2 Gzip Compression To compress a file: # gzip file1 A file by name file1.gz will be created in current directory replacing file1. You can compress […]
What is the difference between the -i and -U options used in rpm command in Linux
RPMs can be installed from the command line like the following: # rpm -Uvh [package-name]-[version].rpm or # rpm -ivh [package-name]-[version].rpm Option -U is for upgrade operation that means installing a new version of a package and removing all previous versions of the same package and also removing obsoleted packages. If you have not installed a […]