Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
Solaris Command Reference

Solaris Command Reference

Ratings:

4.84

(31)
|Views: 4,908 |Likes:
Published by sachinsharma10

More info:

Published by: sachinsharma10 on Aug 05, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC or read online from Scribd
See more
See less

07/03/2013

 
Solaris Command Reference
HD info(vendor, RPM, capacity)
oasis:/home/tse/dxy[9:18pm] iostat -Esd0 Soft Errors: 0 Hard Errors: 3 Transport Errors: 0Vendor: SEAGATE Product: ST34371W SUN4.2G Revision: 7462 Serial No: 9742K71685RPM: 7200 Heads: 16 Size: 4.29GB <4292075520 bytes>Media Error: 0 Device Not Ready: 0 No Device: 3 Recoverable: 0Illegal Request: 0 Predictive Failure Analysis: 0sd1 Soft Errors: 0 Hard Errors: 3 Transport Errors: 0Vendor: SEAGATE Product: ST32171W SUN2.1G Revision: 7462 Serial No: 9736T74649RPM: 5400 Heads: 19 Size: 2.13GB <2127708160 bytes>Media Error: 0 Device Not Ready: 0 No Device: 3 Recoverable: 0Illegal Request: 0 Predictive Failure Analysis: 0sd6 Soft Errors: 0 Hard Errors: 3 Transport Errors: 0Vendor: TOSHIBA Product: XM5701TASUN12XCD Revision: 0997 Serial No: 04/09/97RPM: 0 Heads: 0 Size: 18446744073.71GB <-8589934591 bytes>Media Error: 0 Device Not Ready: 3 No Device: 0 Recoverable: 0Illegal Request: 0 Predictive Failure Analysis: 0
Display the number of used and free i-nodes
impulse:/home/dxy[4:07pm] df -F ufs -o iFilesystem iused ifree %iused Mounted on/dev/dsk/c0t3d0s0 38555 403045 9% //dev/dsk/c0t1d0s0 160761 345607 32% /export/home/dev/md/dsk/d20 149826 1905214 7% /usr/localimpulse:/home/dxy[4:07pm] /usr/ucb/df -iFilesystem iused ifree %iused Mounted on/dev/dsk/c0t3d0s0 38555 403045 9% //dev/dsk/c0t1d0s0 160761 345607 32% /export/home/dev/md/dsk/d20 149826 1905214 7% /usr/localimpulse:/home/dxy[4:07pm]
Display processes with the highest CPU utilization
velocity:/home/dxy[4:54pm] ps -eo pid,pcpu,args | sort +1n
Command is used to list the five processes that are consuming the most CPU resources
prstat -s cpu -n 5
Determining User Consumption
prstat -s cpu -a -n 8
Provides the top five processes on a system in terms of virtual memory consumption
prstat -s size -n 5
Display processes with the highest memory usage
 
velocity:/home/dxy[4:54pm] ps -eo pid,vsz,args | sort +1n
Determining the RAM Size
prtconf | head -3 | grep Mem
Printing disk geometry and partition info
oasis:/home/dxy[4:16pm] prtvtoc /dev/rdsk/c0t0d0s0* /dev/rdsk/c0t0d0s0 partition map** Dimensions:* 512 bytes/sector* 135 sectors/track* 16 tracks/cylinder* 2160 sectors/cylinder* 3882 cylinders* 3880 accessible cylinders** Flags:* 1: unmountable* 10: read-only** First Sector Last* Partition Tag Flags Sector Count Sector Mount Directory0 2 00 0 7855920 7855919 /usr/local1 3 01 7855920 524880 83807992 5 00 0 8380800 8380799oasis:/home/dxy[4:16pm]
Checking whether it's running in 32-bit mode or 64-bit mode
64-bit mode
% isalist -vsparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc% isainfo -v64-bit sparcv9 applications32-bit sparc applications
32-bit mode
% isalist -vsparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc% isainfo -v32-bit sparc applications
Verifying a route to a specified network 
# route -n get xxx.yyy.zzz.0route to: xxx.yyy.zzz.0destination: defaultmask: defaultgateway: xxx.yyy.aaa.254interface: hme0flags:recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire0 0 0 0 0 0 1500 0#
 
print the version of OBP
% prtconf -VOBP 3.3.2 1996/06/28 08:43% /usr/platform/`uname -i`/sbin/prtdiag -v | grep OBPOBP 3.11.1 1997/12/03 15:53 POST 3.11.4 1997/05/27 02:26%{2} ok .versionRelease 3.23 Version 1 created 1999/07/16 12:08OBP 3.23.1 1999/07/16 12:08POST 2.0.2 1998/10/19 10:46{2} ok
print the version of Open Windows
% showrev -wOpenWindows version:OpenWindows Version 3.6.1 25 January 1999%
To determine which monitor resolution is available
% /usr/sbin/ffbconfig -res \?Valid values for -res option are:1024x768x60 [1]1024x768x70 [1]1024x768x75 [1] [2]1024x768x771024x800x841152x900x661152x900x761280x800x76 [1] [2]1280x1024x60 [1] [2]1280x1024x671280x1024x761280x1024x85 [1] [2]960x680x112s960x680x108s640x480x60 [1] [2]640x480x60i [1]768x575x50i [1]1440x900x76 [1] [2]1600x1000x66 [1] [2]1600x1000x76 [1] [2]1600x1280x76 [1] [2]1920x1080x72 [1] [2]1920x1080x76 [1] [2]1920x1200x70 [1] [2]1920x1200x75 [1] [2]svga [1]11521280stereovga [1] [2]ntsc [1]pal [1]noneNotes:[1] monitor does not support this resolution.

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
seenuvasan1985 liked this
Rares Cb liked this
seenuvasan1985 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->