This command is equivalent to running upower -e, followed by upower -i for each device, and thus saves us one step in the process. Updated: Thursday 21 April 2022 07:52:12 AM (57 seconds ago) Updated: Thursday 21 April 2022 07:42:11 AM (658 seconds ago)ĭevice: /org/freedesktop/UPower/devices/battery_BAT0 Introduction This document describes common methods to troubleshoot power supplies on Catalyst 9000 series switches. This essentially prints information for all the connected devices: $ upower -dĭevice: /org/freedesktop/UPower/devices/line_power_AC I have tried using Get-WmiObject with the classes CIMPowerSupply, CIMUninturruptiblePowerSupply and Win32Battery, but each return an empty collection. Currently, I am doing this with a PowerShell script. These days, most devices have only a single battery, so we can also use the upower command with the -d parameter. For a management automation project, I am trying to identify the power supply units on servers across my network. This module describes the commands used to manage the hardware redundancy, power, and administrative status of the nodes on a router running Cisco IOS XR software. $ upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep state | cut -d ':' -f2 | xargs Needless to say, we can use grep or other commands to process the output into a format we need: $ upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep percentage | grep -o "*" The voltage and current waveforms on the load, at transfer power supply from mains power to inverter CH1-voltage (250V/div), CH2-load current (20A/div) TIME 25ms/div Figures - uploaded by Dr. 341-0097-02 Motherboard serial number : FOC10093R12 Power supply serial. $ upower -i /org/freedesktop/UPower/devices/battery_BAT0 This article describes the Cisco IOS show version command, which is used to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |