https://www.nartac.com/Products/IISCrypto Kaykan Kayıhan hocamin paylastigi IIS deki aciklari kolayca kapatabilcegimiz guzel bir arac tesekkurler.
http://www.datazen.com/ Microsoft un yeni satın aldığı uygulamalardan bir tanesi daha. Geçtiğimiz ay entegrasyonunda yer aldığım bir projede kolay kurulumu ve entegrasyonu ile tablet, mobil vb üzerinden raporlara görsel şık bir şekilde erişilebiliyor.
System Administrator command line shortcuts to popular MMCs
Simply get to a run command (Start>Run) or a command prompt (Start>Run>CMD [enter]) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
https://blog.serverdensity.com/80-linux-monitoring-tools-know/ Jonathan Sundqvist den
Kıymetli Arkadaşım Ömer’ in bir paylaşımı, unutmamak için yazayım dedim.
“İPUCU : Bilgisayar başından aceleyle kalkınca ekranı kilitlemeyi unutuyorsunuz ve adınıza tatlı mı ısmarlanıyor? Çözüm basit.
1-Bir bat dosyası hazırlayıp içine aşağıdaki komutu girin.
2-Dosyayı bat olarak kaydedin.
3-Outlook’da bir kural oluşturun ve sizin verdiğiniz kriterlerde mail geldiği zaman bu batch çalışsın.
Komut –> rundll32.exe user32.dll,LockWorkStation
Burada Outlook’un sürekli açık olduğunu varsayıyoruz 🙂
Basit ama işe yarayan bir yöntem, yıllardır kullanırım, daha pek tatlı ısmarladığım olmamıştır :)”
Field |
Appears As | Description |
---|---|---|
Date | date | The date that the activity occurred. |
Time | time | The time that the activity occurred. |
Client IP Address | c-ip | The IP address of the client that accessed your server. |
User Name | cs-username | The name of the authenticated user who accessed your server. This does not include anonymous users, who are represented by a hyphen (-). |
Service Name | s-sitename | The Internet service and instance number that was accessed by a client. |
Server Name | s-computername | The name of the server on which the log entry was generated. |
Server IP Address | s-ip | The IP address of the server on which the log entry was generated. |
Server Port | s-port | The port number the client is connected to. |
Method | cs-method | The action the client was trying to perform (for example, a GET method). |
URI Stem | cs-uri-stem | The resource accessed; for example, Default.htm. |
URI Query | cs-uri-query | The query, if any, the client was trying to perform. |
Protocol Status | sc-status | The status of the action, in HTTP or FTP terms. |
Win32® Status | sc-win32-status | The status of the action, in terms used by Microsoft Windows®. |
Bytes Sent | sc-bytes | The number of bytes sent by the server. |
Bytes Received | cs-bytes | The number of bytes received by the server. |
Time Taken | time-taken | The duration of time, in milliseconds, that the action consumed. |
Protocol Version | cs-version | The protocol (HTTP, FTP) version used by the client. For HTTP this will be either HTTP 1.0 or HTTP 1.1. |
Host | cs-host | Displays the content of the host header. |
User Agent | cs(User-Agent) | The browser used on the client. |
Cookie | cs(Cookie) | The content of the cookie sent or received, if any. |
Referrer | cs(Referer) | The previous site visited by the user. This site provided a link to the current site. |
Prefix | Meaning |
---|---|
s-
|
Server actions.
|
c-
|
Client actions.
|
cs-
|
Client-to-server actions.
|
sc-
|
Server-to-client actions.
|
Özellikle IIS Loglarını analiz edebileceğiniz şahane bir araç. Log Parser Lizard
Öncelikle Log Parser 2.2 ı indiriyoruz. Log Parser 2.2 Klasik kurulum sonrasında
C:\Program Files (x86)\Log Parser 2.2>regsvr32 LogParser.dll komutu ile LogParser.dll i alıyoruz.
Log Parser Lizard http://www.lizard-labs.com/log_parser_lizard.aspx uygulamasını kuruyoruz. Almış olduğumuz IIS .log ve httperr loğlarını uygulama üzerinden açarak çalışmaya başlayabiliyoruz.
Örnek 1: 10 ar dakikalık ara ile alınan 404 hatalarının sayısı.
SELECT TO_LOCALTIME(QUANTIZE(TO_TIMESTAMP(date, time), 600)) AS ZamanDilimi, count(*) FROM C:\Temp\IIS\LogData\*.log where time > ’09:00:00′ and sc-status = 404 group by ZamanDilimi
Örnek 2: Log dosyasındaki başlıkları görüntüleme
select TOP 1 * FROM C:\Temp\IIS\LogData\*.log
Örnek 3: Alınan hata kodlarına göre guruplama. Kaç tane 404, 500 hatası alınmış gibi. 200 başarılı işlemlerdir.
SELECT sc–status, count(*) FROM C:\Temp\IIS\LogData\*.log group by sc–status
Örnek 4: Hangi sayfalarda 500 hatası alınmış.
SELECT cs–uri–stem, sc–status, date, time FROM C:\Temp\IIS\LogData\*.log where sc–status = 500
Örnek 5: Belirtilen sayfadaki 10 sn den uzun süren hatalar.
SELECT cs–uri–stem, sc–status, date, time, time–taken FROM C:\Temp\IIS\LogData\*.log where cs–uri–stem = ‘/9002y.aspx’ AND time–taken > 10000
Örnek 6: Alınan hata nedenlerinin sayılarının adetsel durumu
SELECT s–reason, count(*) AS hits FROM C:\Temp\IIS\*.log group by s–reason ORDER BY hits desc