Add shell help function for osmo proc.
This commit is contained in:
parent
dcddb45085
commit
3fd4d62a93
1 changed files with 4 additions and 0 deletions
|
@ -109,3 +109,7 @@ pdpc () {
|
||||||
ns () {
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
op () {
|
||||||
|
ps awxf | grep [o]smo\-
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue