mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
added status.diskusage to status.status_all
This commit is contained in:
parent
f0e7211893
commit
92567fe116
@ -119,9 +119,9 @@ def uptime():
|
||||
def loadavg():
|
||||
'''
|
||||
Return the load averages for this minion
|
||||
|
||||
|
||||
CLI Example::
|
||||
|
||||
|
||||
salt '*' status.loadavg
|
||||
'''
|
||||
load_avg = os.getloadavg()
|
||||
@ -445,6 +445,7 @@ def all_status():
|
||||
return {'cpuinfo': cpuinfo(),
|
||||
'cpustats': cpustats(),
|
||||
'diskstats': diskstats(),
|
||||
'diskusage': diskusage(),
|
||||
'loadavg': loadavg(),
|
||||
'meminfo': meminfo(),
|
||||
'netdev': netdev(),
|
||||
|
Loading…
Reference in New Issue
Block a user