init
This commit is contained in:
@@ -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'
|
||||
@@ -0,0 +1 @@
|
||||
ps -ef | grep -c 'defunct'
|
||||
@@ -0,0 +1 @@
|
||||
netstat -an | grep -c FIN_WAIT
|
||||
@@ -0,0 +1 @@
|
||||
ps -ef | grep -c ' '
|
||||
@@ -0,0 +1 @@
|
||||
ps -ef -o 'user group pid ppid pcpu pmem vsz time tty args'
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/csh
|
||||
if ($#argv == 2) then
|
||||
cat $1 | grep $2
|
||||
else if ($#argv == 1) then
|
||||
cat $1
|
||||
endif
|
||||
Reference in New Issue
Block a user