Solved

Viewing file changing is VMware console

Posted on 2016-11-03
3
58 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 120
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 120

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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