Sunteți pe pagina 1din 5

-sCommand Appstat Bdf

Description tells you the current level of tuxedo and the tuxedo daemons running on that server followed by the processes running on all the servers displays file sizes and space usage Useful to check to make sure we haven't filled up disk space or when we are tracing processes so that our log files have space to grow. change directory does a check of all processes running under tuxedo on all servers Used by dashboard every 10 minutes to tell us the status of the running processes. starts/stops/restarts a daemon changes file privileges in this case (777), gives all access File privileges are displayed as follows when doing a ls ltr (see below): drwxrwxrwx : d means it is a directory (it appears as a dash (-) if its a file), the first rwx is read, write, execute for the owner of the file, the second rwx is for the group, the third is for the user. If 1 of the 3 (owner, group, user) doesnt have one of the privileges (read, write, execute), that character will appear as a dash (-) (eg. -rwxrw---x). The 3-digit number that sets the privileges works as follows: each digit represents one of the 3 groups (owner, group, user in that order) and is the decimal representation of a 3-digit binary number. Each digit of the binary number represents whether or not each privilege is granted (r is the first digit, w is second digit, x is the third). Therefore, a 7 grants all access because 7 = 111 in binary, which sets all 3 privileges (rwx). A 5 grants read and execute privileges because 5 = 101 in binary, which sets the privileges to r-x. compresses the file filename the extenstion .Z will be added to the filename opens the file containing the schedules for jobs that scheduled to run at certain times for editing opens the file containing the schedules for jobs that scheduled to run at certain times used to browse the daemon config file list of daemons running disk usage closes the connection searches through the files in the directory you are in and its subdirectories for the searchstring and returns a list of the files in which the search string was founds searches for a file by filename starting at the root directory displays status of processes searchs for the searchstring, the -i part makes the search not case-sensitive compresses the file filename and renames it filename.gz. gzip will provide better compression than the compress command. Usually we will do the following command after gzipping a file: > <filename> to empty out the file we have gzipped and renamed.

acd <path> checkStart all

chexstate -a [add/delete/restart] -p <daemonname> chmod 777 <filename>

compress <filename> crontab e crontab l Demoncnfg Demonstat du -ks * Exit find . -exec grep -l "<searchstring>" {} \; find ./ -name <filename> Glance grep -i <searchstring> gzip -c <filename> <filename.gz>

Ipcloop logCat -t <#> -s /<searchstring>/ -a "<datetime>" -z "<datetime>"

gives you status of usage on the server of communicating processes (ipc = inter-process communication) searches through log files -t = show that last # of errors -s = for a certain string the search string must be between /s -a = start datetime -z = end datetime displays a list of files and sub-directories displays a list of files and sub-directories with more information (eg. file privileges) this is an example of a command we run to remove log files on the TWI servers from time to time. manual: gives you details on the usage of any command creates a directory (unix is case-sensitive and does NOT allow spaces) gives you a list of everyone connected to the server you are on not exactly sure what this does but youre suppose to run this on all machines after the boot & everything is up process search: displays a list of processes running for all users |grep -i <searchstring> grep searchs for the searchstring, the -i part makes the search not case-sensitive process search: displays a list of processes running for a specific user # of processes running under the asset (user) username (dm, gw, fa) queue admin tool (we mostly use this for gw) see table below for commands available in this tool remote copy: used to copy a file to a different server remote shell: allows you to execute a command on a different machine without having to log in to that machine allows you to go from one machine to another without retyping the password lists all the config files (you can pipe grep to set to search for a specific file) sets the unix command line to be able to recognize commands used in vi (eg. esc+j and esc+k to browse previous commands used) displays a list of task already done for a workitemid -v = if included, sorts by time switch user: changes the user on the same server tool used by IBM to install the new package allows you to see changes in the file filename as they are happening another way to compress files tuxedo admin tool used if a tux server is down see table below for commands available in this tool starts a process -s = service -l = local machine id (DM_LMID1, DM_LMID2...)

Ls ls ltr ls -ltr |grep Jan | awk ' {print "rm " $9} ' man <command> mkdir <dirname> netstat an parse deconfig ps -ef |grep -i <filename>

ps -fu <username> ps -fu <username> |wc -l Qmadmin rcp -p <filename> <asset>@<server>:</path/filename> remsh <servername> <command> rlogin <machinename> Set set -o vi showTasks [-v] <workitemid> su - <username> swinstall tail -f <filename> Tar tmadmin tmboot -s <processname > -l <lmid> -i <srvid>

tmloadcf tmshutdown -s <processname > -l <lmid> -i <srvid> Top Tracestat

-i = server id compiles the ubbconfig file run before boot stops a process see tmboot for arguments displays status of cpus: the load & user taking the most resources trace status: display status of process tracing (which processes are & are not being traced) *lucent developed tool trace stop: stops the trace on the process processname *lucent developed tool trace start: follow on screen steps to start a trace *lucent developed tool trace start: shortcut to force the process processname to start a trace with trace level 5 *lucent developed tool view the file filename Like vi, but you can't edit the file. To get out use the command: :q!

tracestop -n <processname> Tracestrt Tracestrt -c n -l 5 -n <processname>

view <filename>

qmadmin Commands Command Livtoc Qdltm Qinfo Qlist qopen <qname> qscan -i <corelId> qscan none qset <qtype> Description live table of contents: provides a list of queues queue deletion: deletes a process queue info: provides a list of queue types queue list: list processes queue open: opens the queue qname queue scan: filter for a specific corelId queue scan: removes filters (ie. scan all) queue set: sets the queue-type for gw: qtype = METRO for dm: qtype = ? for fa: qtype = METRO quit qmadmin verbose mode

Quit V

NEVER use qmadmin from a session on your own machine. ALWAYS use VNC to remotely access dmoctf:1 first.

tmadim Commands Command migg <service> pclean <machinename> Bbc psc [-s servicename | -g group] psr [-g group | -i srvid] Description migrates services (all servers will have updated info so that the services are still reachable) process clean: tells tuxedo that the server machinename is not available (could have been removed) cleans all bulletin boards lists services advertised (there may be more options available) lists tuxedo servers (there are more options available)

*this list is incomplete updates to come as time permits.

S-ar putea să vă placă și