Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
58e12657
Commit
58e12657
authored
Sep 10, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1e611f05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
go/neo/t/t.sh
go/neo/t/t.sh
+7
-5
No files found.
go/neo/t/t.sh
View file @
58e12657
...
@@ -52,7 +52,7 @@ Mpy() {
...
@@ -52,7 +52,7 @@ Mpy() {
# XXX --autostart=1 ?
# XXX --autostart=1 ?
exec
-a
Mpy
\
exec
-a
Mpy
\
neomaster
--cluster
=
$cluster
--bind
=
$Mbind
--masters
=
$Mbind
-r
1
-p
1
--logfile
=
$log
/Mpy.log
$@
&
neomaster
--cluster
=
$cluster
--bind
=
$Mbind
--masters
=
$Mbind
-r
1
-p
1
--logfile
=
$log
/Mpy.log
"
$@
"
&
}
}
Mgo
()
{
Mgo
()
{
...
@@ -66,7 +66,7 @@ Spy() {
...
@@ -66,7 +66,7 @@ Spy() {
# --database=...
# --database=...
# --engine=...
# --engine=...
exec
-a
Spy
\
exec
-a
Spy
\
neostorage
--cluster
=
$cluster
--bind
=
$Sbind
--masters
=
$Mbind
--logfile
=
$log
/Spy.log
$@
&
neostorage
--cluster
=
$cluster
--bind
=
$Sbind
--masters
=
$Mbind
--logfile
=
$log
/Spy.log
"
$@
"
&
}
}
# Sgo <data.fs> - spawn NEO/go storage
# Sgo <data.fs> - spawn NEO/go storage
...
@@ -75,20 +75,20 @@ Sgo() {
...
@@ -75,20 +75,20 @@ Sgo() {
# -alsologtostderr
# -alsologtostderr
exec
-a
Sgo
\
exec
-a
Sgo
\
neo
-log_dir
=
$log
storage
-cluster
=
$cluster
-bind
=
$Sbind
-masters
=
$Mbind
$@
&
neo
-log_dir
=
$log
storage
-cluster
=
$cluster
-bind
=
$Sbind
-masters
=
$Mbind
"
$@
"
&
}
}
# Apy ... - spawn NEO/py admin
# Apy ... - spawn NEO/py admin
Apy
()
{
Apy
()
{
exec
-a
Apy
\
exec
-a
Apy
\
neoadmin
--cluster
=
$cluster
--bind
=
$Abind
--masters
=
$Mbind
--logfile
=
$log
/Apy.log
$@
&
neoadmin
--cluster
=
$cluster
--bind
=
$Abind
--masters
=
$Mbind
--logfile
=
$log
/Apy.log
"
$@
"
&
}
}
# Zpy <data.fs> ... - spawn ZEO
# Zpy <data.fs> ... - spawn ZEO
Zpy
()
{
Zpy
()
{
exec
-a
Zpy
\
exec
-a
Zpy
\
runzeo
--address
$Zbind
--filename
$@
2>>
$log
/Zpy.log &
runzeo
--address
$Zbind
--filename
"
$@
"
2>>
$log
/Zpy.log &
}
}
...
@@ -228,6 +228,7 @@ GENsql() {
...
@@ -228,6 +228,7 @@ GENsql() {
# ---- main driver ----
# ---- main driver ----
echo
-n
"# "
;
date
--rfc-2822
echo
-n
"# "
;
grep
"^model name"
/proc/cpuinfo |head
-1
|sed
-e
's/model name\s*: //'
echo
-n
"# "
;
grep
"^model name"
/proc/cpuinfo |head
-1
|sed
-e
's/model name\s*: //'
echo
-n
"# "
;
uname
-a
echo
-n
"# "
;
uname
-a
echo
-n
"# "
;
python
--version
echo
-n
"# "
;
python
--version
...
@@ -236,6 +237,7 @@ echo -n "# "; mysqld --version
...
@@ -236,6 +237,7 @@ echo -n "# "; mysqld --version
# pyver <egg> (<showas>) - print version of egg
# pyver <egg> (<showas>) - print version of egg
pyver
()
{
pyver
()
{
#return # XXX temp to save time
local
egg
=
$1
local
egg
=
$1
local
showas
=
$2
local
showas
=
$2
test
"
$showas
"
==
""
&&
showas
=
$egg
test
"
$showas
"
==
""
&&
showas
=
$egg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment