how to get the owner and time information of a file in the UNIX?

J

Joan

Gordon Beaton said:
sticky bit on regular files
===========================
[From chmod(2)]
If an executable file is prepared for sharing, mode bit
S_ISVTX
prevents the system from abandoning the swap-space image of
the
program-text portion of the file when its last user
terminates.
Then, when the next user of the file executes it, the text
need not
be read from the file system but can simply be swapped in,
thus
saving time.

It is normal for all instances of a running program to share
the
read-only text (i.e. code) segment, regardless of the sticky
bit.

Also regardless of the sticky bit, a new process is created
each time
the program is run.

What you have described is simply a mechanism used by the OS to
avoid
having to re-read the program from disk each time it's run.

So turn it off. Won't bother me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top