Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Lu Xu
slapos.core
Commits
e74ed89c
Commit
e74ed89c
authored
Apr 23, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
collect/README: fix a few typos
parent
fa0ebacf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
slapos/collect/README.txt
slapos/collect/README.txt
+5
-5
No files found.
slapos/collect/README.txt
View file @
e74ed89c
...
@@ -21,7 +21,7 @@ Collect command search for all process launched by all users related to the
...
@@ -21,7 +21,7 @@ Collect command search for all process launched by all users related to the
slapos [1]. After this, for each process it uses psutil (or similars tools) to
slapos [1]. After this, for each process it uses psutil (or similars tools) to
collect all available information for every process pid [2].
collect all available information for every process pid [2].
Once Collected, every Process information is stored on sql
l
ite3 [3], in other
Once Collected, every Process information is stored on sqlite3 [3], in other
words, we have 1 line per pid for a giving time. It's used pid number and
words, we have 1 line per pid for a giving time. It's used pid number and
process creation date for create a UID for the process, and it is omitted the
process creation date for create a UID for the process, and it is omitted the
command name in order to annonymalize the data (so the risk of information
command name in order to annonymalize the data (so the risk of information
...
@@ -46,15 +46,15 @@ We use 3 types of snapshots for determinate the load and the available resources
...
@@ -46,15 +46,15 @@ We use 3 types of snapshots for determinate the load and the available resources
- Computer Snapshot [6]: It collects for now number of CPU cores and available
- Computer Snapshot [6]: It collects for now number of CPU cores and available
memory, however we wish to collect more details.
memory, however we wish to collect more details.
- Disk Snapshot [7]: It collects
the informations
related to the a disk
- Disk Snapshot [7]: It collects
information
related to the a disk
(1 snapshot per disk), which contains total, usage and
(1 snapshot per disk), which contains total, usage and
io information
s
.
io information.
"Real-time" Partial dump (Dygraph)
"Real-time" Partial dump (Dygraph)
===================================
===================================
On every run, we dump data from the current day on csv
[8]
(2 axes), in order to
On every run, we dump data from the current day on csv (2 axes), in order to
plot easily with dygraph, so there will be few files available like this:
plot easily with dygraph, so there will be few files available like this:
- system_cpu_percent.csv
- system_cpu_percent.csv
...
@@ -91,7 +91,7 @@ Data Structure
...
@@ -91,7 +91,7 @@ Data Structure
The header of the CSVs are not included on the dumped file (it is probably a
The header of the CSVs are not included on the dumped file (it is probably a
mistake), but it corresponds to (same as columns on the sqllite) which can be
mistake), but it corresponds to (same as columns on the sqllite) which can be
easily described like bel
l
ow [11]:
easily described like below [11]:
- user
- user
partition (text)
partition (text)
...
...
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