blob: 7d04c89e351fc854782633a239387ae8a67d0efa [file] [log] [blame] [edit]
# -*- coding: utf-8 -*-
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import sys
from .abstract_diagnostic_check import AbstractDiagnosticCheck
from moblab_common import host_connector
sys.path.append("..")
class DiskInfo(AbstractDiagnosticCheck):
"""
Get information on current disk usage, mounted filesystems and their
mount points.
"""
category = "System"
name = "Disk Info"
description = (
"Get information on current disk usage, "
"mounted filesystems and their mount points"
)
def run(self):
return host_connector.HostServicesConnector().get_disk_info()