Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Lisa Casino
slapos
Commits
7ec01e51
Commit
7ec01e51
authored
Feb 27, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos
ressource => resource
parent
3864d4a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
stack/erp5/instance-http-monitor.cfg.in
stack/erp5/instance-http-monitor.cfg.in
+1
-1
stack/monitor/buildout.cfg
stack/monitor/buildout.cfg
+2
-2
stack/monitor/monitor.cfg.in
stack/monitor/monitor.cfg.in
+3
-3
stack/monitor/webfile-directory/resources.cgi.in
stack/monitor/webfile-directory/resources.cgi.in
+5
-5
No files found.
stack/erp5/instance-http-monitor.cfg.in
View file @
7ec01e51
...
@@ -8,7 +8,7 @@ parts =
...
@@ -8,7 +8,7 @@ parts =
deploy-settings-cgi
deploy-settings-cgi
deploy-status-cgi
deploy-status-cgi
deploy-status-history-cgi
deploy-status-history-cgi
deploy-res
s
ource-monitoring-cgi
deploy-resource-monitoring-cgi
setup-static-files
setup-static-files
certificate-authority
certificate-authority
zero-parameters
zero-parameters
...
...
stack/monitor/buildout.cfg
View file @
7ec01e51
...
@@ -100,12 +100,12 @@ download-only = true
...
@@ -100,12 +100,12 @@ download-only = true
filename = logfile.cgi.in
filename = logfile.cgi.in
mode = 0644
mode = 0644
[res
s
ources-cgi]
[resources-cgi]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfile-directory/${:filename}
url = ${:_profile_base_location_}/webfile-directory/${:filename}
download-only = true
download-only = true
#md5sum =
#md5sum =
filename = res
s
ources.cgi.in
filename = resources.cgi.in
mode = 0644
mode = 0644
[status-cgi]
[status-cgi]
...
...
stack/monitor/monitor.cfg.in
View file @
7ec01e51
...
@@ -196,11 +196,11 @@ context =
...
@@ -196,11 +196,11 @@ context =
[log-folder-cgi]
[log-folder-cgi]
log-folder = $${monitor-directory:log}
log-folder = $${monitor-directory:log}
[deploy-res
s
ource-monitoring-cgi]
[deploy-resource-monitoring-cgi]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = ${res
sources-cgi:location}/${res
sources-cgi:filename}
template = ${res
ources-cgi:location}/${re
sources-cgi:filename}
rendered = $${monitor-directory:monitoring-cgi}/$${:filename}
rendered = $${monitor-directory:monitoring-cgi}/$${:filename}
filename = res
s
ources.cgi
filename = resources.cgi
mode = $${deploy-settings-cgi:mode}
mode = $${deploy-settings-cgi:mode}
context =
context =
key monitor_bin monitor-parameters:executable
key monitor_bin monitor-parameters:executable
...
...
stack/monitor/webfile-directory/res
s
ources.cgi.in
→
stack/monitor/webfile-directory/resources.cgi.in
View file @
7ec01e51
...
@@ -92,7 +92,7 @@ $(document).ready(function () {
...
@@ -92,7 +92,7 @@ $(document).ready(function () {
function
refresh
()
{
function
refresh
()
{
if
(
send
)
{
return
}
if
(
send
)
{
return
}
var
dataPost
=
{
'
posting-script
'
:
"
monitoring/res
s
ources.cgi
"
,
var
dataPost
=
{
'
posting-script
'
:
"
monitoring/resources.cgi
"
,
action
:
"
refresh
"
};
action
:
"
refresh
"
};
send
=
true
;
send
=
true
;
$
(
"
#msg
"
).
fadeIn
();
$
(
"
#msg
"
).
fadeIn
();
...
@@ -163,7 +163,7 @@ $(document).ready(function () {
...
@@ -163,7 +163,7 @@ $(document).ready(function () {
});
});
</script>
</script>
</head><body>
</head><body>
<h1>
Computer partition res
s
ources monitoring
</h1>
<h1>
Computer partition resources monitoring
</h1>
<div
style=
"width:850px; padding: 10px 0;"
>
<div
style=
"width:850px; padding: 10px 0;"
>
<div
style=
'float:left; width: 500px'
>
<div
style=
'float:left; width: 500px'
>
<table
class=
"tg"
id=
"box3"
>
<table
class=
"tg"
id=
"box3"
>
...
@@ -181,7 +181,7 @@ $(document).ready(function () {
...
@@ -181,7 +181,7 @@ $(document).ready(function () {
</div>
</div>
</div>
</div>
<div
style=
'clear:both'
></div>
<div
style=
'clear:both'
></div>
<h2>
Total res
s
ources consumption for partition (last minute)
</h2>
<h2>
Total resources consumption for partition (last minute)
</h2>
<table
class=
"tg"
id=
"box2"
>
<table
class=
"tg"
id=
"box2"
>
<tr>
<tr>
<th
class=
"tg-s6z2"
>
Total Process
</th>
<th
class=
"tg-s6z2"
>
Total Process
</th>
...
@@ -192,7 +192,7 @@ $(document).ready(function () {
...
@@ -192,7 +192,7 @@ $(document).ready(function () {
<th
class=
"tg-s6z2"
>
Memory %
</th>
<th
class=
"tg-s6z2"
>
Memory %
</th>
</tr>
</tr>
</table>
</table>
<h2>
res
s
ources consumption for partition by process pid (last minute)
</h2>
<h2>
resources consumption for partition by process pid (last minute)
</h2>
<table
class=
"tg"
id=
"box1"
>
<table
class=
"tg"
id=
"box1"
>
<tr>
<tr>
<th
class=
"tg-s6z2"
>
Process PID
</th>
<th
class=
"tg-s6z2"
>
Process PID
</th>
...
@@ -204,4 +204,4 @@ $(document).ready(function () {
...
@@ -204,4 +204,4 @@ $(document).ready(function () {
</tr>
</tr>
</table>
</table>
<p
id=
"error"
></p>
<p
id=
"error"
></p>
</body></html>
"""
</body></html>
"""
\ No newline at end of file
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