The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
System Administration Certification pharos467 SUN Solaris 2 01-22-2008 06:48 AM
Basic Aix Administration Questions... NycUnxer UNIX for Dummies Questions & Answers 2 10-11-2007 09:51 AM
HP0-002 system administration certification vikas_sri HP-UX 1 09-23-2003 09:56 AM
Hp-UX system administration exam ( HP0-002). vikas_sri HP-UX 3 09-21-2003 05:39 PM
System Administration google UNIX for Dummies Questions & Answers 13 07-28-2002 08:58 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-10-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
Smile Submit A Basic System Administration Command

Come and create a new thread to post a basic system administration command to share with all ..

#df -h
-- to list down mounted filesystem with the capacity

#uname -a
-- to provide brief system information
Reply With Quote
Forum Sponsor
  #2  
Old 12-10-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
tar command

#tar -cvf /[destination].tar /[source]/*
-- will tar the selection folders recursively with the (*) to the destination location

#tar -xvf XXXXX.tar
-- will extract the tar'red file
Reply With Quote
  #3  
Old 12-10-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
For Linux, AIX, *BSD, Tru64, HPUX

Code:
shutdown -h now
For Solaris

Code:
shutdown -y -i 5 -g 1
For IRIX

Code:
shutdown -y -i0 -g1 -p
Reply With Quote
  #4  
Old 12-10-2007
Smiling Dragon's Avatar
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 734
Quote:
Originally Posted by porter View Post
For Linux, AIX, *BSD, Tru64, HPUX
shutdown...
Personally I prefer:
Code:
halt
or
Code:
kill -8 1
(Used to be 9 until it was pointed out to me that modern solaris doesn't accept that anymore)
Reply With Quote
  #5  
Old 12-10-2007
Registered User
 

Join Date: Dec 2007
Posts: 47
Code:
cd /source;find . -print |cpio -pudvm /destination
this will copy all files and directories from /source to /destination

cool trick is that it will keep correct ownership/attributes and modification time for all files.
Reply With Quote
  #6  
Old 12-10-2007
Registered User
 

Join Date: Aug 2007
Posts: 6
processes

#prstat -U oracle
-- This command will list down all process handled by "oracle" user . something like #ps -ef | grep oracle
Reply With Quote
  #7  
Old 12-11-2007
Registered User
 

Join Date: Oct 2007
Posts: 9
getting CPU utilization in order
ps -eo ppid,pcpu,args | sort +1n
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
cpio, linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0