摘要:
[root@ma ~]# ps ww -p 1 PID TTY STAT TIME COMMAND 1 ? Ss 0:01 /sbin/init[root@ma ~]# ps -p 1 PID TTY TIME CMD 1 ? ... 阅读全文
摘要:
[root@ma ~]# ps -p 1 PID TTY TIME CMD 1 ? 00:00:01 init 阅读全文
摘要:
num >= 1125899906842624 ? "P" \ : num >= 1099511627776 ? "T" \ : num >= 1073741824 ? "G" \ : num >= 10... 阅读全文
摘要:
local pct="$(awk -v one="$1" -v two="$2" 'BEGIN{ if (two > 0) { printf "%d", one/two*100; } else {print 0} }')"; 阅读全文
摘要:
-v var=val --assign var=val Assign the value val to the variable var, before execution of the program begins. Suc... 阅读全文
摘要:
[root@ma ~]# ps -eo pid,ucomm|head -3 PID COMMAND 1 init 2 kthreadd[root@ma ~]# ps axu|head -3USER PID %CPU %MEM VSZ RSS TTY S... 阅读全文
摘要:
pidof 服务名称,就可以查看到服务占用的进程号 阅读全文
摘要:
[root@ma ~]# vi test2#!/bin/bashi=9awk "BEGIN { for(i=1; i<=$i; i++) print i; }""test2" [New] 3L, 62C written[root@ma ~]# sh test2123456789 阅读全文
摘要:
UnsafeUserParameters=1 阅读全文
摘要:
unsafeuserparameters=1 阅读全文