Analyse Linuxsystem: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 93: Zeile 93:
 
     9 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [migration/0]
 
     9 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [migration/0]
 
   10 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [watchdog/0]
 
   10 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [watchdog/0]
 +
</pre>
 +
=Anzeigen von Shutdown und Runleve änderungen=
 +
*last -x
 +
<pre>
 +
thomas.w pts/20      :0              Tue Sep 13 11:14    gone - no logout
 +
root    pts/20      127.0.0.1        Tue Sep 13 11:10 - 11:10  (00:00)
 +
thomas.w pts/19      :0              Tue Sep 13 10:55    gone - no logout
 +
thomas.w pts/6        :0              Tue Sep 13 10:55    gone - no logout
 +
thomas.w pts/0        :0              Tue Sep 13 10:54    gone - no logout
 +
thomas.w tty7        :0              Fri Sep  9 11:37    gone - no logout
 +
runlevel (to lvl 5)  4.4.0-36-generic Fri Sep  9 11:37  still running
 +
reboot  system boot  4.4.0-36-generic Fri Sep  9 11:36  still running
 +
thomas.w pts/22      :0              Thu Sep  8 12:10 - 17:37  (05:26)
 
</pre>
 
</pre>

Version vom 13. September 2016, 09:43 Uhr

Anzahl der Prozessoren

  • cat /proc/cpuinfo | grep processor
processor	: 0
processor	: 1
processor	: 2
processor	: 3
processor	: 4
processor	: 5
processor	: 6
processor	: 7


Load

Prozessoranzahl * 1 ist noch ok

  • uptime
11:29:30 up 6 min,  1 user,  load average: 4.21, 3.07, 1.37
  • top
top - 11:36:32 up 13 min,  1 user,  load average: 1.54, 2.09, 1.54

Tasks: 334 total,   1 running, 333 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.0 us,  2.2 sy,  0.0 ni, 94.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:  32505060 total,  8500908 used, 24004152 free,    63504 buffers
KiB Swap:  7208956 total,        0 used,  7208956 free.   355116 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                  
 3545 root      20   0 2061548 1.030g  10376 S  11.3  3.3   2:27.61 kvm                                                                      
 3650 root      20   0 1528548  29768  10444 S   9.6  0.1   0:41.16 kvm                                                                      
 3491 root      20   0 3060972 1.114g  10436 S   8.0  3.6   1:39.85 kvm                                                                      
 3672 root      20   0 1528548  29552  10396 S   6.0  0.1   0:40.07 kvm                                                                      
 ...

Speicher und Swapauslastung

  • free
             total       used       free     shared    buffers     cached
Mem:      32505060    8450840   24054220      43212      62900     354900
-/+ buffers/cache:    8033040   24472020
Swap:      7208956          0    7208956

Temperatur

  • sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +106.0°C)
temp2:        +29.8°C  (crit = +106.0°C)

asus-isa-0000
Adapter: ISA adapter
cpu_fan:        0 RPM

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +60.0°C  (high = +85.0°C, crit = +105.0°C)
Core 0:         +59.0°C  (high = +85.0°C, crit = +105.0°C)
Core 1:         +60.0°C  (high = +85.0°C, crit = +105.0°C)
Core 2:         +48.0°C  (high = +85.0°C, crit = +105.0°C)
Core 3:         +57.0°C  (high = +85.0°C, crit = +105.0°C)
<pre>
=Raid (software= =
*cat /proc/mdstat 
<pre>
Personalities : [raid1] 
md0 : active raid1 sdb1[0] sdc1[1]
      2930135232 blocks super 1.2 [2/2] [UU]
      [>....................]  resync =  1.2% (36622336/2930135232) finish=1225.0min speed=39364K/sec
      
unused devices: <none>

Festplattenauslastung

  • iotop
Total DISK READ :     606.81 K/s | Total DISK WRITE :      86.27 K/s
Actual DISK READ:     605.83 K/s | Actual DISK WRITE:     101.95 K/s
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND                                                                       
 3531 be/4 root        0.00 B/s   11.76 K/s  0.00 %  0.00 % kvm -id 100 -chardev socket,id=qmp,path=~us=pci.0,addr=0x13,id=net1,bootindex=301
 3594 be/4 root        3.92 K/s   27.45 K/s  0.00 %  0.00 % kvm -id 101 -chardev socket,id=qmp,path=~us=pci.0,addr=0x13,id=net1,bootindex=301
 3636 be/4 root        3.92 K/s   35.29 K/s  0.00 %  0.00 % kvm -id 102 -chardev socket,id=qmp,path=~-global kvm-pit.lost_tick_policy=discard
 3637 be/4 root       31.37 K/s    3.92 K/s  0.00 %  0.00 % kvm -id 102 -chardev socket,id=qmp,path=~-global kvm-pit.lost_tick_policy=discard
 3638 be/4 root        0.00 B/s    7.84 K/s  0.00 %  0.00 % kvm -id 102 -chardev socket,id=qmp,path=~-global kvm-pit.lost_tick_policy=discard
 3639 be/4 root      567.59 K/s    0.00 B/s  0.00 %  0.00 % kvm -id 102 -chardev socket,id=qmp,path=~-global kvm-pit.lost_tick_policy=discard
    1 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % init
    2 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kthreadd]
    3 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [ksoftirqd/0]
    5 be/0 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [kworker/0:0H]
    7 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [rcu_sched]
    8 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [rcu_bh]
    9 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [migration/0]
   10 rt/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % [watchdog/0]

Anzeigen von Shutdown und Runleve änderungen

  • last -x
thomas.w pts/20       :0               Tue Sep 13 11:14    gone - no logout
root     pts/20       127.0.0.1        Tue Sep 13 11:10 - 11:10  (00:00)
thomas.w pts/19       :0               Tue Sep 13 10:55    gone - no logout
thomas.w pts/6        :0               Tue Sep 13 10:55    gone - no logout
thomas.w pts/0        :0               Tue Sep 13 10:54    gone - no logout
thomas.w tty7         :0               Fri Sep  9 11:37    gone - no logout
runlevel (to lvl 5)   4.4.0-36-generic Fri Sep  9 11:37   still running
reboot   system boot  4.4.0-36-generic Fri Sep  9 11:36   still running
thomas.w pts/22       :0               Thu Sep  8 12:10 - 17:37  (05:26)