Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-core
Commits
00186b05
Commit
00186b05
authored
Apr 13, 2017
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed memory calculation
parent
08d6956e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.vmware-ajax.tcl
preconf/index.vmware-ajax.tcl
+1
-1
No files found.
preconf/index.vmware-ajax.tcl
View file @
00186b05
...
...
@@ -99,7 +99,7 @@ set ip_mac [im_system_ip_mac_address]
set
ip_address
[
lindex
$ip
_mac 0
]
set
mac_address
[
lindex
$ip
_mac 1
]
set
total_memory
[
im_system_memory
]
if
{
""
ne
$total
_memory
}
{
set total_memory
[
expr
round
(
$total
_memory / 1024.0
)
/ 1024.
]
}
if
{
""
ne
$total
_memory
}
{
set total_memory
[
expr
round
(
$total
_memory / 1024.0
)]
}
set
url
"<a href=
\"
http://
$ip
_address/
\"
target=_new>http://
$ip
_address/</a>
\n
"
set
debug
""
...
...
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