Questions tagged [stat]

27 questions
33
votes
1 answer

What is the difference between Modify and Change in stat output

What is the difference between Modify and Change in stat output? When I run this command: stat myfile I am getting two lines with identical timestamps: Modify: 2015-03-24 12:34:56.12345678 Change: 2015-03-24 12:34:56.12345678 What is the deal?
AlexC
  • 433
2
votes
1 answer

What does mean the second field of sadf`s output?

When you use sadf to make a report from sysstat's datafile, the following lines will be shown: ncm 3 2015-05-11 03:57:15 UTC all %%user 0.08 ncm 3 2015-05-11 03:57:15 UTC all %%nice 0.00 ncm 3 2015-05-11…
SuB
  • 4,229
  • 5
  • 24
  • 33
0
votes
0 answers

Why "/proc/pid/stat" have 2 type?

When I run command: cat /proc/$pid/stat, it returns string like this: type 1: 11473 (abc) R 11471 8438 8438 0 -1 4194304 113 0 0 0 0 0 0 0 20 0 1 0 740394567 13586432 387 18446744073709551615 4194304 4196636 140722465367280 140722465367056…
johnU
  • 21
0
votes
0 answers

New STATX: how do I find the creation time (birth time) of a file?

How to use the new statx function to get only one information: the creation time (birth time) of a file. I have tried in terminal command line without success.
cjclm7
  • 305