Sayfalar

11 Eylül 2012 Salı

Bilgisayar mühendisleri Odası secimleri

Türk Mühendis ve Mimar Odaları Birliği, Türkiye'deki mühendisleri ve mimarları temsil eden mesleki kitle örgütü...
Bünyesinde 24 farklı meslek odasını barındıran birlik, 16 yıl sonra ilk kez yeni bir Oda kurulması kararı aldı ve Bilgisayar Mühendisleri Odası kuruldu.
Bilgisayar mühendisleri ve bilişim çalışanlarının haklarını savunacak olan Bilgisayar Mühendisleri Odası'nın ilk genel kurulu yapıldı.
Seçimi Kırmızı liste rengi ile "Demokrat Mühendisler" 334 oy ile kazandı.
Ancak üyelik başvurusu yapan fakat işlemleri tamamlanmadığı çin oy kullanamayan mühendisler süreci mehkemeye taşıdı.



26 Haziran 2012 Salı

Solaris Sistem Bilgileri


Solariste Genel donanım ve Sitem bilgilerinin elde edilmesi...
  • showrev
İşletim sistemi ve kernel versiyonları ile donanım sağlayıcı ve sistem mimarisi hakkında bilgi verir.
showrev
Hostname: myhostname
Hostid: 80f32551
Release: 5.10
Kernel architecture: sun4us
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.10 Generic_144488-10
Buna göre bu sunucunun donanım üreticisi Sun Microsystems, işletim sistemi solaris 10, işlemci mimarisi sparc.
showrev -a parametresi ile de yukarıdakileri gösterirken, ek olara patch geçmişini de gösterir.
  • psrinfo
Fiziksel işlemciler hakkında bilgi verir
psrinfo
0       on-line   since 03/24/2011 10:20:14
1       on-line   since 03/24/2011 10:20:15
Yukardaki çıktıya göre sistemde 2 tane CPU var ve belirtilen tarihten itibaren çevrimiçiler.
-v parametresiyle kullanıldığında cpu hızını ve mimarisini de belirtir.
-p parametresi ile CPU sayısını verir.
psrinfo -v
Status of virtual processor 0 as of: 03/02/2012 23:54:40
  on-line since 03/24/2011 10:20:14.
  The sparcv9 processor operates at 1100 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 03/02/2012 23:54:40
  on-line since 03/24/2011 10:20:15.
  The sparcv9 processor operates at 1100 MHz,
        and has a sparcv9 floating point processor.
Yukardaki çıktıya göre komutun çalıştığı sunucuda 2 tane sparcv9 1100Mhz işlemci var.
  • prtconf
Sistem konfigurasyonu hakkında bilgiler verir. prtconf kullanarak toplam sistem belleği öğrenilebilir. root oturumu açmadan çalıştırmak mümkün.
prtconf | grep  Memory
Memory size: 24576 Megabytes
  • prtdiag
Benzer şekilde CPU, Memory ve I/O kartları hakkında bilgi sunar. prtdiag da sistemde root oturumu açmadan çalıştırılabilir.
/usr/sbin/prtdiag
System Configuration:  Sun Microsystems  sun4u 8-slot Sun Enterprise 4000/5000
System clock frequency: 82 MHz
Memory size:  1024Mb
 
========================= CPUs =========================
 
                    Run   Ecache   CPU    CPU
Brd  CPU   Module   MHz     MB    Impl.   Mask
---  ---  -------  -----  ------  ------  ----
 0     0     0      248     2.0   US-II    1.1
 0     1     1      248     2.0   US-II    1.1
 2     4     0      248     2.0   US-II    1.1
 2     5     1      248     2.0   US-II    1.1
 
 
========================= Memory =========================
 
                                              Intrlv.  Intrlv.
Brd   Bank   MB    Status   Condition  Speed   Factor   With
---  -----  ----  -------  ----------  -----  -------  -------
 0     0     256   Active      OK       60ns    2-way     A
 2     0     256   Active      OK       60ns    2-way     A
 
========================= IO Cards =========================
 
     Bus   Freq
Brd  Type  MHz   Slot  Name                              Model
---  ----  ----  ----  --------------------------------  ----------------------
 1   SBus   25     3   SUNW,hme                                                
 1   SBus   25     3   SUNW,fas/sd (block)                                     
 1   SBus   25    13   SUNW,soc/SUNW,pln                 501-2069              
 5   SBus   25     3   SUNW,hme                                                
 5   SBus   25     3   SUNW,fas/sd (block)                                     
 5   SBus   25    13   SUNW,soc/SUNW,pln                 501-2069              
 
Detached Boards
===============
  Slot  State       Type           Info
  ----  ---------   ------         -----------------------------------------
    3    disabled   disk           Disk 0: Target: 10   Disk 1: Target: 11   
    7    disabled   disk           Disk 0: Target: 14   Disk 1: Target: 15   
 
No failures found in System
===========================
 
No System Faults found
======================
  • uptime
Sistemin ne zamandır ayakta olduğu bilgisini verir. Bununla beraber bağlı kullanıcı sayısı ve sistem performansı hakkında da bilgiler sunar.
uptime
12:10am  up 304 day(s), 15:48,  17 users,  load average: 6,07, 5,83, 5,49
Sistem en son 304 gün önce saat 12:10′da boot edilmiş. Burda load average kısmı başlı başına bir araştırma konusu. Yeri gelmişken top ve prstat -a komutları da load average bilgisini verir.

22 Mayıs 2012 Salı

Solaris Sistem Donanım Bilgilerinin Elde Edilmesi


Solaris 10′da Sistem Donanım Bilgilerinin Elde Edilmesi


Solaris kurulu bir sistemde istediğim donanım bilgilerini gösterebilecek tek bir komut aradım ve bulamadım. Bu sebepten dolayı birkaç komut kombinasyonu ile istediğim bilgilere ulaştım. Eğer Solaris 10 için elde ettiğim bilgileri gösterebilecek tek bir komut biliyorsanız lütfen beni de aydınlatınız.
Test olarak Solaris kurulu bir server dan istediğimiz bilgileri elde edelim;
  • uname bilgisi

#uname -a
SunOS hd_info 5.10 Generic_141445-09 i86pc i386 i86pc
Komut çıktısını incelersek;
SunOS 5.10 = Solaris 10 işletim sistemine sahibiz.
hd_info = makinemizin hostname idir.
i86pc = x86 platformu desteklidir.
i386 = işlemci tipimiz
  • işletim sistemi tam sürüm bilgisi

#cat /etc/release
Solaris 10 10/09 s10x_u8wos_08a X86
Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009
  • server mimari bilgisi (32 veya 64 bit)

#/bin/isainfo -kv
64-bit amd64 kernel modules
server 64 bit destekli amd64 kernel driver modüllerine sahiptir.
  • sistem genel ve slot bilgileri

#prtdiag
System Configuration: SUN MICROSYSTEMS SUN FIRE X4170 SERVER
BIOS Configuration: American Megatrends Inc. 07060215 06/19/2009
BMC Configuration: IPMI 1.5 (KCS: Keyboard Controller Style)
==== Processor Sockets ====================================
Version                          Location Tag
-------------------------------- --------------------------
Intel(R) Xeon(R) CPU           X5570  @ 2.93GHz CPU 1
Intel(R) Xeon(R) CPU           X5570  @ 2.93GHz CPU 2
==== Memory Device Sockets ================================
Type    Status Set Device Locator      Bank Locator
------- ------ --- ------------------- --------------------
other   empty  0   D2                  BANK2
other   empty  0   D1                  BANK1
other   empty  0   D0                  BANK0
other   in use 0   D5                  BANK5
other   empty  0   D4                  BANK4
other   empty  0   D3                  BANK3
other   in use 0   D8                  BANK8
other   empty  0   D7                  BANK7
other   empty  0   D6                  BANK6
other   empty  0   D2                  BANK2
other   empty  0   D1                  BANK1
other   empty  0   D0                  BANK0
other   empty  0   D5                  BANK5
other   empty  0   D4                  BANK4
other   empty  0   D3                  BANK3
other   in use 0   D8                  BANK8
other   empty  0   D7                  BANK7
other   empty  0   D6                  BANK6
FLASH   in use 0
==== On-Board Devices =====================================
 Zoar 2x GbE.
 Zoar 2x GbE.
 Zoar 2x GbE.
 Zoar 2x GbE.
==== Upgradeable Slots ====================================
ID  Status    Type             Description
--- --------- ---------------- ----------------------------
0   in use    PCI Express      PCIE0
1   in use    PCI Express      PCIE1
2   in use    PCI Express      PCIE2
SUN FIRE X4170 SERVER = Sun Server ın hangi seriden olduğunun bilgisi
Intel(R) Xeon(R) CPU  X5570  @ 2.93GHz CPU 1 = işlemci bilgisi
18 adet memory slot mevcut ve bunlardan 3 tanesi kullanımda. Yani bu 3 slota RAM takılmış. Birazdan serverda ne kadar RAM olduğunu inceleyeceğiz.
  • RAM miktarı saptanması

# /usr/sbin/prtconf | grep "Memory size"
Memory size: 12280 Megabytes
Komut çıktısından da anlayacağımız üzere serverda toplam 12 GB kapasitede RAM bulunmaktadır.
  • Harddisk bilgisi

# /usr/bin/iostat -En
c1t0d0           Soft Errors: 12 Hard Errors: 0 Transport Errors: 0
Vendor: TEAC     Product: DV-W28SS-R       Revision: 1.0C Serial No:
Size: 2.71GB <2708930560 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 12 Predictive Failure Analysis: 0
c0t0d0           Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: Sun      Product: STK RAID INT     Revision: V1.0 Serial No:
Size: 293.38GB <293381078528 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
c2t600A0B80005BD3C8000006534CA9C63Ed0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SUN      Product: LCSM100_F        Revision: 0735 Serial No:
Size: 110.25GB <110254620160 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t600A0B80005BD3C8000006514CA9C606d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SUN      Product: LCSM100_F        Revision: 0735 Serial No:
Size: 109.52GB <109521665536 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t600A0B80005BD168000006254CA9C74Cd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SUN      Product: LCSM100_F        Revision: 0735 Serial No:
Size: 109.52GB <109521665536 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t600A0B80005BD3C80000064C4CA9C4F1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SUN      Product: LCSM100_F        Revision: 0735 Serial No:
Size: 109.52GB <109521665536 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
serverda 4 adet yaklaşık 110GB boyutunda storage partition ı bulunmakta. Ayrıca 300 GB lık bir disk te mevcut.
  • Detaylı donanım bilgisi;

Linux teki dmidecode komutuna benzer şekilde Solaris te smbios komutu mevcuttur. BIOS taki sistem bilgisini detaylı olarak ekrana basar.
Verilen bilgilerde detaylı BIOS bilgisi, PCI soket bilgileri, RAM soket bilgileri, Server ürün isim bilgileri, CPU ve cache bilgileri,  Port bilgileri bulunmaktadır.
# smbios
ID    SIZE TYPE
0     68   SMB_TYPE_BIOS (BIOS information)
 Vendor: American Megatrends Inc.
 Version String: 07060215
 Release Date: 06/19/2009
 Address Segment: 0xf000
 ROM Size: 1048576 bytes
 Image Size: 65536 bytes
 Characteristics: 0x1778bda90
 SMB_BIOSFL_ISA (ISA is supported)
 SMB_BIOSFL_PCI (PCI is supported)
 SMB_BIOSFL_PLUGNPLAY (Plug and Play is supported)
 SMB_BIOSFL_FLASH (BIOS is Flash Upgradeable)
 SMB_BIOSFL_SHADOW (BIOS shadowing is allowed)
 SMB_BIOSFL_ESCD (ESCD support is available)
 SMB_BIOSFL_CDBOOT (Boot from CD is supported)
 SMB_BIOSFL_SELBOOT (Selectable Boot supported)
 SMB_BIOSFL_ROMSOCK (BIOS ROM is socketed)
 SMB_BIOSFL_EDD (EDD Spec is supported)
 SMB_BIOSFL_525_12M (int 0x13 5.25" 1.2M floppy)
 SMB_BIOSFL_35_720K (int 0x13 3.5" 720K floppy)
 SMB_BIOSFL_35_288M (int 0x13 3.5" 2.88M floppy)
 SMB_BIOSFL_I5_PRINT (int 0x5 print screen svcs)
 SMB_BIOSFL_I14_SER (int 0x14 serial svcs)
 SMB_BIOSFL_I17_PRINTER (int 0x17 printer svcs)
 SMB_BIOSFL_I10_CGA (int 0x10 CGA svcs)
 0x100000000
 Characteristics Extension Byte 1: 0x33
 SMB_BIOSXB1_ACPI (ACPI is supported)
 SMB_BIOSXB1_USBL (USB legacy is supported)
 SMB_BIOSXB1_LS120 (LS-120 boot is supported)
 SMB_BIOSXB1_ATZIP (ATAPI ZIP drive boot is supported)
 Characteristics Extension Byte 2: 0x5
 SMB_BIOSXB2_BBOOT (BIOS Boot Specification supported)
 SMB_BIOSXB2_ETCDIST (Enable Targeted Content Distrib.)
 Version Number: 0.0
 Embedded Ctlr Firmware Version Number: 0.0
ID    SIZE TYPE
1     167  SMB_TYPE_SYSTEM (system information)
 Manufacturer: SUN MICROSYSTEMS
 Product: SUN FIRE X4170 SERVER
 Version:
.
.
.


Resource:bayramkaragoz