6.5
Table Of Contents
- vSphere Command-Line Interface Concepts and Examples
- Contents
- About This Book
- vSphere CLI Command Overviews
- Introduction
- List of Available Host Management Commands
- Targets and Protocols for vCLI Host Management Commands
- Supported Platforms for vCLI Commands
- Commands with an esxcfg Prefix
- ESXCLI Commands Available on Different ESXi Hosts
- Trust Relationship Requirement for ESXCLI Commands
- Using ESXCLI Output
- Connection Options for vCLI Host Management Commands
- Connection Options for DCLI Commands
- vCLI Host Management Commands and Lockdown Mode
- Managing Hosts
- Managing Files
- Managing Storage
- Introduction to Storage
- Examining LUNs
- Detach a Device and Remove a LUN
- Reattach a Device
- Working with Permanent Device Loss
- Managing Paths
- Managing Path Policies
- Scheduling Queues for Virtual Machine I/O
- Managing NFS/NAS Datastores
- Monitor and Manage FibreChannel SAN Storage
- Monitoring and Managing Virtual SAN Storage
- Monitoring vSphere Flash Read Cache
- Monitoring and Managing Virtual Volumes
- Migrating Virtual Machines with svmotion
- Configuring FCoE Adapters
- Scanning Storage Adapters
- Retrieving SMART Information
- Managing iSCSI Storage
- iSCSI Storage Overview
- Protecting an iSCSI SAN
- Command Syntax for esxcli iscsi and vicfg-iscsi
- iSCSI Storage Setup with ESXCLI
- iSCSI Storage Setup with vicfg-iscsi
- Listing and Setting iSCSI Options
- Listing and Setting iSCSI Parameters
- Enabling iSCSI Authentication
- Set Up Ports for iSCSI Multipathing
- Managing iSCSI Sessions
- Managing Third-Party Storage Arrays
- Managing Users
- Managing Virtual Machines
- Managing vSphere Networking
- Introduction to vSphere Networking
- Retrieving Basic Networking Information
- Troubleshoot a Networking Setup
- Setting Up vSphere Networking with vSphere Standard Switches
- Setting Up Virtual Switches and Associating a Switch with a Network Interface
- Retrieving Information About Virtual Switches
- Adding and Deleting Virtual Switches
- Checking, Adding, and Removing Port Groups
- Managing Uplinks and Port Groups
- Setting the Port Group VLAN ID
- Managing Uplink Adapters
- Adding and Modifying VMkernel Network Interfaces
- Managing VMkernel Network Interfaces with ESXCLI
- Add and Configure an IPv4 VMkernel Network Interface with ESXCLI
- Add and Configure an IPv6 VMkernel Network Interface with ESXCLI
- Managing VMkernel Network Interfaces with vicfg-vmknic
- Add and Configure an IPv4 VMkernel Network Interface with vicfg-vmknic
- Add and Configure an IPv6 VMkernel Network Interface with vicfg-vmknic
- Setting Up vSphere Networking with vSphere Distributed Switch
- Managing Standard Networking Services in the vSphere Environment
- Setting the DNS Configuration
- Manage an NTP Server
- Manage the IP Gateway
- Setting Up IPsec
- Manage the ESXi Firewall
- Monitor VXLAN
- Monitoring ESXi Hosts
- Index
Monitoring ESXi Hosts 10
Starting with the vSphere 4.0 release, vCenter Server makes performance charts for CPU, memory, disk I/O,
networking, and storage available.
You can view performance charts by using the vSphere Web Client and read about them in the vSphere
Monitoring documentation. You can also perform some monitoring of your ESXi system by using vCLI
commands.
This chapter includes the following topics:
n
“Using resxtop for Performance Monitoring,” on page 161
n
“Managing Diagnostic Partitions,” on page 161
n
“Managing Core Dumps,” on page 162
n
“Conguring ESXi Syslog Services,” on page 164
n
“Managing ESXi SNMP Agents,” on page 166
n
“Retrieving Hardware Information,” on page 169
Using resxtop for Performance Monitoring
You can use the resxtop vCLI command to examine how ESXi systems use resources.
You can use the command in the default interactive mode or in batch mode. The Resource Management
documentation explains how to use resxtop and provides information about available commands and
display statistics.
If you cannot reach the host with the resxtop vCLI command, you might be able to use the esxtop command
in the ESXi Shell instead. See Geing Started with vSphere Command-Line Interfaces for information on
accessing the shell.
I resxtop and esxtop are supported only on Linux.
Managing Diagnostic Partitions
Your host must have a diagnostic partition, also referred to as dump partition, to store core dumps for
debugging and for use by VMware technical support.
A diagnostic partition is on the local disk where the ESXi software is installed by default. You can also use a
diagnostic partition on a remote disk shared between multiple hosts. If you want to use a network
diagnostic partition, you can install ESXi Dump Collector and congure the networked partition. See
“Manage Core Dumps with ESXi Dump Collector,” on page 163.
VMware, Inc.
161