Viewing file changing is VMware console

There is a command that lets you see the files in a VMFS folder change in realtime (refresh very 5 secs).
Be great i f I can get any info on it.  I need this to see live file changes while consolidating a server.
ICT EngineerAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
watch -n 5 ls -al -t

Open in new window


this will list them sorted by time. (-t)
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
have you tried using the command watch

Usage: watch [-n SEC] [-t] PROG ARGS

Run PROG periodically

        -n      Loop period in seconds (default 2)
        -t      Don't print header

watch ls -al

Open in new window


the default is to refresh every 2 seconds

There is a command that lets you see the files in a VMFS folder change in realtime (refresh very 5 secs).
Be great i f I can get any info on it.  I need this to see live file changes while consolidating a server.

and what you've requested is:-

watch -n 5 ls -al

Open in new window


although if this is watching a Snapshot merge, I would recommend, walking away be patient, and finding something else to do more exciting...
0
 
ICT EngineerAuthor Commented:
THat's the one, thanks.

Is there a way to sort by date/time so we can see which file is latest to be written to?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.