Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Topics - winaiw

Pages: [1]
1
General Discussion / 'a last accessed time' (i_atime) of file F
« on: December 23, 2013, 05:32:42 am »
HI, 

when a Linux process P accesses a file F.  A 'struct file' structure represents file F as an opened file, which is opened by process P.
 Could you please let me know that if I want to know 'a last accessed time' (i_atime) of file F,  my question is that the last accessed time of file F will be in:

1-struct path     f_path;  or

2-struct inode   *f_inode;     

I have some reasons to write a  program to get the last accessed time of file F.

Best,

Winai

2
Programming / How to get a last accessed time (i_atime) of a file
« on: December 22, 2013, 06:04:28 pm »
HI, 

when a Linux process P accesses a file F.  A 'struct file' structure represents file F as an opened file, which is opened by process P.
 Could you please let me know that if I want to know 'a last accessed time' (i_atime) of file F,  my question is that the last accessed time of file F will be in:

1-struct path     f_path;  or

2-struct inode   *f_inode;     

I have some reasons to write a  program to get the last accessed time of file F.

Best,

Winai

3
Hi,

What is the average time (may be in millisecond) of Linux file operations? For example, usually a process accesses (e.g., reads, opens, writes, or mixing of those operations) a file, how long by average of the accessing time that a process has operated with a file, in general?


Can anyone point out some reading about this? I really appreciate this.


Best,

Winai

Pages: [1]

SimplePortal 2.3.3 © 2008-2010, SimplePortal