Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CRIO_BYTES
ME_LINUX2
Commits
5a99b6ce
Commit
5a99b6ce
authored
2 years ago
by
CrioUser
Browse files
Options
Download
Email Patches
Plain Diff
Keep needed files only
parent
1e381fdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
scripts/meminfo.sh
scripts/meminfo.sh
+0
-6
scripts/python_analysis.sh
scripts/python_analysis.sh
+0
-7
No files found.
scripts/meminfo.sh
deleted
100755 → 0
View file @
1e381fdc
FILE
=
/proc/meminfo
MEM_TOTAL
=
$(
grep
"MemTotal"
/proc/meminfo |
awk
'{print $2}'
)
MEM_FREE
=
$(
grep
"MemFree"
/proc/meminfo |
awk
'{print $2}'
)
echo
"
$MEM_FREE
KB memory free out of
$MEM_TOTAL
KB"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
scripts/python_analysis.sh
deleted
100755 → 0
View file @
1e381fdc
PYTHON_FILE_PATH
=
/home/crio-user/workspace/me_linux2/resources/user_preference.py
TOTAL_LINES
=
$(
wc
-l
$PYTHON_FILE_PATH
|
awk
'{print $1}'
)
COMMENT_LINES
=
$(
grep
"#"
$PYTHON_FILE_PATH
|
wc
-l
)
echo
"Total number of lines are:
$TOTAL_LINES
"
echo
"Number of comment lines are:
$COMMENT_LINES
"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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