The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mtime, ctime, and atime Perderabo Tips and Tutorials 2 08-30-2007 06:13 AM
how to find ot ctime , mtime ,atime nilesrex Shell Programming and Scripting 4 08-10-2006 07:51 AM
mtime vs ctime moxxx68 UNIX for Dummies Questions & Answers 3 11-06-2004 06:57 PM
Converting regular time to CTIME PGPhantom UNIX for Dummies Questions & Answers 9 08-23-2002 06:47 PM
ctime & find 98_1LE UNIX for Dummies Questions & Answers 1 06-22-2001 12:33 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2005
moxxx68's Avatar
Registered User
 

Join Date: Mar 2004
Posts: 301
Cool atime, ctime, mtime somewhere along csize..

i have used all forms of the unix find command.. and right now this is the only command i can think of that might have this option..:
if i use mtime i am looking at a time interval.. but if i wanted to find out intervals of access, change and modification according to when a file changed size "and what that size was!" how would i go about doing this.. i can only think this is so obvious and i have missed the point completely or that there is really no such thing..:
ex,. find -type f etc printf "%...%...%\n"
5065 Feb 2 00:59:59 file[abc]..
(just an example)
but this read out should give the size of the file before the last modification (or access etc)...
if there is any such thing please clue me in..
thanx moxxx68
__________________
moxxx68
http://www.estarinformado.com.ar/apicmaxmiel/bee-diez.gif
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-02-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,355
No history is maintained like that. There is no way to find out what the size was before the last write. Besides, suppose you did:
cat littlefile >> bigfile
The kernel might do 1 write to bigfile. Or it might do 100 writes to bigfile. So the size before the last write would not be useful anyway.
Reply With Quote
  #3 (permalink)  
Old 03-02-2005
moxxx68's Avatar
Registered User
 

Join Date: Mar 2004
Posts: 301
thats what I was afraid of.. can you suggest a command or a find invocation that would give a double precision form of stating files.. I have tried them all stat, find, du, etc.. what I need is something that will give me precision and quantative data.. on a file. does this command exist? forinstance what is quota?
moxxx68
__________________
moxxx68
http://www.estarinformado.com.ar/apicmaxmiel/bee-diez.gif
Reply With Quote
  #4 (permalink)  
Old 03-02-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,355
Like you said, you tried them all. That's all there is.
Reply With Quote
  #5 (permalink)  
Old 03-02-2005
moxxx68's Avatar
Registered User
 

Join Date: Mar 2004
Posts: 301
thanks for the reply,
i guess I will just have to make do with the commands I tried..
moxxx68
__________________
moxxx68
http://www.estarinformado.com.ar/apicmaxmiel/bee-diez.gif
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0