Presentation is loading. Please wait.

Presentation is loading. Please wait.

University of Pisa Computer Science Department System Administration Monitoring Stefano Bistarelli University of Pisa Computer Science Department

Similar presentations


Presentation on theme: "University of Pisa Computer Science Department System Administration Monitoring Stefano Bistarelli University of Pisa Computer Science Department"— Presentation transcript:

1 University of Pisa Computer Science Department System Administration Monitoring Stefano Bistarelli University of Pisa Computer Science Department bista@di.unipi.it http://www.di.unipi.it/~bista/

2 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline

3 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline

4 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Prima Settimana 9 Introduzione W2K Installazione win2K (anche studenti) Backup Riferimenti: -Lucidi -Cap 1,2,15 libro 10 W2K registri Active Directory Gestione computer Linux -Installazione Linux Riferimenti: -Lucidi -Cap 4,5 libro -RH inst.guide 11 lab -Linux utente1 12 lab -Linux utente2

5 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Seconda settimana 15 lab 16 W2K Booting and Shutdown Disco ripristino Linux Booting and Shutdown Inst. Linux (studenti) Riferimenti: -Lucidi - fotocopie 17 W2K Utenti Linux Backup multi boot Utenti superuser Riferimenti: -Libro Cap. 7 -Lucidi - fotocopie 18 lab 19 lab

6 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration terza settimana 22 lab 2324 W2K Device Disk fs Linux Device Disk fs Riferimenti: -Libro Cap. 8 -Lucidi - fotocopie 25 lab 26 lab

7 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration quarta settimana 29 lab 3031 W2K processi Task periodici stampa Linux processi Task periodici stampa Riferimenti: -Libro Cap. -Lucidi - fotocopie 1 W2K processi Task periodici stampa Linux processi Task periodici stampa Riferimenti: -Libro Cap. -Lucidi - fotocopie 2 lab

8 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration quinta settimana 5 lab 6 W2K monitoring Linux monitoring Riferimenti: -Libro Cap. -Lucidi - fotocopie 7 W2K Linux Ripasso guidato dagli studenti 8 lab 9 lab

9 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Monitoring-Linux In tutti gli Unix: Iostat: disk,terminal,cpu Vmstat: virtual memory Pstat: intero sistema Netstat: ethernet Difficile interpretazione! No regole fisse! Solo esperienza!

10 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration vmstat procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 0 0 0 1920 2984 7996 57372 0 0 1 1 122 99 1 0 98 Procs r: The number of processes waiting for run time. b: The number of processes in uninterruptable sleep. w: The number of processes swapped out but otherwise runnable. This field is calculated, but Linux never desperation swaps. Memory swpd: the amount of virtual memory used (kB). free: the amount of idle memory (kB). buff: the amount of memory used as buffers (kB).

11 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 0 0 0 1920 2984 7996 57372 0 0 1 1 122 99 1 0 98 Swap si: Amount of memory swapped in from disk (kB/s). so: Amount of memory swapped to disk (kB/s). IO bi: Blocks sent to a block device (blocks/s). bo: Blocks received from a block device (blocks/s).

12 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 0 0 0 1920 2984 7996 57372 0 0 1 1 122 99 1 0 98 System in: The number of interrupts per second, including the clock. cs: The number of context switches per second. CPU These are percentages of total CPU time. us: user time sy: system time id: idle time

13 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration vari Uptime Df, du Who ps

14 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration procinfo Memory: Total Used Free Shared Buffers Cached Mem: 127812 89812 38000 14332 8204 59484 Swap: 530104 1920 528184 Bootup: Sun Feb 4 18:33:48 2001 Load average: 0.00 0.00 0.00 2/53 3104 user : 0:24:45.13 1.4% page in : 107158 disk 1: 33557r 47293w nice : 0:00:00.00 0.0% page out: 69284 system: 0:04:41.29 0.3% swap in : 1063 idle : 1d 4:43:27.87 98.3% swap out: 1810 uptime: 1d 5:12:54.27 context : 10379950 irq 0: 10517429 timer irq 6: 3 irq 1: 64888 keyboard irq 8: 1 rtc irq 2: 0 cascade [4] irq 10: 2242 es1371 irq 3: 3 irq 12: 331807 PS/2 Mouse irq 4: 3 irq 13: 1 fpu irq 5: 472789 eth0 irq 14: 1407307 ide0

15 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Procinfo -m Kernel Command Line: auto BOOT_IMAGE=linux ro root=301 Modules: 28 *nfs 140 *nfsd 30 *lockd 52 *sunrpc 19 *3c59x 28 es1371 3 *soundcore Character Devices: Block Devices: 1 mem 14 sound 1 ramdisk 2 pty 29 fb 2 fd 3 ttyp 36 netlink 3 ide0 4 ttyS 128 ptm 9 md 5 cua 136 pts 7 vcs 162 raw 10 misc File Systems: ext2 [proc] iso9660 [devpts] [nfs]

16 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration top uptime This line displays the time the system has been up, and the three load averages for the system. The load averages are the average number of process ready to run during the last 1, 5 and 15 minutes. This line is just like the output of uptime(1). The uptime display may be toggled by the interactive l command. processes The total number of processes running at the time of the last update. This is also broken down into the number of tasks which are running, sleeping, stopped, or undead. The processes and states display may be toggled by the t interactive command.

17 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Top/gtop 11:53pm up 1 day, 5:19, 1 user, load average: 0.00, 0.00, 0.00 53 processes: 52 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.3% user, 0.1% system, 0.0% nice, 99.4% idle Mem: 127812K av, 90028K used, 37784K free, 14632K shrd, 8216K buff Swap: 530104K av, 1920K used, 528184K free 59536K cached PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 3134 bista 18 0 964 964 748 R 0 0.5 0.7 0:00 top 1 root 0 0 120 68 48 S 0 0.0 0.0 0:04 init 2 root 0 0 0 0 0 SW 0 0.0 0.0 0:01 kflushd 3 root 0 0 0 0 0 SW 0 0.0 0.0 0:09 kupdate 4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod 5 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kswapd 6 root -20 -20 0 0 0 SW< 0 0.0 0.0 0:00 mdrecoveryd 333 bin 0 0 248 220 156 S 0 0.0 0.1 0:00 portmap

18 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Top/gtop Man top

19 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration win2k Performance monitor

20 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration win2k Registro eventi

21 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Linux - rpm Gnome rpm krpm


Download ppt "University of Pisa Computer Science Department System Administration Monitoring Stefano Bistarelli University of Pisa Computer Science Department"

Similar presentations


Ads by Google