useful-scripts
useful-scripts copied to clipboard
🐌 useful scripts for making developer's everyday life easier and happier, involved java, shell etc.
今天用 `uq` 删除 Windows PowerShell 历史记录中的重复行时遇到 `uq` 输出不能保存的问题(可以正常输出到 stdout)。 我尝试过的命令: ```sh # 脚本中记录的用法 uq ConsoleHost_history.txt 1.txt # pipe cat ConsoleHost_history.txt | uq > 1.txt # redirect uq ConsoleHost_history.txt > 1.txt...
[1] Fail to jstack busy(48.0%) thread(32231/0x7de7) stack of java process(32170) under user(root).
[root@Server-b1e1af54-b199-4a87-92fa-286cedc4693d docker]# ./show-busy-java-threads ./show-busy-java-threads:行114: : 未找到命令 [1] Fail to jstack busy(48.0%) thread(32231/0x7de7) stack of java process(32170) under user(root). ./show-busy-java-threads:行114: : 未找到命令 [2] Fail to jstack busy(0.0%) thread(32170/0x7daa) stack of java...