Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

some infrastructure
hi all,
we are designing a application to work along with sql server 2000.

we are looking for the ability to recognize, by t-sal code, all sql servers
running in the network.
I heard that there is a local component on each machine called "listener".
I'd love to get a few tips/ links of how to.. work with it.(or any other ide
a)

another thing, we are also looking for a way to monitor the logs (the ones
under the managment folder in enterprise manager) via t-sal.
for now, our best idea is to import the log files into a table (using bcp
and format files) and the to read from the table, but I can imagine there ar
e
better ways.

and, is there a way to monitor (again with sql code) current system values
(for example: cpu usage levels , disk performance.....)

thanks,
prem



Report this thread to moderator Post Follow-up to this message
Old Post
prem
09-29-05 01:23 AM


Re: some infrastructure
Prem,

I'm not sure of a way to do this with T-SQL.  You might take a look at the
 ListAvailableSQLServ
ers method in SQL-DMO.  I'm not sure if this method
lists SQL Servers that have been hidden via the TCP/IP dialog Hide Server
option.  Also, you might check out the -L argument of the OSQL utility.

Again...it's not T-SQL but you might find the findstr utility useful for
scanning the errorlogs for errors.  See:

INF: How to Scan SQL Errorlog or DBCC Output for Errors
http://support.microsoft.com/kb/q115519/

HTH

Jerry
"prem" <prem@discussions.microsoft.com> wrote in message
news:286C16CF-D44E-4F6F-9FBF- E3A77213D373@microso
ft.com...
> hi all,
> we are designing a application to work along with sql server 2000.
>
> we are looking for the ability to recognize, by t-sal code, all sql
> servers
> running in the network.
> I heard that there is a local component on each machine called "listener".
> I'd love to get a few tips/ links of how to.. work with it.(or any other
> idea)
>
> another thing, we are also looking for a way to monitor the logs (the ones
> under the managment folder in enterprise manager) via t-sal.
> for now, our best idea is to import the log files into a table (using bcp
> and format files) and the to read from the table, but I can imagine there
> are
> better ways.
>
> and, is there a way to monitor (again with sql code) current system values
> (for example: cpu usage levels , disk performance.....)
>
> thanks,
> prem
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Jerry Spivey
09-29-05 01:23 AM


Re: some infrastructure
Actually...now that I think about it you could probably call OSQL -L with
xp_cmdshell and INSERT..EXEC to do this in t-sql.

HTH

Jerry
"Jerry Spivey" <jspivey@vestas-awt.com> wrote in message
news:en1x%23AIxFHA.720@TK2MSFTNGP10.phx.gbl...
> Prem,
>
> I'm not sure of a way to do this with T-SQL.  You might take a look at the
>  ListAvailableSQLServ
ers method in SQL-DMO.  I'm not sure if this method
> lists SQL Servers that have been hidden via the TCP/IP dialog Hide Server
> option.  Also, you might check out the -L argument of the OSQL utility.
>
> Again...it's not T-SQL but you might find the findstr utility useful for
> scanning the errorlogs for errors.  See:
>
> INF: How to Scan SQL Errorlog or DBCC Output for Errors
> http://support.microsoft.com/kb/q115519/
>
> HTH
>
> Jerry
> "prem" <prem@discussions.microsoft.com> wrote in message
> news:286C16CF-D44E-4F6F-9FBF- E3A77213D373@microso
ft.com... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Jerry Spivey
09-29-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 01:33 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006