How to get detailed list of open files locally and remotely.

Posted on 2005-03-04
Medium Priority
Last Modified: 2010-04-17
Hi experts,

I was wondering if there is a quick way that I can get a list of open files
from either a local PC or a remote PC?  I have developed a component
that currently utilizes another utility to spit this information out to me . I
can also query other servers remotely using this utility.  I parse the
output and return the users attached to a specific file.

What I want to be able to do instead is to create a self-contained
component that doesn't have to shell out to use the utility.  I want to
iterate through the list of all open files on a user-specified machine
(could be local or remote), and pick up one specific file name giving
what user is attached to it.

If anyone can point me in the right direction, that would be cool.

Question by:sharizod
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
LVL 25

Expert Comment

ID: 13460998
Could you not use this other utility to output the data to a file - then with a custom component, just parse the file to extract the required info?

>> IM
LVL 28

Accepted Solution

vinnyd79 earned 1000 total points
ID: 13463545

Author Comment

ID: 13567559
Thank you Vinnyd79!!  That's EXACTLY what I was looking for!!!
Full points to you!


Author Comment

ID: 13569564

I can't seem to make it work for any machine but on the local LAN.  We have several
servers that are local but route through the internet in our VPN.  Any words of
wisdom?   If it works for the local LAN by IP or name, should the code in the
MVPS link above also work across a VPN??

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

765 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