Linux test command Use
来源:互联网 发布:佛山 网络英语培训 编辑:程序博客网 时间:2024/05/21 08:38
查看cpu使用率 top --> '1'
查看已安装模块
module avail
module load ****
screen 远程执行任务
screen #create a new screen session
OR screen -S session_name
ctrl+A, then d, #save and exit session if work pending
screen -ls #list all screen sessions
screen -x #回到最近的session
exit #退出session
ctrl+A, '[' #输出到上层目录
gnuplot 使用小结
some good reference ...
http://www.duke.edu/~hpgavin/gnuplot.html
http://dsec.pku.edu.cn/dsectest/dsec_cn/gnuplot/
intput file tricks
logscale y 2
use "-1" to take place of blank input cells. (out of y-axis range)
one script example:
set terminal postscript enhanced "Helvetica"11 #11 could control the font size
set pointsize 0.7
set key right bottom
set logscale x 2
set term postscript color
set xrange [1:128]
set xlabel "number of nodes (MPI Procs)"
set xtics("1" 1,"2" 2,"4" 4,"8" 8,"16" 16,"32" 32,"64" 64)
set grid xtics ytics mxtics mytics
set style line 1 lt 1 lw 3 pt 4
set style line 2 lt 1 lw 3 pt 4
set style line 3 lt 2 lw 3 pt 6
set style line 4 lt 2 lw 3 pt 6
set style line 5 lt 3 lw 3 pt 8
set style line 6 lt 4 lw 3 pt 1
set style line 7 lt 5 lw 3 pt 2
set style line 8 lt 6 lw 3 pt 3
set style line 9 lt 7 lw 3 pt 5
set output 'MKL_Strong_Scalability.eps'
set multiplot layout 2,2
set logscale y 2
set yrange [1:]
set title "MKL Strong Scalability (time/s)"
set ylabel "comp.time (log)"
plot "input_sc_hpl_mkl_tm.txt" using 1:2 title '64K-sc' with lp ls 7,\
"input_sc_hpl_mkl_tm.txt" using 1:3 title '32K-sc' with lp ls 2,\
"input_sc_hpl_mkl_tm.txt" using 1:4 title '16K-sc' with lp ls 5
set title "MKL Strong Scalability (Gflops)"
set ylabel "Performance (log)"
plot "input_sc_hpl_mkl_gflops.txt" using 1:2 title '64K-sc' with lp ls 7,\
"input_sc_hpl_mkl_gflops.txt" using 1:3 title '32K-sc' with lp ls 2,\
"input_sc_hpl_mkl_gflops.txt" using 1:4 title '16K-sc' with lp ls 5
unset logscale y
set yrange [0:]
set title "MKL Strong Scalability (time/s)"
set ylabel "comp.time"
plot "input_sc_hpl_mkl_tm.txt" using 1:2 title '64K-sc' with lp ls 7,\
"input_sc_hpl_mkl_tm.txt" using 1:3 title '32K-sc' with lp ls 2,\
"input_sc_hpl_mkl_tm.txt" using 1:4 title '16K-sc' with lp ls 5
set title "MKL Strong Scalability (Gflops)"
set ylabel "Performance"
plot "input_sc_hpl_mkl_gflops.txt" using 1:2 title '64K-sc' with lp ls 7,\
"input_sc_hpl_mkl_gflops.txt" using 1:3 title '32K-sc' with lp ls 2,\
"input_sc_hpl_mkl_gflops.txt" using 1:4 title '16K-sc' with lp ls 5
unset multiplot
gsview/gs. eps <-->png
Windows
将jpeg,png,gif转换为eps格式,推荐使用bmeps命令行工具
eps ---> jpeg ...
gswin32c -dBATCH -dEPSCrop -sDEVICE=png256 -sOutputFile=tiger.png tiger.eps
Linux
png --> eps (Imagemagik)
sudo apt-get install imagemagik
convert tiger.png tiger.eps
eps --> png (GhostScript)
gs -dBATCH -dEPSCrop -sDEVICE=png256 -sOutputFile=tiger.png tiger.eps
epstopdf (better choice, higher resolution)
epstopdf MKL_Strong_Scalability.eps (default output the same file name with pdf extension, *.pdf)
旋转保存pdf文件
ctrl + shift + r --> save #或者虚拟pdf打印,选择横向视图
- Linux test command Use
- Linux command use problems
- Linux - test command or [ expr ]
- HowTo: Use cat Command In Linux / UNIX
- How to use the Linux top command
- UNIX and Linux Shell Script Test Command
- use AT command to send a sms in linux system
- Use mutt send email attachment at linux command line
- HowTo: Use grep Command In Linux / UNIX [ Examples ]
- HowTo: Use grep Command In Linux / UNIX – Examples
- How to use 7zip on Linux command Line
- Use expect command to interact with mysql in linux system
- HowTo: Use grep Command In Linux / UNIX – Examples
- How To Use Ip Command In Linux with Examples
- git command for use
- shell test command 列表
- linker command failed with exit code 1 (use -v to see invocation) xxx.app/xxx file not found test
- test use scribeFire
- [HDU-2717] BFS
- MYSQL 字符集问题
- 单链表的快速排序(转)
- IMPDP中实现不同用户之间的数据迁移——REMAP_SCHEMA参数
- DELPHI WM_CopyData 用法
- Linux test command Use
- 状态机的状态序列
- 项目管理师-系统分析师-系统架构师的区别
- 架构评估技术详解
- 数据库架构
- 软件架构的5种视图
- 在VC++6.0上,选中要排版的代码,按ALT +F8 就可以对程序进行自动缩进的排版
- 集合框架(五)——Map
- 魔方