Tuesday 30 May 2017

Virtual I/O Server - Commands VI

System Monitoring :
To display the summary of current system activity :
# sysstat
To display the system statistics :
# topas
System Management Commands:
To halt the operating system :
# shutdown
To halt the operating system forcibly :
# shutdown –force
To reboot the vio server :
# shutdown –restart
To invalidate the boot list for service mode :
# bootlist -mode service –rm
To display the boot list for service mode :
# bootlist -mode service –ls
To set the boot list for normal mode :
# bootlist –more normal hdisk0
To display the complete detailed error report :
# errlog –ls
To remove all the error log entries :
# errlog –rm 0
To remove the error log entries older than 5 days :
# errlog –rm 5
To change the system date and time :
# chdate -day 12 -month 10 -year 2004 -hour 16 -minute 30
To change the language for the entire system to French Canadian :
# chlang -lang fr_CA
To display available languages :
# chlang –ls
To perform hardware problem determination and maintenance :
# diagmenu
To generate report on microcode levels of all the devices :
# invscout –report
To display the vpd survey of the partition :
# invscout –vpd
To append the current MOTD [Message Of The Day] :
# motd –append “Message”
To overwrite MOTD :
# motd –overwrite -file filename
To do the initial configuration of VIO Server :
# cfgassist
It is like configuration assitant in AIX.
To do filesystem scan :
fsck /dev/lv01
To display exported (nfs) directories on a remote server :
# showmount hostname
To start system dump on the primary device :
# startsysdump
To display continuous disk report on disk1 at 2sec interval :
# viostat -disk disk1 2
To display adapter throughput reports :
# viostat –adapter
To display system and adapter throughput reports :
# viostat –sys –adapter
To gather system info and to store it in the floppy disk :
# snap -general -dev /dev/rfd0
To display microcode levels of all devices :
# lsfware –all
Managing Agents:
To start an agent : # startsvc agent_name
To stop an agent: # stopsvc agent_name
To display an agent's configuration information :
# lssvc agent_name
To display all the available agents :
# lssvc
To display the attributes associated with ITSM_base agent :
# cfgsvc –ls ITM_base
To display the ITM_base agent ssh public key :
# cfgsvc -key ITM_base
User Management:
To create a user :
# mkuser
To change an attribute of a user :
# chuser
To display the properties of a user :
# lsuser
To remove a user from the system :
# rmuser
To set/reset password for a user :
# passwd
Security Commands:
To display all failed logins :
# lsfailedlogin
To display the contents of global command log :
# lsgcl
To displays high system settings :
# viosecure -level high
To apply all of the high system settings to the system :
# viosecure -level high –apply
To displays the current system settings :
# viosecure –view
To allow IP activity on the ftp-data, ftp, ssh, www, https, rmc, and cimon ports, and to deny other IP activity :
# viosecure –firewall on
To enable IP activity on all ports :
# viosecure –firewall off
To display the list of allowed ports :
# viosecure -firewall view

No comments:

Post a Comment