ss://base64(method:passwod)@server-address:port
Category: tool
碰到的有意思工具
-
outline accesskey format
-
powershell 4.0 安装包下载地址
{ "WMF3": { "Win7": { "x86": "https://download.microsoft.com/download/E/7/6/E76850B8-DA6E-4FF5-8CCE-A24FC513FD16/Windows6.1-KB2506143-x86.msu", "x64": "https://download.microsoft.com/download/E/7/6/E76850B8-DA6E-4FF5-8CCE-A24FC513FD16/Windows6.1-KB2506143-x64.msu" } }, "DotNet4": "https://download.microsoft.com/download/1/B/E/1BE39E79-7E39-46A3-96FF-047F95396215/dotNetFx40_Full_setup.exe", "WMF4": { "Win7": { "x64": "https://download.microsoft.com/download/3/D/6/3D61D262-8549-4769-A660-230B67E15B25/Windows6.1-KB2819745-x64-MultiPkg.msu", "x86": "https://download.microsoft.com/download/3/D/6/3D61D262-8549-4769-A660-230B67E15B25/Windows6.1-KB2819745-x86-MultiPkg.msu" }, "Server2012": "https://download.microsoft.com/download/3/D/6/3D61D262-8549-4769-A660-230B67E15B25/Windows8-RT-KB2799888-x64.msu" }, "WMF5": { "Server2008R2": "https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/Win7AndW2K8R2-KB3134760-x64.msu", "Server2012": "https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/W2K12-KB3134759-x64.msu", "Server2012R2": "https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/Win8.1AndW2K12R2-KB3134758-x64.msu", "Win7": { "x64": "https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/Win7AndW2K8R2-KB3134760-x64.msu", "x86": "https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/Win7-KB3134760-x86.msu" }, "Win81": { "x64": "https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/Win8.1AndW2K12R2-KB3134758-x64.msu", "x86": "https://download.microsoft.com/download/2/C/6/2C6E1B4A-EBE5-48A6-B225-2D2058A9CEFB/Win8.1-KB3134758-x86.msu" } }, "WMF51": { "Server2012": "https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/W2K12-KB3191565-x64.msu", "Server2012R2": "https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu", "Win81": { "x64": "https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu", "x86": "https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu" } } }
-
iscsiadm用法
iscsiadm 用法
data from
Understanding iscsiadm Utility in CentOS / RHEL
Discovering iSCSI targets using Send Targetsmode
Use the iscsiadm utility to update, delete, insert, and query the persistent database. Also use this utility to establish a session between a target and an initiator. Several different operational modes are available for the command.
- discoverydb: Updates or queries the Open-iSCSI database records
- discovery: Performs a discovery operation
- node: Performs an operation on a portal (IP:port) on an iSCSI target
- session: Performs an operation on a TCP connection between an initiator and a target
- iface: Performs an operation on a network interface
Additional options to iscsiadm include:
- -type – Specify the discover type.
- -portal – Specify the iSCSI target portal.
-
结合vmstat分析iostat输出结果
man vmstat
FIELD DESCRIPTION FOR VM MODE
Procs
- r: The number of processes waiting for run time.
r 表示运行队列 (就是说多少个进程真的分配到CPU). 当这个值超过了CPU数目, 就会出现CPU瓶颈.
-
b: The number of processes in uninterruptible sleep.
Memory
- swpd: the amount of virtual memory used.
- free: the amount of idle memory.
- buff: the amount of memory used as buffers.
- cache: the amount of memory used as cache.
- inact: the amount of inactive memory. (-a option)
- active: the amount of active memory. (-a option)
Swap
- si: Amount of memory swapped in from disk (/s).
- so: Amount of memory swapped to disk (/s).
IO
- bi: Blocks received from a block device (blocks/s).
- bo: Blocks sent to a block device (blocks/s).
System
- in: The number of interrupts per second, including the clock.
- cs: The number of context switches per second.
CPU
- These are percentages of total CPU time.
- us: Time spent running non-kernel code. (user time, including nice time)
- sy: Time spent running kernel code. (system time)
- id: Time spent idle. Prior to Linux 2.5.41, this includes IO-wait time.
-
wa: Time spent waiting for IO. Prior to Linux 2.5.41, included in idle.
wa 列显示了IO等待所占用的CPU时间的百分比。这里wa的参考值为30%,如果wa超过30%,说明IO等待严重,这可能是磁盘大量随机访问造成的,也可能磁盘或者磁盘访问控制器的带宽瓶颈造成的(主要是块操作)
-
st: Time stolen from a virtual machine. Prior to Linux 2.6.11, unknown.
- r: The number of processes waiting for run time.
-
创建intellij idea启动图标
centos上创建intellij idea启动图标
Pycharm
# cat /usr/share/applications/pycharm.desktop [Desktop Entry] Name=Pycharm GenericName=Pycharm Comment=Pycharm2019:The Python IDE Exec=sh /wjhdata/pycharm-community-2019.1.3/bin/pycharm.sh Icon=/wjhdata/pycharm-community-2019.1.3/bin/pycharm.png Terminal=false Type=Application Categories=Utility;Application
IntelliJ IDEA
# cat /usr/share/applications/intellij.desktop [Desktop Entry] Name=IntelliJ IDEA Comment=IntelliJ IDEA Exec=sh /wjhdata/idea-IC-191.7479.19/bin/idea.sh Icon=/wjhdata/idea-IC-191.7479.19/bin/idea.png Terminal=false Type=Application Categories=Utility;Application