System Info Commands

### SYSTEM INFO COMMANDS ### Solaris version and platform information [ssybl0:~]# cat /etc/release Solaris 10 5/08 s10s_u5wos_10 SPARC Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 24 March 2008 showrev [ssybl0:~]# showrev Hostname: bl0 Hostid: 84avaa Release: 5.10 Kernel architecture: sun4v Application architecture: sparc Hardware provider: Sun_Microsystems Domain:… Leer más: System Info Commands »

BASH .bash_profile

[ssybl0:~]# cat .bash_profile export TERM=xtermc export PS1='[\h:\w]\$ ‘ alias ls=’ls -l’ alias vi=’vim’

Brocade 200E Fibre Channel Switch

Brocade 200E Fibre Channel Switch Designed to meet the needs of small and growing SAN environments, the Brocade 4 Gb/sec 200E Fibre Channel switch delivers low-cost access to SAN technology. The switch scales from 8 to 16 ports, is easy to use and install, and is ideal for small and medium-sized organizations deploying their first… Leer más: Brocade 200E Fibre Channel Switch »

status of CPUs SOlaris

If you want separate stats for each processor, «mpstat 5» shows cpu usage and idle etc. System Administration Commands mpstat(1M) NAME mpstat – report per-processor or per-processor-set statis- tics -bash-3.00# mpstat CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 17 0 110 234 131 11 0… Leer más: status of CPUs SOlaris »

BASH Shell Command Chaining

###BASH Command Chaining/Logical ANDing/ORing### Command Chaining: TO run a -> b -> c ls -lF /etc; pwd;who;ps Logical ANDing: Program b will execute only if program a was executed a&&b&&c Programs mutually inclusive Returns a exit status 0 and then run b exit status 0 and then run C Logical ANDing – runs subsequent based… Leer más: BASH Shell Command Chaining »

create raid T6300

FYI, I managed to do this by booting from a remote Jumpstart image – in single user, and then using the following command: raidctl -c c0t0d0 c0t1d0 Just booting to single user won’t let you do this – you have to be booted from something other than c0t0d0 or c0t1d0, i.e. CD or a jumpstart… Leer más: create raid T6300 »