Workspace ONE Access Linux

 SUSE Linux Enterprise Server 11 SP4  (x86_64)

awk cut grep sed

awk -F : '{print $3}'  以:为分隔符号,显示第3段。

cut -c 25-28 显示第25到第 28个字符

我们要删除每行最后的两个字符:

点号表示一个单个字符, 两个点号就表示两个单个字符  sed 's/..$//' test

删除每行前2个字符 sed 's/..//' test

替换原有的字符 sed -i 这样会写入文件,没有-i 不保存的原有文件

sed -i 's/0:9877",/0:9999",/' /usr/lib/Acronis/ApiGateway/api_gateway.json

变量需要用“ ,必须用” 要不然 不生效

sed -i "s/0:$PORT/0:$NEWPORT/" /usr/lib/Acronis/ApiGateway/api_gateway.json

标签

使用nmcli 设置IP Centos7

[root@localhost home]# nmcli conn
NAME           UUID                                  TYPE      DEVICE
enp6s0         f674c024-fe70-45ce-8dd9-8bf690bfd50d  ethernet  enp6s0
enp0s29u1u1u5  87c4add0-d9b3-49a8-9cc4-39a7d65dc88a  ethernet  enp0s29u1u1u5
enp11s0        e2219acb-6776-48cf-817d-e0a6b54ba7e1  ethernet  --
 

标签

20 JL  lot 1939

20 JL  lot 1939
fat
cholesterol
sodium
calcium
iron
fer
puff pastry with raspberry filiing
ingredients: enriched wheat flour 
respherry filling .sugar. butter. palm and sunflower oil margaine. salt.flavourings.

***************

20 JL批次1939
脂肪
胆固醇



FER
覆盆子馅的油酥
成分:浓缩小麦粉
灌装糖。 牛油。 棕榈和葵花籽油的人造黄油。 盐调味料。

Compatibility of Kaspersky Lab solutions for business with Windows XP SP3

Compatibility of Kaspersky Lab solutions for business with Windows XP SP3

Back to "Software compatibility"

Latest update: January 29, 2020 ID: 10929

 

 

Microsoft ended support for Windows XP on April 8, 2014.

The following Kaspersky solutions will be compatible with Windows XP SP3 according to the scheduled product lifecycles:

标签

阿里云磁盘IO 测试情况

使用hdparm命令
这是一个是用来获取ATA/IDE硬盘的参数的命令,是由早期Linux IDE驱动的开发和维护人员 Mark Lord开发编写的( hdparm has been written by Mark Lord <mlord@pobox.com>, the primary developer and maintainer of the (E)IDE driver for Linux, with suggestions from many netfolk).该命令应该也是仅用于Linux系统,对于UNIX系统,ATA/IDE硬盘用的可能比较少,一般大型的系统都是使用磁盘阵列的.
使用方法很简单

[root@mail ~]# hdparm -Tt /dev/vda1

/dev/vda1:
 Timing cached reads:   14706 MB in  1.99 seconds = 7373.88 MB/sec
 Timing buffered disk reads: 272 MB in  3.01 seconds =  90.33 MB/sec

 

标签

磁盘IO性能

windows下如何查看磁盘IO性能

通常,我们很容易观察到数据库服务器的内存和CPU压力。但是对I/O压力没有直观的判断方法。

磁盘有两个重要的参数:Seek time、Rotational  latency

正常的I/O计数为:①1000/(Seek time+Rotational latency)*0.75,在此范围内属正常。当达到85%的I/O计数以上时则基本认为已经存在I/O瓶颈。理论情况下,磁盘的随机读计数为125、 顺序读计数为225。对于数据文件而言是随机读写,日志文件是顺序读写。因此,数据文件建议存放于RAID5上,而日志文件存放于RAID10或 RAID1中。  

 

下面假设在有4块硬盘的RAID5中观察到的Physical Disk性能对象的部分值:  

 

Avg. DiskQueue Length 12  队列长度

Avg. DiskSec/Read .035    读数据所用时间ms

标签

lover's gift and crossing 爱者之贻

《lover's gift and crossing》。中文:爱者之赠与歧路。或者 爱者之贻 之渡 作者:泰戈尔。

原版:

Hold thy faith firm, my heart, the day will dawn.

The seed of promise is deep in the soil it will sprout.

Sleep, like a bud, will open its heart to the light,and the silence will find its voice.

The day is near when the burden will become thy gift,and thy sufferings will light up thy path.

中文版 :

我的心坚守你的信念,天将破晓。

许诺的种子在土壤中会发芽。

睡眠像芽一样,会向光明敞开自己的心,而寂静就会发声。

日子临近,负担将成为你的礼物,你的痛苦将照亮你的道路。

标签

三角恒等式

三角恒等式

对于任意非直角三角形中,如三角形ABC,总有tanA+tanB+tanC=tanAtanBtanC

证明:

已知(A+B)=(π-C)

所以tan(A+B)=tan(π-C)

则(tanA+tanB)/(1-tanAtanB)=(tanπ-tanC)/(1+tanπtanC)

整理可得

tanA+tanB+tanC=tanAtanBtanC

20个故事

 

15岁的革命女烈士,为救落水者牺牲,20年后被救者却判了死刑

https://new.qq.com/omn/20181107/20181107A1G5JY.html

研究生劝高中同学努力反被杀

订阅