The vmstat command is useful for reporting statistics about virtual memory. The vmstat command is located in /usr/bin, is part of the bos.acct fileset and is installable from the AIX base installation media. The vmstat command summarizes the total active virtual memory used by all of the processes in the system, as well as the […]
AIX
Memory utilization of processes in AIX
Monitoring any performance characteristics is a very important part of achieving the best results possible. There are many ways to investigate different parameters and settings, but combining several tools and commands can give you the best overall picture of performance. This post describes the following tools: The ps command The sar command The svmon command […]
Procedure to mount and unmount NFS filesystems on AIX
Clients access files on the server by first mounting a server’s exported directories. When a client mounts a directory, it does not make a copy of that directory. Rather, the mounting process uses a series of remote procedure calls to enable a client to access the directories on the server transparently. There are three types […]
Using savevg on AIX to save time creating filesystems, LV’s and volume groups
On AIX, the savevg command can be used to back up non-root volume groups and their contents. The volume group structure can be recreated from the savevg archive. Other data backups might be need to be applied to bring the data up to date. Should an entire disk group be lost, this would need to […]
What is VIOS?
The VIOS is a specialized operating system that runs under a special type of logical partition (LPAR). It provides robust virtual storage and virtual network solution; when two or more Virtual I/O Servers are placed on the system, it also provides high availability capabilities between them. A virtual i/o server is an appliance that provides […]
Run VIO commands from the HMC using “viosvrcmd” without VIOs Passwords
IBM Systems Director can not only gather standard inventory information from the operating system running inside the VIOS but also virtualized resources. This information comes from the communication with the Hardware Management Console and the viosvrcmd command. The virtual resources and the client LPARs are stored in the Systems Director database. There is nothing to […]
AIX HMC CommandLine Reference (Cheat Sheet)
The Hardware Management Console (HMC) is used to control the System p servers connected to a private network. Control functions such as power on/off, dynamic logical partitioning (DLPAR), logical partitioning (LPAR), and capacity upgrade on demand (CUoD) are handled by the HMC. In the InfiniBand environment, the HMC has an important function: it runs the […]
Using iptrace command in AIX
iptrace is a utility for recording Internet packets received from configured interfaces. You can provide a filter to capture only important network data. You can only trace data between local and remote host (not between two remote hosts). The iptrace utility runs as a daemon, and you must stop it with the kill command. The […]
Backup Command Examples in AIX
mksysb 1. Create image.data and system backup (-X expands /tmp if required): # mksysb -i -X /dev/rmt0 2. Create image.data file with map file and system backup: # mksysb -m /dev/rmt0 3. Create system data but excludes the files listed in /etc/exclude.rootvg: # mksysb -e /dev/rmt0 mkszfile 1. Create /image.data file: # mkszfile mkcd 1. […]
How to find CPU, Memory(RAM), Hard disks, IP address information in AIX
Understanding resource utilization and spare capacity is becoming more important than ever. Processors, Memory are one of the most significant resources among all the available resources in a system, making processor/ memory utilization a critical metric for measuring the performance of a system running a workload. As AIX Admin In your day-to-day admin job we […]