Home > AIX, IBM P Serija > IBM HMC monitoring

IBM HMC monitoring

Kako prikazati informacije o korišćenju resursa na IBM HMC, u realnom vremenu bez priviledge mode-a (hscroot nije priv mod) i iz shella:

hscroot@hmc570:~> monhmc -r disk -n 1
Every 1.0s: MONHmc disk                    Thu Apr 29 11:22:30 2010
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             16121184   5622940   9679332  37% /
udev                    517296       160    517136   1% /dev
/dev/sda3              6040320   3323792   2409688  58% /var
/dev/sda7              8056524    134196   7513076   2% /dump
/dev/sda8             38669964    153900  36551720   1% /extra

Ostale opcije ove komande:

Monitor HMC memory, processor, and disk usage. The -s and -r flags are mutually exclusive.

 -s    The type of subsystems to monitor. Options are:
       hmcsvr: HMC server subsystems.
       rmc: RMC subsystems.
 -r    The type of resource to monitor. Options are:
       disk: Disk usage.
       proc: Processor usage.
       mem: System Memory usage.
       swap: Swap space usage.
 -n    The interval in seconds, default is 4.
       If 0 is specfied, the output will be displayed once.
 --help    Prints this help message.

Zgodna komanda koja vam omogućuje da oslobodite prostor na disku je:

hscroot@hmc570:~> chhmcfs --help
Usage: chhmcfs -o f
 -d <days> | -h <hours> | -s <size>
 [-f <file system>]
 [--help]

Frees up space in Hardware Management Console (HMC) file systems by removing
temporary HMC files from the hard disk.

 -o               - the operation to perform:
                    f - free up file system disk space
 -d <days>        - remove files which have not been modified during the
                    specified number of days prior to now
 -h <hours>       - remove files which have not been modified during the
                    specified number of hours prior to now
 -s <size>        - remove files, starting with the oldest file, from each
                    file system to free up to the amount of space specified,
                    in megabytes, in each file system
 -f <file system> - the file system from which to remove files
 --help           - prints this help
Categories: AIX, IBM P Serija Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.