Sunteți pe pagina 1din 3

Solaris Engineering Commands prtdiag v print diagnostic information prtconf | grep Memory find out total memory in system

prtconf v display system configuration, there is an instance for each device i.e. SCSI controller and under driver software properties you will get the transfer rate in hex for each physical target drive. iostat En Find size and details of a disk iostat en Error count summary on disks dmesg display message buffer of the kernel tail -200 /var/adm/messages list last 200 lines in the messages file prstat lists top users prstat a view disk stats continuously netstat i lists stats on all net interfaces in system netstat i 2 lists network stats every 2 secs, <CNTL> C or Y to exit vmstat p 2 lists paging stat every 2 secs mpstat p 2 view per cpu stats every 2 secs cfgadm val lists verbosely all configurable hardware devfsadm scan for new devices on the system ifconfig a list network interfaces

svcs a list all known services and status last reboot list time of most recent reboot df k display file system space (note MD device = SDS, /dev/vx/dsk = veritas VM) ./usr/sunvts/bin/startsunvts start sunvts diagnostics on a non production server showrev p show revisions of packages on system eeprom list environmental variables eeprom > eeprom.txt output contents of eeprom to log file eeprom auto-boot?=true auto-boot? Is now set to auto boot after POST, however, this change will take place after reboot luxadm probe Display available FC disk enclosure in i.e. V880/A5000 luxadm display FCloop Display disks in FCloop enclosure in V880 luxadm display 20000004cf8fc8de Display device properties of a FC disk 20000004cf8fc8de luxadm remove_device /dev/rdsk/c1t5d0s2 Fiber channel luxadm procedure to remove disk, ensure no file systems are mounted on the device/s luxadm insert_device Hit <return> when you have finished adding Fiber Channel enclosure/devices ls l /dev/dsk | grep c1t5d0 Checks device files exist for the c1t5d0 disk and also maps logical device to physical hardware address ls l /dev/dsk Lists logical device to physical hardware addresses for disks luxadm e rdls /dev/dsk/c1t5d0s0 Link error status information for loop luxadm e dump_map FCloop Maps AL_PA ID Hard_Addr to Port WWN for disks/enclosures

sync The sync command is generally executed prior to shutdown or halt, to flush all disk buffers and write the superblock. This ensures data integrity is preserved when the system is either rebooted or where the run level is modified. prtconf -vp | more Display FC HBA adapter information prtconf -vp | grep wwn display HBA WWN for port and node luxadm -e port Display link status of FC HBA luxadm qlgc Display Sun/Qlogic FC HBA cfgadm -al display info about host ports and attachment points i.e. Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected unconfigured unknown c0::50020f2300006077 disk connected unconfigured unknown cfgadm -c configure c0::50020f2300006077 To configure a fabric device cfgadm -al -o show_SCSI_LUN c0 To display FCP SCSI LUN information for multi SCSI LUN devices cfgadm -c configure c0 To configure all the SCSI devices on the port c0

cfgadm -c unconfigure c0::50020f2300006077 To unconfigure a fabric device cfgadm -c unconfigure c0::50020f2300006077 c2::50020f2300006107 To view all of the faults (which include silent faults) that have occurred on a system. This will display all cached faults, including faults that dont necessarily indicate a component is faulty (e.g., a single page being retired) metastat list status of metadevices in the system metadb i lists each metadb, its status and device format

S-ar putea să vă placă și