Solved

Viewing file changing is VMware console

Posted on 2016-11-03
3
43 Views
Last Modified: 2016-11-03
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.
0
Comment
Question by:ICT Engineer
  • 2
3 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
 

Author Comment

by:ICT Engineer
Comment Utility
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
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
watch -n 5 ls -al -t

Open in new window


this will list them sorted by time. (-t)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSpā€¦
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now