FG
šŸ’» Software

Why has 'cat' this strange time behaviour?

Fresh7 days ago
Mar 15, 2026250 views
Confidence Score0%
0%

Problem

I'm using to pipe different files into one big file. The number of different files varies, from two files up to ten, but the total size of all files is always the same (a couple of GB). My problem: Whenever I get to the case where I have a total of six files, the time it takes to concatenate them p…

Error Output

output
outputTEMP1
outputTEMP2
outputTEMP3
outputTEMP4
outputTEMP5

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why has 'cat' this strange time behaviour?

Low Risk

One way to debug this problem is to use strace. -tt option logs the time stamp of system call to milli-seconds resolution. -e trace=open,close log only open,close API. Try remove them and you will see a very noisy log file.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment