Solved

Viewing file changing is VMware console

Posted on 2016-11-03
3
56 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 119
ID: 41871932
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
ID: 41871948
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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 41871965
watch -n 5 ls -al -t

Open in new window


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

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

828 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