Everything2
Near Matches
Ignore Exact
Full Text
Everything2

atime

created by ssd

(thing) by ssd (7.2 mon) (print)   ?   (I like it!) Mon Mar 11 2002 at 16:35:18

atime is short for access time or st_atime, from the stat structure.

In a unix filesystem, the atime represents the last time a file was read. The atime of a file is updated with the current time if any system calls are used on the file that create it or read it. The utime system call may set the atime.

The -u option of the ls command causes ls to use the atime (instead of the default of mtime) when sorting by (-t) or displaying (-l) the time.

 

extra info:
You can check the idle time of a user logged in by checking the access time of their tty device, as this will be the last time a read completed, and therefore, the last time they pressed return (or pressed a key if they are using a cooked mode shell.)


printable version
chaos

stat cooked mode shell tty
mtime defrag ls Micropolis
filesystem
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Just another sprinkling of indeterminacy
For Webster 1913, whenever I may find him
A Convoluted History of Early Telecommunications
brown recluse
Horse chestnut
yo-yo
MRI
Sebastian
Hegemony
Jack-o'-lantern
Scott of the Antarctic
USS Enterprise
Cat o' nine tails
What does a candle's flame look like when it burns in space?
New Writeups
Ctrl Y
cognitive dissonance(fiction)
SharQ
Gone Baby Gone(review)
halfWit
If I could, I'd title this "Freedom"(thing)
Roninspoon
Airline Hero(thing)
Ktistec
Why Women Are Always Cold(person)
doctor wilson
Drug policy reform(thing)
tejasa
Easy Raspberry Cheesecake(recipe)
Joysim
Drug policy reform(idea)
aneurin
Tyburn(place)
niruena
Boiling to death(idea)
artman2003
summer(thing)
doctor wilson
The Silver City and the Silent Sea(log)
Dreamvirus
The Silver City and the Silent Sea(poetry)
Aerobe
A nihilist's soulmate(poetry)
BookReader
Soup, of the green variety(recipe)
E2 is a by-product of the existence of The Everything Development Company