|
Contributed
By: Chris Klunder
Here,
courtesy of Chris Klunder is a cheat sheet of some Tivoli and Unix commands:
ADMINISTRATIVE COMMANDS:
"vdisp -hiq" shows the
status of the oservs
"tmstat" shows the transactions going on
"odstat -cv" shows processes and pids
"odadmin shutdown all" shuts down all oservs
"odadmin start (Dispatcher number)" starts an oserv. Dispatcher number is found
with the "odadmin odlist" command
"wepmgr ping" checking to see if Endpoint Manager is running
"wepmgr start" starting the Endpoint Manager
"wepmgr stop" stopping the Endpoint Manager
"wlookup -r PolicyRegion -a" lists all policy regions on the TMR
"wep ls -g servername-gateway" lists all endpoints assigned to the specified
gateway
"wep ls -g servername-gateway|wc -l" lists number of endpoints on the servername
gateway
DISTRIBUTED MONITORING COMMANDS:
"wlseng -zld servername" lists monitors and last stats loaded on that server. -z
(endpoint) -d (disabled)
"wstopeng -z servername" stops the DM engine on specified server
"wclreng servername" clears the DM engine on the specified machine
"wrunprb -z "*" "*" "*" servername" runs the monitors on the specified server.
-z (endpoint)
ENDPOINT COMMANDS:
"wadminep (endpoint) reexec_lcfd" restarts endpoint on specified machine
"wadminep (endpoint) view_file /usr/local/some.txt" views the specified file on
the specified endpoint
"wadminep (endpoint) reboot_system" reboots a system by endpoint
"lcfd start" to start unix endpoint as "root". Make sure DM is not running
"wdelep (endpoint)" deletes endpoint off of the TMR
"wrminvnode (endpoint)" removes the inventory data off of the TMR
SOFTWARE DISTRIBUTION COMMANDS:
"wrpt -L" checking to see if any filepacks or autopacks are running
"wrpt -A -k (dist number)" kill a distribution. (number located at beginning of
wrpt -L output.)
UNIX
COMMANDS:
"df -k" gets all unix filesystem space information
"df ." gets current filesystem space information
"pwd" gives you the present working directory
"env" gives your current environment setup
VI editor is a text editor. To use it, just type "vi filename". To exit out of
VI, type ":q" to quit, ":wq" to write and quit or ":q!" to quit without saving
changes.
Aliases and paths are setup in the .profile file in your startup directory.
(usually /home/username) To get there from anywhere, just type "cd" and hit
enter.
"chmod ### (filename)" changes the access rights for a file or directory. The
first # is for creator/owner, the second # is for the group and the third # is
for everyone else. 1 is execute, 2 is write, 3 is write/execute, 4 is read, 5 is
read/execute, 6 is read/write and 7 is read/write/execute.
|