FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


os:linux:get:scripts:systeminfo.sh.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
os:linux:get:scripts:systeminfo.sh.html [2017/11/25 02:40]
kurihara
os:linux:get:scripts:systeminfo.sh.html [2018/02/04 23:58] (current)
kurihara
Line 1: Line 1:
-[[:index.html#OS Management|Top#OS Management]]+[[os:linux:ope:index.html]]
 ====== systeminfo.sh ====== ====== systeminfo.sh ======
 +$FHHOME/target/scripts/systeminfo.sh
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
Line 42: Line 42:
 ## cat /proc/cpuinfo |grep "cpu cores" | perl -e 'while(<>){$n+=/(\d+)/?$1:0;}print"$n\n";' #### ## cat /proc/cpuinfo |grep "cpu cores" | perl -e 'while(<>){$n+=/(\d+)/?$1:0;}print"$n\n";' ####
 `cat /proc/cpuinfo |grep "cpu cores" | perl -e 'while(<>){$n+=/(\d+)/?$1:0;}print"$n\n";'` `cat /proc/cpuinfo |grep "cpu cores" | perl -e 'while(<>){$n+=/(\d+)/?$1:0;}print"$n\n";'`
- 
  
  
 ## cat /proc/meminfo  |egrep "MemTotal|SwapTotal" #### ## cat /proc/meminfo  |egrep "MemTotal|SwapTotal" ####
 `cat /proc/meminfo  |egrep "MemTotal|SwapTotal"` `cat /proc/meminfo  |egrep "MemTotal|SwapTotal"`
 +
 +## df -h  |grep -v tmpfs
 +`df -h  |grep -v tmpfs`
  
 ## mount | egrep ^/dev #### ## mount | egrep ^/dev ####
-`mount | egrep ^/dev`+`mount | egrep "^/dev|nfs"`
  
  
Line 74: Line 76:
  
  
 +\\
 +\\
 +[[os:linux:ope:index.html]]
  
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
 [[:index.html#OS Management|Top#OS Management]] [[:index.html#OS Management|Top#OS Management]]
-<catlist ..: -noAddPageButton -noHead -sortAscending>+<catlist ..:..: -noAddPageButton -noHead -sortAscending>
 </WRAP> </WRAP>
  


os/linux/get/scripts/systeminfo.sh.html.1511545229.txt.gz · Last modified: 2017/11/25 02:40 by kurihara