Generic System and Administrative Commands

Generic Common Used System and Administrative Commands
###AIX Restart sendmail
stopsrc -s sendmail;sleep 10;startsrc -s sendmail -a "-bd -q30m";
###HP-UX start syslogd
/sbin/init.d/syslogd start
###HP-UX view information about a high availability cluster
cmviewcl
###HP-UX Force cluster startup on specific nodename
cmruncl -i -f -n nodename
###HP-UX causes a node to join the exist-ing cluster
cmrunnode -v nodemane
###HP-UX display LAN device configuration and status
lanscan
###HP-UX local area network administration program
lanadmin
###Unix/Linux Display a table of all network interfaces
netstat -i
###Veritas(CFS) Reports the status of cluster manager
cfscluster status
###Linux Show active threads of a process (jvm)
ps uH p PID_OF_U_PROCESS
###Sun Cluster Shows status for all components in the cluster
/usr/cluster/bin/scstat -p
###Sun Cluster perform state change of resource groups
scswitch -z -h nodename -g resource_group
###NetWorker jukebox display volume tape information
nsrjb -j Device_Name Volume_Name
###NetWorker jukebox unload a volume tape from a device
nsrjb -j Device_Name -u Volume_Name_Id

 


Hello World

>>> from __future__ import print_function
>>> print("Hello World")
Hello World
>>>