Skip to main content
INF - e-learning - Dipartimento di Informatica
  • English ‎(en)‎
    English ‎(en)‎ Italiano ‎(it)‎
You are currently using guest access (Log in)

Laboratorio di Reti

  1. Home
  2. Courses
  3. Corso di Laurea in Informatica (L-31)
  4. LRETI - A.A. 2023/24
  5. 26 Ottobre
  6. Analisi di un web server log

Analisi di un web server log

Completion requirements
Opened: Tuesday, 31 October 2023, 12:00 AM
Due: Thursday, 9 November 2023, 9:00 AM

Il log file di un web server contiene un insieme di linee, con il seguente formato:

150.108.64.57 - - [15/Feb/2001:09:40:58 -0500] "GET / HTTP 1.0" 200 2511

in cui:

  • 150.108.64.57 indica l'host remoto, in genere secondo la dotted quad form
  • [data]
  • "HTTP request" è il tipo di richiesta http
  • status
  • bytes sent
  • eventuale tipo del client "Mozilla/4.0......."
Scrivere un'applicazione Weblog che prende in input il nome del log file (che saràfornito) e ne stampa ogni linea, in cui ogni indirizzo IP è sostituito con l'hostname. Sviluppare due versioni del programma, la prima single-threaded, la seconda invece

utilizza un thread pool, in cui il task assegnato ad ogni thread riguarda la traduzione

di un insieme di linee del file. Confrontare i tempi delle due versioni.

  • web.log.txt web.log.txt
    31 October 2023, 12:26 PM
◄ Conteggio occorrenze
Dungeon Adventures ►

Blocks

Skip Navigation

Navigation

  • Home

    • Site pages

      • My courses

      • Tags

      • ForumSite news

    • My courses

    • Courses

      • Corso di Laurea in Informatica (L-31)

        • CN-A ( 24-25)

        • CC 24 25

        • LWS2425

        • ICT security

        • LBD_24-25

        • IIA 2025

        • GC2425

        • ALGEBRA LINEARE 2024-25

        • ALGEBRA

        • PdP-B-2024

        • PdP-A-2024

        • LRETI - A.A. 2023/24

          • General

          • 21 Settembre

          • 28 Settembre

          • 5 Ottobre

          • 12 Ottobre

          • 19 Ottobre

          • 26 Ottobre

            • AssignmentAnalisi di un web server log

          • 2 Novembre

          • 9 Novembre

          • 16 Novembre

          • 30 Novembre

          • 7 Dicembre

          • 12 Dicembre

      • Corso di Laurea Magistrale in Informatica (LM-18)

      • Corso di Laurea Magistrale in Informatica e Networ...

      • Corso di Laurea Magistrale in Data Science and Bus...

      • Corso di Laurea Magistrale in Informatics for Digi...

      • Corsi erogati dal Dipartimento di Matematica

      • Master di II livello in "Professione formatore in ...

      • Corsi CLIL

      • Altri Corsi

      • Anno Accademico 2013-14

Blocks

You are currently using guest access (Log in)
LRETI - A.A. 2023/24
  • English ‎(en)‎
    • English ‎(en)‎
    • Italiano ‎(it)‎
Data retention summary
Get the mobile app