[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Viewing file changing is VMware console

Posted on 2016-11-03
3
Medium Priority
?
68 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 123
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 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
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.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

649 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