free命令常用参数详解及常用内存工具介绍

                       作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

一.内存空间使用状态

1>."-b"参数(以字节为单位显示内存使用情况)

  1. [root@node101.yinzhengjie.org.cn ~]# free -b
  2. total used free shared buff/cache available
  3. Mem:
  4. Swap:
  5. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -b

2>."-k"参数(默认选项,以“kb”为单位显示内存使用情况)

  1. [root@node101.yinzhengjie.org.cn ~]# free -k
  2. total used free shared buff/cache available
  3. Mem:
  4. Swap:
  5. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -k

3.“-m”参数(以“mb”为单位显示内存使用情况)

  1. [root@node101.yinzhengjie.org.cn ~]# free -m
  2. total used free shared buff/cache available
  3. Mem:
  4. Swap:
  5. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -m

4>.“-g”参数(以"gb"为单位显示内存使用情况)

  1. [root@node101.yinzhengjie.org.cn ~]# free -g
  2. total used free shared buff/cache available
  3. Mem:
  4. Swap:
  5. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -g

5>.以易读格式显示

  1. [root@node101.yinzhengjie.org.cn ~]# free -h
  2. total used free shared buff/cache available
  3. Mem: .6G 131M .2G 8.6M 288M .3G
  4. Swap: .9G 0B .9G
  5. [root@node101.yinzhengjie.org.cn ~]#
  6. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -h

6>.“-s”参数(后面需要跟个数字,单位是"s",显示每隔多少秒数来显示一次内存使用情况)

  1. [root@node101.yinzhengjie.org.cn ~]# free -h -s
  2. total used free shared buff/cache available
  3. Mem: .6G 132M .2G 8.6M 288M .3G
  4. Swap: .9G 0B .9G
  5.  
  6. total used free shared buff/cache available
  7. Mem: .6G 132M .2G 8.6M 288M .3G
  8. Swap: .9G 0B .9G
  9.  
  10. total used free shared buff/cache available
  11. Mem: .6G 132M .2G 8.6M 288M .3G
  12. Swap: .9G 0B .9G
  13.  
  14. total used free shared buff/cache available
  15. Mem: .6G 132M .2G 8.6M 288M .3G
  16. Swap: .9G 0B .9G
  17.  
  18. total used free shared buff/cache available
  19. Mem: .6G 132M .2G 8.6M 288M .3G
  20. Swap: .9G 0B .9G
  21.  
  22. total used free shared buff/cache available
  23. Mem: .6G 132M .2G 8.6M 288M .3G
  24. Swap: .9G 0B .9G
  25.  
  26. ^C
  27. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -h -s 1

7>.“-t”参数(在末尾活多出一行“Total”,表示显示总和列)

  1. [root@node101.yinzhengjie.org.cn ~]# free -t -h -s
  2. total used free shared buff/cache available
  3. Mem: .6G 131M .2G 8.6M 288M .3G
  4. Swap: .9G 0B .9G
  5. Total: 15G 131M 15G
  6.  
  7. total used free shared buff/cache available
  8. Mem: .6G 131M .2G 8.6M 288M .3G
  9. Swap: .9G 0B .9G
  10. Total: 15G 131M 15G
  11.  
  12. total used free shared buff/cache available
  13. Mem: .6G 131M .2G 8.6M 288M .3G
  14. Swap: .9G 0B .9G
  15. Total: 15G 131M 15G
  16.  
  17. total used free shared buff/cache available
  18. Mem: .6G 131M .2G 8.6M 288M .3G
  19. Swap: .9G 0B .9G
  20. Total: 15G 131M 15G
  21.  
  22. total used free shared buff/cache available
  23. Mem: .6G 131M .2G 8.6M 288M .3G
  24. Swap: .9G 0B .9G
  25. Total: 15G 131M 15G
  26.  
  27. total used free shared buff/cache available
  28. Mem: .6G 131M .2G 8.6M 288M .3G
  29. Swap: .9G 0B .9G
  30. Total: 15G 131M 15G
  31.  
  32. ^C
  33. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -t -h -s 1

8.“-o”参数(不显示包含“-/+ buffers/cache”的这一列,新版本已经移除了该选项),

  1. [root@yinzhengjie ~]# free -t -o -m -s
  2. total used free shared buffers cached
  3. Mem:
  4. Swap:
  5. Total:
  6.  
  7. total used free shared buffers cached
  8. Mem:
  9. Swap:
  10. Total:
  11.  
  12. total used free shared buffers cached
  13. Mem:
  14. Swap:
  15. Total:
  16.  
  17. total used free shared buffers cached
  18. Mem:
  19. Swap:
  20. Total:
  21.  
  22. total used free shared buffers cached
  23. Mem:
  24. Swap:
  25. Total:
  26.  
  27. ^C
  28. [root@yinzhengjie ~]#

free -t -o -m -s 1

9>."-C"参数(刷新n次后即退出)

  1. [root@node101.yinzhengjie.org.cn ~]# free -t -c -m -s
  2. total used free shared buff/cache available
  3. Mem:
  4. Swap:
  5. Total:
  6.  
  7. total used free shared buff/cache available
  8. Mem:
  9. Swap:
  10. Total:
  11.  
  12. total used free shared buff/cache available
  13. Mem:
  14. Swap:
  15. Total:
  16. [root@node101.yinzhengjie.org.cn ~]#
  17. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# free -t -c 3 -m -s 1

10>.输出结果说明

  1.   
  2.    total used free shared buffers cached #第一行
  3. Mem:    #第二行
  4. -/+ buffers/cache:   #第三行
  5. Swap:    #第四行
  6.  
  7. 我们知道这个是"free -m"的输出结果,我只不过是将结果取出来了,然后进行标号,用坐标的方式来讲解如何查看内容:
  8. 第一行:
  9.   total(,):总计物理内存的大小。
  10.   used(,):已使用的空间。
  11.   free(,):可用的空间。
  12.   shared(,):多个进程共享的内存总额。现在已经deprecated,其值总是0(当然在一些系统上也可能不是0,主要取决于free命令是怎么实现的)。
  13.   buffers(,):用于存放要输出到disk(块设备)的数据的,[A buffer is something that has yet to be "written" to disk. ]即提高了内存网硬盘加速写的能力
  14.   cached(,):存放从disk上读出的数据,['A cache is something that has been "read" from the disk and stored for later use.'] (cached往往比buffers数字大就是为了提高IO read的性能)即提高了加速读的能力
  15.  
  16. 第二行:(输出时从操作系统(OS)来看的)
  17.   看了第一行的解释,我能知道了第一行输出时从操作系统(OS)来看的。也就是说,从OS的角度来看
  18.   3.3):即7855MB物理内存;
  19.   (,):7718MB已经被使用了;
  20.   (,):137MB可用被使用。
  21.   因此,我们可以得到一个公式哟:(3.3)= (,)+ (,)
  22.  
  23. 第三行:(是从一个应用程序的角度看系统内存的使用情况)
  24.   (,,):即-buffers/cache,表示一个应用程序认为系统被用掉多少内存;
  25.   (,):即+buffers/cache,表示一个应用程序认为系统还有多少内存;
  26. 因此我们又可以得到2个公式哟:
  27. >.(,) = (,) - (,) - (,)
  28. >.(,) = (,) + (,) - (,)
  29. 第四行:
  30.   free的输出一共有四行,第四行为交换区的信息,分别是交换的总量(total),使用量(used)和有多少空闲的交换区(free
  31.  
  32. 温馨提示:
  33.   free命令由procps.*.rpm提供(在Redhat系列的OS上)。free命令的所有输出值都是从/proc/meminfo中读出的。“-/+ buffers/cache”其对应的used表示实际使用内存,对应的free对应的才是实际空闲的内存。

 

二.vmstat命令(查看虚拟内存信息)

  1. [root@node101.yinzhengjie.org.cn ~]# vmstat
  2. procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
  3. r b swpd free buff cache si so bi bo in cs us sy id wa st
  4.  
  5. [root@node101.yinzhengjie.org.cn ~]#
  6.  
  7. 参数说明:
  8. procs:
  9.   r
  10.     可运行(正运行或等待运行)进程的个数,和核心数有关
  11.   b
  12.     处于不可中断睡眠态的进程个数(被阻塞的队列的长度)
  13.  
  14. memory
  15.   swpd:
  16.     交换内存的使用总量
  17.   free
  18.     空闲物理内存总量
  19.   buffer
  20.     用于buffer的内存总量
  21.   cache
  22.     用于cache的内存总量
  23.  
  24. swap:
  25.   si
  26.     从磁盘交换进内存的数据速率(kb/s)
  27.   so
  28.     从内存交换至磁盘的数据速率(kb/s)
  29.  
  30. io
  31.   bi
  32.     从块设备读入数据到系统的速率(kb/s)
  33.   bo:
  34.     保存数据至块设备的速率
  35.  
  36. system
  37.   in:
  38.     interrupts 中断速率,包括时钟
  39.   cs:
  40.     context switch 进程切换速率
  41.  
  42. cpu
  43.   us:
  44.     Time spent running non-kernel code
  45.   sy:
  46.      Time spent running kernel code
  47.   id:
  48.     Time spent idle. Linux 2.5.41前,包括IO-wait time.
  49.   wa:
  50.     Time spent waiting for IO. 2.5.41前,包括in idle.
  51.   st:
  52.     Time stolen from a virtual machine. 2.6.11前, unknown.

1>."-s" 参数显示内存的统计数据

  1. [root@node101.yinzhengjie.org.cn ~]# vmstat -s
  2. K total memory
  3. K used memory
  4. K active memory
  5. K inactive memory
  6. K free memory
  7. K buffer memory
  8. K swap cache
  9. K total swap
  10. K used swap
  11. K free swap
  12. non-nice user cpu ticks
  13. nice user cpu ticks
  14. system cpu ticks
  15. idle cpu ticks
  16. IO-wait cpu ticks
  17. IRQ cpu ticks
  18. softirq cpu ticks
  19. stolen cpu ticks
  20. pages paged in
  21. pages paged out
  22. pages swapped in
  23. pages swapped out
  24. interrupts
  25. CPU context switches
  26. boot time
  27. forks
  28. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# vmstat -s

2>.动态观察虚拟内存情况

  1. [root@node101.yinzhengjie.org.cn ~]# vmstat 10      #指定每秒查看一次虚拟内存的情况,总共查询10次。
  2. procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
  3. r b swpd free buff cache si so bi bo in cs us sy id wa st
  4.  
  5. [root@node101.yinzhengjie.org.cn ~]#

3>.用于测试内存的相关命令

  1. [root@node101.yinzhengjie.org.cn ~]# dd if=/dev/zero of=/dev/null bs=2G  #从内存到内存
  2.  
  3. [root@node101.yinzhengjie.org.cn ~]# dd if=/dev/sda of=/dev/null      #从磁盘读数据到内存
  4.  
  5. [root@node101.yinzhengjie.org.cn ~]# dd if=/dev/zero of=bigfile.txt    #从内存写数据到磁盘(有可能会先放入Buffer)
  6.  

三.交换分区管理

  1. [root@node101.yinzhengjie.org.cn ~]# free -h
  2. total used free shared buff/cache available
  3. Mem: .6G 130M .2G 8.6M 288M .3G
  4. Swap: .9G 0B .9G
  5. [root@node101.yinzhengjie.org.cn ~]#
  6. [root@node101.yinzhengjie.org.cn ~]# swapoff /dev/mapper/centos-swap     #禁用交换内存
  7. [root@node101.yinzhengjie.org.cn ~]#
  8. [root@node101.yinzhengjie.org.cn ~]# free -h
  9. total used free shared buff/cache available
  10. Mem: .6G 125M .2G 8.6M 288M .3G
  11. Swap: 0B 0B 0B
  12. [root@node101.yinzhengjie.org.cn ~]#
  13. [root@node101.yinzhengjie.org.cn ~]# swapon /dev/mapper/centos-swap      #启用交换内存
  14. [root@node101.yinzhengjie.org.cn ~]#
  15. [root@node101.yinzhengjie.org.cn ~]# free -h
  16. total used free shared buff/cache available
  17. Mem: .6G 130M .2G 8.6M 288M .3G
  18. Swap: .9G 0B .9G
  19. [root@node101.yinzhengjie.org.cn ~]#
  20. [root@node101.yinzhengjie.org.cn ~]#

四.内存工具介绍

1>.iostat(统计CPU和设备IO信息)

  1. [root@node101.yinzhengjie.org.cn ~]# yum -y install sysstat
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: mirrors.aliyun.com
  5. * epel: mirrors.tuna.tsinghua.edu.cn
  6. * extras: mirrors.aliyun.com
  7. * updates: mirrors.aliyun.com
  8. Resolving Dependencies
  9. --> Running transaction check
  10. ---> Package sysstat.x86_64 :10.1.-.el7 will be installed
  11. --> Processing Dependency: libsensors.so.()(64bit) for package: sysstat-10.1.-.el7.x86_64
  12. --> Running transaction check
  13. ---> Package lm_sensors-libs.x86_64 :3.4.-.20160601gitf9185e5.el7 will be installed
  14. --> Finished Dependency Resolution
  15.  
  16. Dependencies Resolved
  17.  
  18. =======================================================================================================================================
  19. Package Arch Version Repository Size
  20. =======================================================================================================================================
  21. Installing:
  22. sysstat x86_64 10.1.-.el7 base k
  23. Installing for dependencies:
  24. lm_sensors-libs x86_64 3.4.-.20160601gitf9185e5.el7 base k
  25.  
  26. Transaction Summary
  27. =======================================================================================================================================
  28. Install Package (+ Dependent package)
  29.  
  30. Total download size: k
  31. Installed size: 1.2 M
  32. Downloading packages:
  33. (/): lm_sensors-libs-3.4.-.20160601gitf9185e5.el7.x86_64.rpm | kB ::
  34. (/): sysstat-10.1.-.el7.x86_64.rpm | kB ::
  35. ---------------------------------------------------------------------------------------------------------------------------------------
  36. Total kB/s | kB ::
  37. Running transaction check
  38. Running transaction test
  39. Transaction test succeeded
  40. Running transaction
  41. Installing : lm_sensors-libs-3.4.-.20160601gitf9185e5.el7.x86_64 /
  42. Installing : sysstat-10.1.-.el7.x86_64 /
  43. Verifying : lm_sensors-libs-3.4.-.20160601gitf9185e5.el7.x86_64 /
  44. Verifying : sysstat-10.1.-.el7.x86_64 /
  45.  
  46. Installed:
  47. sysstat.x86_64 :10.1.-.el7
  48.  
  49. Dependency Installed:
  50. lm_sensors-libs.x86_64 :3.4.-.20160601gitf9185e5.el7
  51.  
  52. Complete!
  53. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# yum -y install sysstat       #需要安装该软件包才能使用

  1. [root@node101.yinzhengjie.org.cn ~]# iostat 3          #每秒查询1次,共计查询3次
  2. Linux 3.10.-.el7.x86_64 (node101.yinzhengjie.org.cn) // _x86_64_ ( CPU)
  3.  
  4. avg-cpu: %user %nice %system %iowait %steal %idle
  5. 0.09 0.00 0.84 0.05 0.00 99.01
  6.  
  7. Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
  8. sda 5.45 43.10 1992.06
  9. dm- 5.02 35.74 1991.30
  10. dm- 0.03 0.93 0.00
  11. dm- 0.02 0.96 0.38
  12.  
  13. avg-cpu: %user %nice %system %iowait %steal %idle
  14. 4.58 0.00 21.37 2.80 0.00 71.25
  15.  
  16. Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
  17. sda 171.00 0.00 87552.00
  18. dm- 329.00 0.00 168448.00
  19. dm- 0.00 0.00 0.00
  20. dm- 0.00 0.00 0.00
  21.  
  22. avg-cpu: %user %nice %system %iowait %steal %idle
  23. 4.80 0.00 23.20 4.00 0.00 68.00
  24.  
  25. Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
  26. sda 559.00 0.00 286208.00
  27. dm- 545.00 0.00 279040.00
  28. dm- 0.00 0.00 0.00
  29. dm- 0.00 0.00 0.00
  30.  
  31. [root@node101.yinzhengjie.org.cn ~]#

2>.pmap命令(进程对应的内存映射)

  1. [root@node101.yinzhengjie.org.cn ~]# pidof dd
  2.  
  3. [root@node101.yinzhengjie.org.cn ~]#
  4. [root@node101.yinzhengjie.org.cn ~]# cat /proc/`pidof dd`/maps
  5. - r-xp fd: /usr/bin/dd
  6. - r--p fd: /usr/bin/dd
  7. - rw-p fd: /usr/bin/dd
  8. 0152c000-0154d000 rw-p : [heap]
  9. 7f36062e0000-7f360c80a000 r--p fd: /usr/lib/locale/locale-archive
  10. 7f360c80a000-7f360c9cc000 r-xp fd: /usr/lib64/libc-2.17.so
  11. 7f360c9cc000-7f360cbcc000 ---p 001c2000 fd: /usr/lib64/libc-2.17.so
  12. 7f360cbcc000-7f360cbd0000 r--p 001c2000 fd: /usr/lib64/libc-2.17.so
  13. 7f360cbd0000-7f360cbd2000 rw-p 001c6000 fd: /usr/lib64/libc-2.17.so
  14. 7f360cbd2000-7f360cbd7000 rw-p :
  15. 7f360cbd7000-7f360cbf9000 r-xp fd: /usr/lib64/ld-2.17.so
  16. 7f360cdec000-7f360cdef000 rw-p :
  17. 7f360cdf7000-7f360cdf8000 rw-p :
  18. 7f360cdf8000-7f360cdf9000 r--p fd: /usr/lib64/ld-2.17.so
  19. 7f360cdf9000-7f360cdfa000 rw-p fd: /usr/lib64/ld-2.17.so
  20. 7f360cdfa000-7f360cdfb000 rw-p :
  21. 7fff6d857000-7fff6d878000 rw-p : [stack]
  22. 7fff6d9ce000-7fff6d9d0000 r-xp : [vdso]
  23. ffffffffff600000-ffffffffff601000 r-xp : [vsyscall]
  24. [root@node101.yinzhengjie.org.cn ~]#
  25. [root@node101.yinzhengjie.org.cn ~]#
  26. [root@node101.yinzhengjie.org.cn ~]# pmap `pidof dd`
  27. : dd if=/dev/zero of=bigfile.txt
  28. 68K r-x-- dd
  29. 4K r---- dd
  30. 4K rw--- dd
  31. 000000000152c000 132K rw--- [ anon ]
  32. 00007f36062e0000 103592K r---- locale-archive
  33. 00007f360c80a000 1800K r-x-- libc-2.17.so
  34. 00007f360c9cc000 2048K ----- libc-2.17.so
  35. 00007f360cbcc000 16K r---- libc-2.17.so
  36. 00007f360cbd0000 8K rw--- libc-2.17.so
  37. 00007f360cbd2000 20K rw--- [ anon ]
  38. 00007f360cbd7000 136K r-x-- ld-2.17.so
  39. 00007f360cdec000 12K rw--- [ anon ]
  40. 00007f360cdf7000 4K rw--- [ anon ]
  41. 00007f360cdf8000 4K r---- ld-2.17.so
  42. 00007f360cdf9000 4K rw--- ld-2.17.so
  43. 00007f360cdfa000 4K rw--- [ anon ]
  44. 00007fff6d857000 132K rw--- [ stack ]
  45. 00007fff6d9ce000 8K r-x-- [ anon ]
  46. ffffffffff600000 4K r-x-- [ anon ]
  47. total 108000K
  48. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# pmap `pidof dd`        #读取效果要比上面的命令要好的多

3>.进程对应的内存映射的另外一种实现

  1. [root@node101.yinzhengjie.org.cn ~]# pidof dd
  2. [root@node101.yinzhengjie.org.cn ~]#
  3. [root@node101.yinzhengjie.org.cn ~]# cat /proc/`pidof dd`/maps
  4. - r-xp fd: /usr/bin/dd
  5. - r--p fd: /usr/bin/dd
  6. - rw-p fd: /usr/bin/dd
  7. - rw-p : [heap]
  8. 7f4886004000-7f488c52e000 r--p fd: /usr/lib/locale/locale-archive
  9. 7f488c52e000-7f488c6f0000 r-xp fd: /usr/lib64/libc-2.17.so
  10. 7f488c6f0000-7f488c8f0000 ---p 001c2000 fd: /usr/lib64/libc-2.17.so
  11. 7f488c8f0000-7f488c8f4000 r--p 001c2000 fd: /usr/lib64/libc-2.17.so
  12. 7f488c8f4000-7f488c8f6000 rw-p 001c6000 fd: /usr/lib64/libc-2.17.so
  13. 7f488c8f6000-7f488c8fb000 rw-p :
  14. 7f488c8fb000-7f488c91d000 r-xp fd: /usr/lib64/ld-2.17.so
  15. 7f488cb10000-7f488cb13000 rw-p :
  16. 7f488cb1b000-7f488cb1c000 rw-p :
  17. 7f488cb1c000-7f488cb1d000 r--p fd: /usr/lib64/ld-2.17.so
  18. 7f488cb1d000-7f488cb1e000 rw-p fd: /usr/lib64/ld-2.17.so
  19. 7f488cb1e000-7f488cb1f000 rw-p :
  20. 7ffe3fad1000-7ffe3faf2000 rw-p : [stack]
  21. 7ffe3fbfc000-7ffe3fbfe000 r-xp : [vdso]
  22. ffffffffff600000-ffffffffff601000 r-xp : [vsyscall]
  23. [root@node101.yinzhengjie.org.cn ~]#
  24. [root@node101.yinzhengjie.org.cn ~]#

[root@node101.yinzhengjie.org.cn ~]# cat /proc/`pidof dd`/maps      #易读性较差

free命令常用参数详解的更多相关文章

  1. chattr的常用参数详解

    chattr的常用参数详解 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 在实际生产环境中,有的运维工程师不得不和开发和测试打交道,在我们公司最常见的就是部署接口.每天每个人部署的 ...

  2. find常用参数详解

    find常用参数详解 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 在linux系统中,在init 3模式情况下都是命令行模式,这个时候我们想要找到一个文件的就得依赖一个非常好用的 ...

  3. cat常用参数详解

    cat常用参数详解 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 最近,我的一个朋友对linux特别感兴趣,于是我觉得每天交给他一个命令的使用,这样一个月下来也会使用30个命令,基 ...

  4. rsync常用参数详解

    rsync常用参数详解 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 在linux中,一切皆是文件,包括你的终端,硬件设备信息,目录,内核文件等等.所以工作中我们难免会遇到拷贝文件 ...

  5. 以太坊客户端Geth命令用法-参数详解

    Geth在以太坊智能合约开发中最常用的工具(必备开发工具),一个多用途的命令行工具. 熟悉Geth可以让我们有更好的效率,大家可收藏起来作为Geth命令用法手册. 本文主要是对geth help的翻译 ...

  6. nmap常用参数详解

    nmap常用参数详解 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 借用英雄联盟的一个英雄赵信的一句话:“即使敌众我寡,末将亦能万军丛中取敌将首级!”.三国关羽,万军丛中斩了颜良, ...

  7. tcpdump常用参数详解

    tcpdump常用参数详解 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 好久没有更新我的博客了,看来自己最近还没有在放假中回过神来啊,哈哈~是不是也有小伙伴跟我一样呢?回归正题, ...

  8. DB2创建数据库常用参数详解

    转自http://czmmiao.iteye.com/blog/1335801 DB2创建数据库常用参数详解 本文只介绍DB2 create database语法中的常用参数http://publib ...

  9. NFS和mount常用参数详解 本文目录

    NFS和mount常用参数详解   本文目录 NFS权限参数配置 mount挂载参数 原始驱动程序的挂载选项. 新驱动程序的挂载选项. 怎样改变已经挂载的NTFS卷的权限? 怎样自动挂载一个NTFS卷 ...

随机推荐

  1. 申港集中运营平台Linux测试环境架构搭建

    架构图 服务一览 ESB安装 ESB全称为Enterprise Service Bus,即企业服务总线.ESB提供了网络中最基本的连接中枢,是构筑企业神经系统的必要元素.ESB的出现改变了传统的软件架 ...

  2. Visual Studio 2017 社区版的安装与组件修改(C++)

    0. 环境描述 需求:用VS2017做C++简易开发. 操作系统:Windows 8.1. 1. 下载 MSDN下载VS2017社区版. https://msdn.itellyou.cn/ 下载后: ...

  3. Oracle 数据表误删恢复 Flashback

    1. 前提条件. recyclebin 参数打开. 验证参数是否打开: SHOW PARAMETER RECYCLEBIN 2. 如果参数没有打开的话 需要打开,并且重启一下数据库方法为 alter ...

  4. 关于mybatis的@Param注解和参数

    1,使用@Param注解 当以下面的方式进行写SQL语句时: @Select("select column from table where userid = #{userid} " ...

  5. python 协程库gevent学习--gevent源码学习(二)

    在进行gevent源码学习一分析之后,我还对两个比较核心的问题抱有疑问: 1. gevent.Greenlet.join()以及他的list版本joinall()的原理和使用. 2. 关于在使用mon ...

  6. Idea解决打开大文件消耗CPU问题

    dea打开大文件的时候,会导致cpu利用率变得特别高,我这边八核i7的配置下,cpu依然飙到了600%~700%,这个时候就需要修改idea的配置(下面以Ubuntu为例). 1.进入到idea安装目 ...

  7. 《ERP系统原理与实施》

    第一 采购 第二 生产(生产任务->生产准备->加工单->派工单->生产调度->生产监控->数据采集->统计分析) 第三 仓储 第四 质量 第五 财务 第六 ...

  8. CF1045G

    CF1045G 看了下题解,动态开点线段树,好像挺难的 #include <map> #include <cstdio> #include <algorithm> ...

  9. 如何在Anaconda中实现多版本python共存

    anaconda中Python版本是3.5,因为爬虫原因,需要Python2.7版本,因此,希望能在anaconda中Python3和Python2共存. 1. 打开Anaconda Prompt,可 ...

  10. python中 Lambda,Map,Filter,Itertools,Generator高级函数的用法

    Lambda 函数 Lambda 函数是一种比较小的匿名函数--匿名是指它实际上没有函数名. Python 函数通常使用 def a_function_name() 样式来定义,但对于 lambda ...