Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
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
OpenEdx
ansible
Commits
2b07873e
Commit
2b07873e
authored
Jun 21, 2013
by
Marcin Płonka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skipping facts not available in AIX WPARs
parent
f67c13f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
library/system/setup
+6
-0
No files found.
library/system/setup
View file @
2b07873e
...
...
@@ -995,6 +995,9 @@ class AIX(Hardware):
rc
,
out
,
err
=
module
.
run_command
(
"/usr/sbin/lsdev -Cc processor"
)
if
not
out
:
# CPU info may not be available (WPAR)
return
i
=
0
for
line
in
out
.
split
(
'
\n
'
):
...
...
@@ -1032,6 +1035,9 @@ class AIX(Hardware):
# /dev/ada0p3 314368 0 314368 0%
#
rc
,
out
,
err
=
module
.
run_command
(
"/usr/sbin/lsps -s"
)
if
not
out
:
# swapinfo may not be available (WPAR)
return
lines
=
out
.
split
(
'
\n
'
)
data
=
lines
[
1
]
.
split
()
swaptotal_mb
=
long
(
data
[
0
]
.
rstrip
(
'MB'
))
...
...
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