Solaris System Administration Commands

Common Solaris commands 

For More Info Please refer below link:

http://bhami.com/rosetta.html

HD info(vendor, RPM, capacity)

oasis:/home/tse/dxy[9:18pm] iostat -E

system configuration

% /usr/platform/`uname -i`/sbin/prtdiag

Display the number of used and free i-nodes

impulse:/home/dxy[4:07pm] df -F ufs -o i


Display processes with the highest CPU utilization

velocity:/home/dxy[4:54pm] ps -eo pid,pcpu,args | sort +1n


Display processes with the highest memory usage

velocity:/home/dxy[4:54pm] ps -eo pid,vsz,args | sort +1n


Printing disk geometry and partition info

oasis:/home/dxy[4:16pm] prtvtoc /dev/rdsk/c0t0d0s0


Checking whether it’s running in 32-bit mode or 64-bit mode

64-bit mode

% isalist -v 
sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
% isainfo -v
64-bit sparcv9 applications
32-bit sparc applications

32-bit mode

% isalist -v 
sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
% isainfo -v
32-bit sparc applications


Verifying a route to a specified network

# route -n get xxx.yyy.zzz.0


system configuration

% sysdef

Display the device list (and drivers attached to devices)

% prtconf -D


processor type, speed

% psrinfo -v


patch applied on the system

% showrev -p 

 

 

0 comments