This commit is contained in:
Rinjae
2025-09-05 17:16:26 +09:00
commit c54ef1903f
4947 changed files with 817291 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/csh
if ($#argv == 4) then
cat $1 | grep -nE "$2|$3" | grep $4
else if ($#argv == 3) then
cat $1 | grep -nE "$2|$3"
endif
@@ -0,0 +1 @@
ps -ef | grep -E 'vmstat 3|mpstat 3|iostat 1|iostat -x 1|netstat -i 1'
+1
View File
@@ -0,0 +1 @@
ps -ef | grep -c 'defunct'
+1
View File
@@ -0,0 +1 @@
netstat -an | grep -c FIN_WAIT
+1
View File
@@ -0,0 +1 @@
ps -ef | grep -c ' '
+1
View File
@@ -0,0 +1 @@
ps -ef -o 'user group pid ppid pcpu pmem vsz time tty args'
+6
View File
@@ -0,0 +1,6 @@
#!/bin/csh
if ($#argv == 2) then
cat $1 | grep $2
else if ($#argv == 1) then
cat $1
endif