Disk Space

  • Is there a sp I can run that will return the amount of free hard disk space there is and is there a sp that can return the number of entries in Windows Event Viewer?

    Thanks

  • I've found the answer to one of my questions, for the hard disk space use:

    exec master.dbo.xp_fixeddrives

  • use exec master..xp_logevent message,your message

  • Hi,

    I believe that xp_logevent logs a message rather than returning existing messages. I have found xp_eventlog but cannot find any documentation relating to it. Does anyone know what this sp does?

    Thanks

  • Another option is to use FSO within the SP to return the Size and Free Space on the disks, useful when you're after values from more than one server.

  • Hi,

    Do you have an example of the FSO syntax that I could use please?

    Thanks

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply