{"id":175899,"date":"2013-04-08T17:26:04","date_gmt":"2013-04-08T13:26:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=175899"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=175899","title":{"rendered":"<span class=\"post_title\">\u0421\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0441 unix-like \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0438.<\/p>\n<p>  \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0412\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u0432\u043e\u044e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e, \u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c \u0436\u0438\u0437\u043d\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u00ab\u043f\u043e\u0440\u043e\u0434\u044b\u00bb UNIX. \u041c\u043d\u0435, \u043a\u0430\u043a \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443 Unix \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u043e\u043c\u0443 \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u0443, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u0430 \u0438\u0434\u0435\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u00ab\u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u0431\u0435\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u044f\u00bb.<\/p>\n<p>  \u0421\u043c\u044b\u0441\u043b \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u2014 \u0432\u044b\u0434\u0430\u0447\u0430 \u0432\u0441\u0435\u0439 (\u043d\u0443 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0439) \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u043d\u0430 Linux \u0438\u043b\u0438 AIX (\u0434\u0440\u0443\u0433\u0438\u0445 \u041e\u0421 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 UNIX \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u043d\u0435\u0442, \u043d\u043e \u044f \u043d\u0430\u0434 \u044d\u0442\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u044e).<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430: \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043f\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c, \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u043f\u0440\u0430\u0432\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0432\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043e\u0442 \u0440\u0443\u0442\u0430 \u0431\u0435\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u0430\u0440\u043e\u043b\u044f (\u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442 \u2014 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c Linux) \u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 sudoers (\u043d\u0443 \u0438\u043b\u0438 \u0432 LDAP, \u0443 \u0432\u0441\u0435\u0445 \u043f\u043e \u0440\u0430\u0437\u043d\u043e\u043c\u0443) \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0430  <\/p>\n<pre><code class=\"bash\">!requiretty <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c sshaskpass.sh, \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c:<\/p>\n<pre><code class=\"bash\">#!\/bin\/bash  if [ -n &quot;$SSH_ASKPASS_TMPFILE&quot; ]; then     cat &quot;$SSH_ASKPASS_TMPFILE&quot;     exit 0 elif [ $# -lt 1 ]; then     echo &quot;Usage: echo password | $0 &lt;ssh command line options&gt;&quot; &gt;&2     exit 1 fi  sighandler() {     rm &quot;$TMP_PWD&quot; }  TMP_PWD=$(mktemp) chmod 600 &quot;$TMP_PWD&quot; trap 'sighandler' SIGHUP SIGINT SIGQUIT SIGABRT SIGKILL SIGALRM SIGTERM  export SSH_ASKPASS=$0 export SSH_ASKPASS_TMPFILE=$TMP_PWD  [ &quot;$DISPLAY&quot; ] || export DISPLAY=dummydisplay:0 read password echo $password &gt;&gt; &quot;$TMP_PWD&quot;  # use setsid to detach from tty exec setsid &quot;$@&quot;  rm  &quot;$TMP_PWD&quot; <\/code><\/pre>\n<p>  \u041a\u043b\u0430\u0434\u0435\u043c \u0435\u0433\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0441\u0432\u043e\u0439 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0438 \u0434\u0430\u0451\u043c \u0435\u043c\u0443 \u043f\u0440\u0430\u0432\u043e \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a (chmod +x sshaskpass.sh).<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u0436\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0432\u0442\u043e\u0440\u043e\u0439 \u0444\u0430\u0439\u043b, \u044f \u043d\u0430\u0437\u0432\u0430\u043b \u0435\u0433\u043e Unix_check, \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<pre><code class=\"bash\">#!\/bin\/bash  if [ ! -z $1 ]; then     if ping -c1 -w1 $1 &gt;&gt; \/dev\/null 2&gt;&1; then  export HOSTNAME_NEW=$1 export USER_NAME=\u0418\u041c\u042f_\u041f\u041e\u041b\u042c\u0417\u041e\u0412\u0410\u0422\u0415\u041b\u042f export pass=\u041f\u0410\u0420\u041e\u041b\u042c_\u041f\u041e\u041b\u042c\u0417\u041e\u0412\u0410\u0422\u0415\u041b\u042f  connect=&quot;$PWD\/sshaskpass.sh ssh -o StrictHostKeyChecking=no -l $USER_NAME $HOSTNAME_NEW -n&quot; echo &quot;$pass&quot; | $connect exit &gt; \/dev\/null 2&gt;&1  SYSTYPE=`echo &quot;$pass&quot; | $connect uname -a | awk '{print $1}'`  if [ $SYSTYPE = AIX ]; then  #AIX section start  echo &quot;--------------------------------------------------------------------------------&quot; echo -en &quot;Hostname: \\t\\t&quot; echo &quot;$pass&quot; | $connect hostname -s  echo -en &quot;Domain: \\t\\t&quot; echo &quot;$pass&quot; | $connect cat \/etc\/resolv.conf | grep domain | grep -v &quot;#&quot; | awk '{print $2}'  echo -en &quot;Uptime: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo uptime | awk -F, '{print $1}' | awk '{print $3&quot; &quot;$4}'  echo -en &quot;Load average: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo uptime | awk -F: '{print $NF}' | cut -c2- | awk -F, '{print $1$2$3}'  cpunum(){ for i in `echo &quot;$pass&quot; | $connect lsdev | grep proc | grep Available | awk '{print $1}'`; do     echo $i ; done } CPU=`cpunum`  ch(){ for i in $CPU; do     PROC1=`echo &quot;$pass&quot; | $connect lsattr -El $i | grep type | awk '{printf &quot;%s&quot;, $2&quot; &quot;}'`     PROC2=`echo &quot;$pass&quot; | $connect lsattr -El $i | grep frequency | awk '{print $2\/1000000000 }' | awk '{printf(&quot;%.2f\\n&quot;, $1)}'`     echo -e &quot;$PROC1 $PROC2&quot; done }  echo -en &quot;Procs: \\t\\t\\t&quot; ch | cat -n | tail -1 |  awk '{print $1&quot;x&quot;$2&quot; &quot;$3$4&quot; GHz&quot;}' echo -en &quot;Cores per CPU: \\t\\t&quot; echo &quot;$pass&quot; | $connect lsattr -El proc0 | grep smt_threads | awk '{print $2}'  ips(){ IFCONFIG=`echo &quot;$pass&quot; | $connect ifconfig -a | grep inet | grep -v inet6 | grep -v 127.0.0.1  | awk '{print $2}'` for i in $IFCONFIG; do     echo -en &quot;IP: \\t\\t\\t&quot;     echo $i done } ips  macs(){ LSMACS=`echo &quot;$pass&quot; | $connect lsdev -Cc adapter | grep ent | grep -v EtherChannel | grep -v VLAN | grep -v Client | awk '{print $1}'` for i in $LSMACS; do     echo -en &quot;MAC: \\t\\t\\t&quot;     echo &quot;$pass&quot; | $connect lscfg -vpl $i | grep Network | awk -F. '{print $14}' | sed 's\/.\\{2\\}\/&:\/g' | rev | cut -c2- | rev done } macs  echo -en &quot;Mem: \\t\\t\\t&quot; echo &quot;$pass&quot; | $connect lsattr -El mem0 | grep goodsize | awk '{printf &quot;%s&quot;, $2\/1024 &quot; Gigabytes&quot;}' | sed -e 's\/,\/.\/' echo -e &quot;&quot;  echo -en &quot;Swap space:\\t\\t&quot; echo &quot;$pass&quot; | $connect lsps -s | sed -e '1d' | awk '{print $1}' | sed 's\/\\(.*\\)..\/\\1\/' | awk '{ tot+=$1 } END { printf &quot;%s&quot;, tot\/1024 }'; echo &quot; Gigabytes&quot;  total(){ LSVG=`echo &quot;$pass&quot; | $connect lsvg` for i in $LSVG; do     echo &quot;$pass&quot; | $connect lsvg $i | grep &quot;TOTAL PPs&quot; | awk '{print $7}' | sed -e 's\/.\/\/' done } echo -en &quot;Total in VGs:\\t\\t&quot; total | awk '{ tot+=$1 } END { printf &quot;%s&quot;, tot\/1024 &quot; Gigabytes&quot;}' | sed 's\/,\/.\/'  used(){ LSVG=`echo &quot;$pass&quot; | $connect lsvg` for i in $LSVG; do     echo &quot;$pass&quot; | $connect lsvg $i | grep &quot;USED PPs&quot; | awk '{print $6}' | sed -e 's\/.\/\/' done } echo -e &quot;&quot;  echo -en &quot;Used in VGs:\\t\\t&quot; used | awk '{ tot+=$1 } END { printf &quot;%s&quot;, tot\/1024 &quot; Gigabytes&quot;}' | sed 's\/,\/.\/'  free(){ LSVG=`echo &quot;$pass&quot; | $connect lsvg` for i in $LSVG; do     echo &quot;$pass&quot; | $connect lsvg $i | grep &quot;FREE PPs&quot; | awk '{print $7}' | sed -e 's\/.\/\/' done } echo -e &quot;&quot;  echo -en &quot;Free in VGs:\\t\\t&quot; free | awk '{ tot+=$1 } END { printf &quot;%s&quot;, tot\/1024 &quot; Gigabytes&quot;}' | sed 's\/,\/.\/' echo -e &quot;&quot;  echo -en &quot;Total in FS: \\t\\t&quot; TOT1=`echo &quot;$pass&quot; | $connect lsfs | sed -e '1d' | grep -v &quot;proc&quot; | grep -v &quot;itsm&quot; | grep -v &quot;jfs2  --&quot; | awk '{print $1}'` for i in $TOT1; do     echo &quot;$pass&quot; | $connect df -P -m $i | sed -e '1d' ; done | awk ' !x[$0]++' | awk '{print $2}' | awk '{ tot+=$1} END { print tot\/1024 &quot; Gigabytes&quot;}' | sed -e 's\/,\/.\/'  echo -en &quot;Used in FS: \\t\\t&quot; USED1=`echo &quot;$pass&quot; | $connect lsfs | sed -e '1d' | grep -v &quot;proc&quot; | grep -v &quot;itsm&quot; | grep -v &quot;jfs2  --&quot; | awk '{print $1}'` for i in $USED1; do     echo &quot;$pass&quot; | $connect df -P -m $i | sed -e '1d' ; done | awk ' !x[$0]++' | awk '{print $3}' | awk '{ tot+=$1} END { print tot\/1024 &quot; Gigabytes&quot;}' | sed -e 's\/,\/.\/'  echo -en &quot;Free in FS: \\t\\t&quot; FREE1=`echo &quot;$pass&quot; | $connect lsfs | sed -e '1d' | grep -v &quot;proc&quot; | grep -v &quot;itsm&quot; | grep -v &quot;jfs2  --&quot; | awk '{print $1}'` for i in $FREE1; do     echo &quot;$pass&quot; | $connect df -P -m $i | sed -e '1d' ; done | awk ' !x[$0]++' | awk '{print $4}' | awk '{ tot+=$1} END { print tot\/1024 &quot; Gigabytes&quot;}' | sed -e 's\/,\/.\/'  asm(){ RHDS=`echo &quot;$pass&quot; | $connect ls -la \/dev\/ | grep oracle | grep rhdisk | awk '{print $NF}'` for i in $RHDS; do     echo &quot;$pass&quot; | $connect getconf DISK_SIZE \/dev\/$i done } echo -en &quot;ASM space:\\t\\t&quot; asm | awk '{tot+=$1} END {printf &quot;%s&quot;, tot\/1024 &quot; Gigabytes&quot;}' | sed 's\/,\/.\/' echo -e &quot;&quot;  wwns(){ LSWWNS=`echo &quot;$pass&quot; | $connect lsdev -Cc adapter | grep -v Defined | grep fcs | awk '{print $1}'` for i in $LSWWNS; do     echo -en &quot;WWN: \\t\\t\\t&quot;     echo &quot;$pass&quot; | $connect lscfg -vpl $i | grep Network | awk -F. '{print $14}' | sed 's\/.\\{2\\}\/&:\/g' | rev | cut -c2- | rev done } wwns  FGET=`echo &quot;$pass&quot; | $connect sudo mpio_get_config -Av 2&gt;&1 | grep &quot;Storage Subsystem Name&quot; | awk -F= '{print $2}' | cut -c3- | rev | cut -c2- | rev` MGET=`echo &quot;$pass&quot; | $connect sudo fget_config -Av 2&gt;&1 | grep &quot;array name&quot; | awk -F= '{print $2}' | cut -c3- | rev | cut -c2- | rev` HDLM=`echo &quot;$pass&quot; | $connect sudo \/usr\/DynamicLinkManager\/bin\/dlnkmgr 2&gt;&1 view -lu | grep &quot;SerialNumber&quot; | awk -F: '{print $2}' | cut -c2-` for i in $FGET; do     echo -en &quot;Storage: \\t\\t&quot;     echo $i done for i in $MGET; do     echo -en &quot;Storage: \\t\\t&quot;     echo $i done for i in $HDLM; do     echo -en &quot;Storage: \\t\\t&quot;     echo VSP $i done  echo -en &quot;Oslevel:\\t\\tAIX &quot; echo &quot;$pass&quot; | $connect oslevel -s  echo -en &quot;Architecture:\\t\\t&quot; echo &quot;$pass&quot; | $connect uname -p | tr -d '\\n' echo &quot;$pass&quot; | $connect ls -la \/unix | awk '{print $NF}' | awk -F \/ '{print &quot; &quot; $NF}' | sed 's\/_\/\\ \/g'  # CHECK!!!!  echo -en &quot;M\/T:\\t\\t\\t&quot; echo &quot;$pass&quot; | $connect lsattr -El sys0 | grep modelname | awk '{print $2}' | cut -c5-  echo -en &quot;Serial Num:\\t\\t&quot; echo &quot;$pass&quot; | $connect lsattr -El sys0 | grep systemid | awk '{print $2}' | cut -c7-  echo &quot;--------------------------------------------------------------------------------&quot;  sudo rm -f \/tmp\/tmp.*  #AIX section end  elif [ $SYSTYPE = Linux ]; then  #Linux section start  MANUF=`echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/dmidecode -t system | grep Manufacturer | awk '{ print $2 }'` CPUMANUF=`echo &quot;$pass&quot; | $connect sudo cat \/proc\/cpuinfo | grep &quot;vendor_id&quot; | uniq | awk '{print $3}'`  echo &quot;--------------------------------------------------------------------------------&quot; echo -en &quot;Hostname: \\t\\t&quot; echo &quot;$pass&quot; | $connect hostname -s  echo -en &quot;Domain: \\t\\t&quot; echo &quot;$pass&quot; | $connect hostname -d  echo -en &quot;Uptime: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo uptime | awk -F, '{print $1}' | awk '{print $3&quot; &quot;$4}'  echo -en &quot;Load average: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo uptime | awk -F: '{print $NF}' | cut -c2- | sed -e 's\/,\/.\/g' | awk -F. '{print $1&quot;.&quot;$2$3&quot;.&quot;$4$5&quot;.&quot;$6}'  echo -en &quot;Procs: \\t\\t\\t&quot;  if [ &quot;$MANUF&quot; = &quot;VMware,&quot; ]; then     CPUS=`echo &quot;$pass&quot; | $connect sudo cat \/proc\/cpuinfo | grep &quot;processor&quot; | sort | uniq | wc -l`     MODEL=`echo &quot;$pass&quot; | $connect sudo cat \/proc\/cpuinfo | grep &quot;model name&quot; | tail -1 | cut -c14-`     if [ &quot;$CPUMANUF&quot; = &quot;AuthenticAMD&quot; ]; then         SPEED=`echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/dmidecode | grep &quot;Current Speed&quot; | head -n 1 | awk '{printf &quot;%s&quot;, $3\/1000}'`         echo $CPUS $MODEL $SPEED GHz     else         echo $CPUS $MODEL     fi     CORES=`echo &quot;$pass&quot; | $connect sudo cat \/proc\/cpuinfo  | grep processor | wc -l`     echo -en &quot;Cores per CPU: \\t\\t&quot;     echo $(( $CORES \/ $CPUS )) else     CPUS=`echo &quot;$pass&quot; | $connect sudo cat \/proc\/cpuinfo | grep &quot;physical id&quot; | sort | uniq | wc -l`     MODEL=`echo &quot;$pass&quot; | $connect sudo cat \/proc\/cpuinfo | grep &quot;model name&quot; | tail -1 | cut -c14-`     if [ &quot;$CPUMANUF&quot; = &quot;AuthenticAMD&quot; ]; then         SPEED=`echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/dmidecode | grep &quot;Current Speed&quot; | head -n 1 | awk '{printf &quot;%s&quot;, $3\/1000}'`         echo $CPUS $MODEL $SPEED GHz     else         echo $CPUS $MODEL     fi     CORES=`echo &quot;$pass&quot; | $connect sudo cat \/proc\/cpuinfo | grep &quot;cpu cores&quot; | sort | uniq | awk '{print $4}'`     echo -e &quot;Cores per CPU: \\t\\t&quot;&quot;$CORES&quot; fi  ips(){ IFCONFIG=`echo &quot;$pass&quot; | $connect sudo \/sbin\/ip addr | grep inet | grep -v inet6 | grep -w -v lo | awk '{print $2}'` for i in $IFCONFIG; do     echo -en &quot;IP: \\t\\t\\t&quot;     echo $i done } ips  if [ &quot;$MANUF&quot; = &quot;HP&quot; ]; then     if echo &quot;$pass&quot; | $connect sudo rpm -aq | grep hponcfg &gt; \/dev\/null; then         echo &quot;$pass&quot; | $connect sudo \/sbin\/hponcfg -w \/tmp\/ilo &gt; \/dev\/null 2&gt;&1         ILOIP=`echo &quot;$pass&quot; | $connect sudo \/bin\/cat \/tmp\/ilo | grep &quot;&lt;IP_ADDRESS VALUE&quot; | awk -F= '{print $2}' | cut -c3- | rev | cut -c4- | rev`         echo &quot;$pass&quot; | $connect sudo \/bin\/rm \/tmp\/ilo     else         echo &quot;$pass&quot; | $connect sudo \/bin\/mkdir \/tools &gt; \/dev\/null 2&gt;&1         echo &quot;$pass&quot; | $connect sudo \/bin\/mount naiad:\/tools \/tools         echo &quot;$pass&quot; | $connect sudo \/bin\/rpm -ivh \/tools\/Software\/hp\/hponcfg-3.1.0-0.noarch.rpm &gt; \/dev\/null 2&gt;&1         echo &quot;$pass&quot; | $connect sudo \/bin\/umount \/tools         echo &quot;$pass&quot; | $connect sudo \/sbin\/hponcfg -w \/tmp\/ilo &gt; \/dev\/null 2&gt;&1         ILOIP=`echo &quot;$pass&quot; | $connect sudo \/bin\/cat \/tmp\/ilo | grep &quot;&lt;IP_ADDRESS VALUE&quot; | awk -F= '{print $2}' | cut -c3- | rev | cut -c4- | rev`         echo &quot;$pass&quot; | $connect sudo \/bin\/rm \/tmp\/ilo     fi     if ! echo &quot;$pass&quot; | $connect sudo rpm -aq | grep hpacucli &gt; \/dev\/null; then         echo &quot;$pass&quot; | $connect sudo \/bin\/mkdir \/tools &gt; \/dev\/null 2&gt;&1         echo &quot;$pass&quot; | $connect sudo \/bin\/mount naiad:\/tools \/tools &gt; \/dev\/null 2&gt;&1         echo &quot;$pass&quot; | $connect sudo \/usr\/bin\/yum install -y \/tools\/Software\/hp\/hpacucli-9.40-12.0.i386.rpm &gt; \/dev\/null 2&gt;&1         echo &quot;$pass&quot; | $connect sudo \/bin\/umount \/tools &gt; \/dev\/null 2&gt;&1     fi echo -en &quot;ILO IP: \\t\\t&quot; echo $ILOIP fi  macs(){ IFCONFIGM=`echo &quot;$pass&quot; | $connect sudo \/sbin\/ifconfig | grep HWaddr | awk '{print $5}' | uniq` for i in $IFCONFIGM; do     echo -en &quot;MAC: \\t\\t\\t&quot;     echo $i done } macs  echo -en &quot;Mem: \\t\\t\\t&quot; echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/dmidecode  --type memory | grep Size | grep -v No | awk '{print $2}' | awk '{ tot+=$1 } END { printf &quot;%s&quot;, tot\/1024 }' echo -e &quot; Gigabytes&quot;  echo -en &quot;Swap space:\\t\\t&quot; echo &quot;$pass&quot; | $connect cat \/proc\/swaps | sed -e '1d' | awk '{print $3}' | awk '{ tot+=$1 } END { printf &quot;%s&quot;, tot\/1024 }' | awk '{ tot+=$1 } END { printf &quot;%s&quot;, tot\/1024 }' | awk '{printf(&quot;%.2f\\n&quot;, $1)}' | awk '{print $1 &quot; Gigabytes&quot;}' | sed -e 's\/,\/.\/' | sed &quot;s\/\\.[00][0-9]*\/\/g&quot;  echo -en &quot;Total space: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo df -m -l -P | grep -v &quot;none&quot; | grep -v &quot;sda1&quot; | grep -v &quot;tmpfs&quot; |  sed -e '1d' | awk '{ print $2 }' | awk '{ tot+=$1} END { print tot\/1024 &quot; Gigabytes&quot;}'  echo -en &quot;Used space: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo df -m -l -P | grep -v &quot;none&quot; | grep -v &quot;sda1&quot; | grep -v &quot;tmpfs&quot; |  sed -e '1d' | awk '{ print $3 }' | awk '{ tot+=$1} END { print tot\/1024 &quot; Gigabytes&quot;}'  echo -en &quot;Free space: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo df -m -l -P | grep -v &quot;none&quot; | grep -v &quot;sda1&quot; | grep -v &quot;tmpfs&quot; |  sed -e '1d' | awk '{ print $4 }' | awk '{ tot+=$1} END { print tot\/1024 &quot; Gigabytes&quot;}'  if echo &quot;$pass&quot; | $connect rpm -aq | grep asm &gt; \/dev\/null 2&gt;&1; then  nums(){     NUMS0=`echo &quot;$pass&quot; | $connect sudo ls -la \/dev\/oracleasm\/disks\/ 2&gt; \/dev\/null | grep oracle | awk '{print $5&quot; &quot;$6}' | sed 's\/,\/\/g' | sed 's\/ \/@\/g'` for i in $NUMS0; do     echo $i done } nums &gt; \/tmp\/asmnums  drvs(){ NUMS1=`cat \/tmp\/asmnums` for i in $NUMS1; do     DEVS=`echo &quot;$pass&quot; | $connect cat \/proc\/partitions | sed 's\/  *\/\\ \/g' | sed 's\/ \/@\/g' | grep $i | sed 's\/@\/ \/g' | awk '{print $NF}'`     echo $DEVS done } drvs &gt; \/tmp\/asmdrvs  echo -en &quot;ASM space: \\t\\t&quot;  asm(){ BLOCK=`cat \/tmp\/asmdrvs` for s in $BLOCK; do     echo &quot;$pass&quot; | $connect sudo cat \/proc\/partitions | sed 's\/  *\/\\ \/g' | sed 's\/ \/@\/g' | grep $s | sed 's\/@\/ \/g' | awk '{print $3}'; done } asm | awk '{ tot+=$1 } END { print tot\/1048576 &quot; Gigabytes&quot;}'; sudo rm -f \/tmp\/asmdrvs sudo rm -f \/tmp\/asmnums  else echo -e &quot;ASM space: \\t\\t0 Gigabytes&quot; fi  wwns(){ LSWWNS=`echo &quot;$pass&quot; | $connect sudo \/usr\/bin\/systool -c fc_host -v 2&gt; \/dev\/null | grep port_name | awk -F= '{print $2}' | cut -c5- | rev | cut -c2- | rev | sed 's\/.\\{2\\}\/&:\/g' | rev | cut -c2- | rev` for i in $LSWWNS; do     echo -en &quot;WWN: \\t\\t\\t&quot;     echo $i done } wwns  if echo &quot;$pass&quot; | $connect sudo ls \/usr\/sbin\/mppUtil &gt; \/dev\/null 2&gt;&1 \/dev\/null; then RDAC=`echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/mppUtil -a 2&gt;\/dev\/null | grep FC | awk '{print $NF}'` for i in $RDAC; do     echo -en &quot;Storage: \\t\\t&quot;     echo $i done fi  echo -en &quot;Oslevel: \\t\\t&quot; if  echo &quot;$pass&quot; | $connect sudo ls \/etc\/redhat-release &gt; \/dev\/null 2&gt;&1; then     echo &quot;$pass&quot; | $connect cat \/etc\/redhat-release elif echo &quot;$pass&quot; | $connect sudo ls \/etc\/SuSE-release &gt; \/dev\/null 2&gt;&1; then     echo &quot;$pass&quot; | $connect cat \/etc\/SuSE-release | head -1 elif echo &quot;$pass&quot; | $connect sudo ls \/etc\/gentoo-release &gt; \/dev\/null 2&gt;&1; then     echo &quot;$pass&quot; | $connect cat \/etc\/gentoo-release elif echo &quot;$pass&quot; | $connect sudo ls \/etc\/debian_version &gt; \/dev\/null 2&gt;&1; then     echo &quot;$pass&quot; | $connect cat \/etc\/os-release | grep PRETTY | awk -F= '{print $2}' | cut -c2- | rev | cut -c2- | rev fi  echo -en &quot;Kernel ver: \\t\\t&quot; echo &quot;$pass&quot; | $connect uname -r  echo -en &quot;Architecture: \\t\\t&quot; echo &quot;$pass&quot; | $connect uname -a | awk '{print $12}'  echo -en &quot;Manufacturer: \\t\\t&quot; if [ &quot;$MANUF&quot; = &quot;VMware,&quot; ]; then     echo &quot;Vmware&quot; else     echo &quot;$MANUF&quot; fi  echo -en &quot;Model: \\t\\t\\t&quot; echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/dmidecode -t system | grep &quot;Product Name&quot; | cut -c16-  echo -en &quot;Serial Num: \\t\\t&quot; echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/dmidecode -t system | grep &quot;Serial Number&quot; | cut -c17-  if [ &quot;$MANUF&quot; = &quot;HP&quot; ]; then     HDDFAIL=`echo &quot;$pass&quot; | $connect sudo \/usr\/sbin\/hpacucli ctrl all show config | grep &quot;physicaldrive&quot; | grep -v OK | cut -c7-`         if [ ! -z &quot;$HDDFAIL&quot; ]; then             echo -e &quot;HDD Error: \\t\\t&quot;$HDDFAIL         fi fi  echo &quot;--------------------------------------------------------------------------------&quot;  sudo rm -f \/tmp\/tmp.*  #Linux section end  elif [ $SYSTYPE = FreeBSD ]; then  #FreeBSD section start echo &quot;FreeBSD&quot; #FreeBSD section end  elif [ $SYSTYPE = SunOS ]; then  #Solaris section start echo &quot;Solaris&quot; #Solaris section end  elif [ $SYSTYPE = HP-UX ]; then  #HP-UX section start echo &quot;HP-UX&quot; #HP-UX section end  fi else echo &quot;unknown host $1&quot; fi else echo &quot;hostname or ip must be specified (Unix_check hostname\/ip)&quot; fi <\/code><\/pre>\n<p>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0435\u043c\u0443 \u0442\u043e\u0436\u0435 \u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u043e \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a.<\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: .\/Unix_check hostname<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f AIX:<\/p>\n<pre><code class=\"bash\">-------------------------------------------------------------------------------- Hostname: \t\ttsm Domain: \t\txxxxxxx.xxxxx.ua Uptime: \t\t30 days Load average: \t\t0.00 0.00 0.02 Procs: \t\t\t2xPowerPC_POWER5 2.10 GHz Cores per CPU: \t\t2 IP: \t\t\t172.17.xx.xx MAC: \t\t\t00:14:5E:97:xx:xx MAC: \t\t\t00:14:5E:97:xx:xx Mem: \t\t\t7.75 Gigabytes Swap space:\t\t5 Gigabytes Total in VGs:\t\t1252.5 Gigabytes Used in VGs:\t\t562.25 Gigabytes Free in VGs:\t\t690.25 Gigabytes Total in FS: \t\t527.375 Gigabytes Used in FS: \t\t461.424 Gigabytes Free in FS: \t\t65.9507 Gigabytes ASM space:\t\t0 Gigabytes WWN: \t\t\t10:00:00:00:C9:4F:xx:xx WWN: \t\t\t10:00:00:00:C9:4F:xx:xx Storage: \t\t181470A-78K0xxx-tsm-F Storage: \t\t181470A-78K0xxx-tsm-D Oslevel:\t\tAIX 6100-07-03-1207 Architecture:\t\tpowerpc unix 64 M\/T:\t\t\t9131-52A Serial Num:\t\tXXXXXX -------------------------------------------------------------------------------- <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f Linux<\/p>\n<pre><code class=\"bash\">-------------------------------------------------------------------------------- Hostname: \t\tdfilendbb01 Domain: \t\txxxx.xxxx.xxx Uptime: \t\t5 days Load average: \t\t0.00 0.02 0.00 Procs: \t\t\t2 Dual-Core AMD Opteron(tm) Processor 2218 2.6 GHz Cores per CPU: \t\t2 IP: \t\t\t172.17.xx.xx\/xx ILO IP: \t\t172.17.xx.xx MAC: \t\t\t00:21:5A:49:xx:xx Mem: \t\t\t8 Gigabytes Swap space:\t\t8 Gigabytes Total space: \t\t71.0547 Gigabytes Used space: \t\t31.0742 Gigabytes Free space: \t\t36.3203 Gigabytes ASM space: \t\t0 Gigabytes WWN: \t\t\t50:01:43:80:02:9f:xx:xx WWN: \t\t\t50:01:43:80:02:9f:xx:xx Oslevel: \t\tRed Hat Enterprise Linux Server release 5.9 (Tikanga) Kernel ver: \t\t2.6.18-348.3.1.el5 Architecture: \t\tx86_64 Manufacturer: \t\tHP Model: \t\t\tProLiant BL465c G1   Serial Num: \t\tCZJ8300xxx       HDD Error: \t\tphysicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, Predictive Failure) -------------------------------------------------------------------------------- <\/code><\/pre>\n<p>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0443\u0442\u0438 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 NFS \u0448\u0430\u0440\u044b \u0441 \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 \u0434\u043b\u044f RHEL \u043e\u0442 HP (hponcfg \u0438 hpacucli).<br \/>  \u0422\u0430\u043a \u0436\u0435, \u0434\u043b\u044f Linux, \u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u0441\u0442\u043e\u0435\u043a IBM, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u043f\u043e SAN \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435 \u043d\u0435 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 multipathd, \u0430 RDAC. \u0414\u043b\u044f AIX, \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u0442\u043e\u0439\u043a\u0438, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e (\u0431\u0435\u0437 VIOS \u0438 VSCSI).<br \/>  \u041f\u0440\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0434\u0438\u0441\u043a\u043e\u0432 \u043f\u043e\u0434 Oracle ASM, \u0432 AIX \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f hdisk-\u043e\u0432 \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f LVM.<br \/>  \u0412 Linux \u0440\u0430\u0437\u043c\u0435\u0440 \u0434\u0438\u0441\u043a\u043e\u0432 Oracle ASM \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435, \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0434\u0438\u0441\u043a\u043e\u0432 \u044f \u043d\u0435 \u0437\u043d\u0430\u044e.<\/p>\n<p>  \u0414\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430 HP, \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 RAID \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043e\u0448\u0438\u0431\u043e\u043a \u043d\u0430 \u0434\u0438\u0441\u043a\u0430\u0445.<\/p>\n<p>  \u0411\u0443\u0434\u0443 \u0440\u0430\u0434, \u0435\u0441\u043b\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f, \u0442\u0430\u043a \u0436\u0435, \u0433\u043e\u0442\u043e\u0432 \u0432\u044b\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u043a\u0440\u0438\u0442\u0438\u043a\u0443 \u0432 \u0441\u0432\u043e\u0439 \u0430\u0434\u0440\u0435\u0441.<br \/>  P.S. \u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0438 \u0443\u0432\u0438\u0434\u044f\u0442 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0441\u0442\u0440\u043e\u0447\u043a\u0438, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a FreeBSD, Solaris, HP-UX, \u044d\u0442\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u0435\u0449\u0435 \u043d\u0435 \u0433\u043e\u0442\u043e\u0432\u044b, \u0442\u0430\u043a \u043a\u0430\u043a, \u044f \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043b \u0440\u0430\u043d\u0435\u0435, \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u043d\u0435\u0442 \u044d\u0442\u0438\u0445 \u041e\u0421. \u0415\u0441\u043b\u0438 \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u043c\u043d\u0435 \u043f\u0440\u0430\u0432\u043e \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u043f\u043e \u043c\u0435\u0440\u0435 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u2014 \u0431\u0443\u0434\u0443 \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442.<br \/>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.\u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/175899\/\"> http:\/\/habrahabr.ru\/post\/175899\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0438.<\/p>\n<p>  \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0412\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u0432\u043e\u044e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e, \u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c \u0436\u0438\u0437\u043d\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\u043c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u00ab\u043f\u043e\u0440\u043e\u0434\u044b\u00bb UNIX. \u041c\u043d\u0435, \u043a\u0430\u043a \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443 Unix \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u043e\u043c\u0443 \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u0443, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u0430 \u0438\u0434\u0435\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u00ab\u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u0431\u0435\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u044f\u00bb.<\/p>\n<p>  \u0421\u043c\u044b\u0441\u043b \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u2014 \u0432\u044b\u0434\u0430\u0447\u0430 \u0432\u0441\u0435\u0439 (\u043d\u0443 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0439) \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u043d\u0430 Linux \u0438\u043b\u0438 AIX (\u0434\u0440\u0443\u0433\u0438\u0445 \u041e\u0421 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 UNIX \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u043d\u0435\u0442, \u043d\u043e \u044f \u043d\u0430\u0434 \u044d\u0442\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u044e).  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-175899","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/175899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=175899"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/175899\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=175899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=175899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=175899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}