The process of compressing log files using the tar command primarily impacts the CPU and disk I/O resources. The compression process performed by the tar command consumes CPU resources due to the comp...The process of compressing log files using the tar command primarily impacts the CPU and disk I/O resources. The compression process performed by the tar command consumes CPU resources due to the compression algorithm's processing. Reading the files to be compressed and writing the compressed file generates disk I/O. Temporary memory is used during the compression process, but it is typically not significant enough to impact normal system operations.