Unix Troubleshooting Tools
These are useful tools for troubleshooting Unix support issues in more depth; for example, those encountered with vendor applications which use Oracle as their core data-store. A brief explanation of commands/examples is provided, however other options may be available, the man pages should be consulted for complete list of options..
COMMAND USAGE DESCRIPTION
lsof lsof [-options] [names]

Lists open files which may be a normal file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file. It may help to diagnose resource contention between processes.

-P Inhibits conversion of port numbers to port names for network files. This option may speed up the execution of the command.

 

-p s Only list open files for comma-separated process list s.

 

 

 

netstat netstat [-options]

Print system networking details.

-n Show numeric addresses instead of trying to determine symbolic names.

 

-r Display the kernel routing table.

 

-i Display status of network interfaces.

 

-a Show all listening and non-listening sockets.

 

 

showmount showmount [-options] [names]

Show all remote mounts.

-a Print all remote mounts.

 

-d List directories that have been remotely mounted by clients.

 

-e Print the list of exported file-systems

 

truss truss [-options] (command|pid)

Trace system calls and signals.

-p s Trace list of process ids s.

 

-f Follow all children and their signals.

 

-a Show system call argument strings.

 

-e Show system call environment strings.
-l Include lightweight process id.
-v all Display all contents of structures passed to system calls by address.
-o <outfile> File to be used to trace output.
fuser fuser [-options] names Identify processes using a file or file structure.
ping ping [-options] host [count] Send echo request packets to a host.
nslookup nslookup [-options] [names] Query name servers.
ipcs ipcs [-options] Report inter-process communication facilities status.
showrev showrev [-options]

Show machine and software revision information.

-a Print all revision information.
-p Show only revision information for patches.

 

ldd [-options] filename List dynamic dependencies of executable files or shared objects.