10-21-2010
Quote:
Originally Posted by
puni
Thank you. I got the inode information. But how can i trace the hits with the inode #
You can't. The inode number is just a number identifying the inode, nothing more. You might want to read some introduction to Unix filesystem mechanics, like
this or
this for an introduction.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Made changes to a file using vi editor and saved those changes
now realised that the changes are not required
How can I get the previous version of the file.i.e the one which was there on which I had made changes (3 Replies)
Discussion started by: novice100
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have some log files created in the following fashion
Ex:
file name modified date
1) s.log1 01-jan-08
2) s.log2 02-jan-08
3) s.log3 03-jan-08
4) s.log4 04-jan-08
Now I want to have the latest 2 logs and delete the others.
Can you tell me the one liner /... (1 Reply)
Discussion started by: ammu
1 Replies
3. Shell Programming and Scripting
Hi All,
I want to extract last modified, seen in ls -l command, of a file and then convert it into "YYYYMMDD" format.
Any help regarding would be helpful
Thanks in advance... (3 Replies)
Discussion started by: itsme_maverick
3 Replies
4. Shell Programming and Scripting
Hi,
I'm new to shell script programming, I only have Java programming background.
I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
Discussion started by: python
1 Replies
5. Shell Programming and Scripting
Hi.,
Last modified time of the folder is changing when I view the file inside the directory. Here is the test on sample directory. I believe that ls -l commands gives the time detail w.r.t last modified time. Pl. suggest.
bash-3.2$ mkdir test
bash-3.2$ cd test
bash-3.2$ touch myfile.txt... (2 Replies)
Discussion started by: IND123
2 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am new bie to Unix. Might be a simple question I am asking.
I want to find the last modified time of a file and find the difference between the currrent time and the last modified time. Appreciate, if someone can throw some light on what commands can be used.
Cheers,
James (2 Replies)
Discussion started by: JamesJoe
2 Replies
7. Shell Programming and Scripting
i have a requirement where i needed to change variable values in a properties file(first file) whenever there is change to Release details file(second file). My question is do i have to create a daemon process that always checks the modified time/inode change of the second file and then change the... (1 Reply)
Discussion started by: saikiran_1984
1 Replies
8. Shell Programming and Scripting
Hi,
I need to run a script file which uses a file and that file is modified as and when some alarms generated, it is not based on any fixed time period.. it may be modified even once in a minute for some time and once in 30 min or once in 20 min. Hence i need to watch for the timestamp change of... (3 Replies)
Discussion started by: aemunathan
3 Replies
9. Shell Programming and Scripting
A files last modified time is like 03/02/2012 xx:xx:xx
So what would be the command to convert the last modified in the given signature
Thanks for giving time and replying..:) (2 Replies)
Discussion started by: ezee
2 Replies
10. Shell Programming and Scripting
Hi,
I have a requirement to scan Oracle's alert log file. This file logs all event for Oracle database and each line will have timestamp followed by messages (which might be one or more lines).
Example.
Thu Aug 15 17:35:59 2013
VKTM detected a time drift. Please check trace file for more... (1 Reply)
Discussion started by: manickaraja
1 Replies
LEARN ABOUT OPENSOLARIS
biomodified
biomodified(9F) Kernel Functions for Drivers biomodified(9F)
NAME
biomodified - check if a buffer is modified
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
intbiomodified(struct buf *bp);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
bp Pointer to the buffer header structure.
DESCRIPTION
The biomodified() function returns status to indicate if the buffer is modified. The biomodified() function is only supported for paged-
I/O request, that is the B_PAGEIO flag must be set in the b_flags field of the buf(9S) structure. The biomodified() function will check
the memory pages associated with this buffer whether the Virtual Memory system's modification bit is set. If at least one of these pages
is modified, the buffer is indicated as modified. A filesystem will mark the pages unmodified when it writes the pages to the backing
store. The biomodified() function can be used to detect any modifications to the memory pages while I/O is in progress.
A device driver can use biomodified() for disk mirroring. An application is allowed to mmap a file which can reside on a disk which is
mirrored by multiple submirrors. If the file system writes the file to the backing store, it is written to all submirrors in parallel. It
must be ensured that the copies on all submirrors are identical. The biomodified() function can be used in the device driver to detect any
modifications to the buffer by the user program during the time the buffer is written to multiple submirrors.
RETURN VALUES
The biomodified() function returns the following values:
1 Buffer is modified.
0 Buffer is not modified.
-1 Buffer is not used for paged I/O request.
CONTEXT
biomodified() can be called from any context.
SEE ALSO
bp_mapin(9F), buf(9S)
Writing Device Drivers
SunOS 5.11 20 Nov 1996 biomodified(9F)