Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 469
  • Last Modified:

How can I find out what files are being downloaded on my server the most?

How can I find out what files are being downloaded on my server the most?  Just curious about what is sucking up all my bandwidth.

I have Plesk installed on my server btw.
0
davideo7
Asked:
davideo7
  • 2
  • 2
3 Solutions
 
jrwarrenCommented:
How are you hosting the files?
   FTP or HTTP?
Plesk is installed on top of?
  IIS, Apache, Tomcat?

Chances are, you are already logging all interactions in the log files, but knowing what the server application is will point us to where the log file is and how to translate the information gathered in that file.

0
 
Scay7Commented:
Run statistics.exe (that binary is under under %plesk_bin%) see if that is what you are looking for
0
 
davideo7Author Commented:
jrwarren: I have a windows 2008 server

Scay7: I opened up that file but it's just a blank screen.
0
 
jrwarrenCommented:
I will assume with win2k8 you are using IIS7.

   In that case:

Go to Start --> Administrative Tools --> Internet Information Services Manager
   **** NOT Internet Information Services (6.0) ****

On the left pane :
    expand ServerName -->  expand Sites --> select the Plesk Website (Likely it is under Default Website - if it is, select Default Website)

On the right pane, under the IIS section, select logging
   Double click logging - or to the far right, select Open Feature

This will tell you where the information you need to know on how to locate and translate the log files.

By default the log files are stored as W3C.
  You can customize the information collected by using the 'select fields' button.
** Do take note of which field are selected **

The other important item is the location.  This is where the log files are stored.
  %SystemDrive% is typically translated a C:

By default it should state : %SystemDrive%\inetpub\logs\LogFiles\
   Which translates to C:\inetpub\logs\LogFiles

From there explore to the location and you should see folders named like :
     W3SVC1
     W3SVC2
     W3SVC168884246

etc...

   Now - Go back to the Sites (on the left hand menu bar) Look in the center panel.  Locate the Site that Plesk is running from.  Look at the ID #

  The ID is the number After the W3SVC...in the folder names.

If the ID is 1  the folder it is in is W3SVC1, if it is ID 168884246, the folder for the plesk logs is in W3SVC168884246... etc...

Explore into that folder.

  By default you should see u_exYYMMDD.log
Default for logs is 1 log per day.

Open the file (be cautious of large files)
   The uri-stem is the field you are interested in.

This file can easily be exported into Excel as a tab (space) delineated spreadsheet.
   Sort By the URI-Stem field and count the the most recurring item.

Or download some app, like web-trends or such and import the files into that to determine your highest download.
0
 
davideo7Author Commented:
Thanks
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now