Add utility shell func to show python proc.
This commit is contained in:
parent
09b9db86c8
commit
f7eaa31efa
1 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,10 @@ ns () {
|
||||||
expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show ns\r"; expect #' | grep ALIVE;
|
expect -c 'spawn -noecho telnet 0 4245; expect >; send enable\r; expect #; send "show ns\r"; expect #' | grep ALIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pp () {
|
||||||
|
ps awxf | grep [p]ython
|
||||||
|
}
|
||||||
|
|
||||||
op () {
|
op () {
|
||||||
ps awxf | grep [o]smo\-
|
ps awxf | grep [o]smo\-
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue