Submit A Basic System Administration Command


 
Thread Tools Search this Thread
Operating Systems Solaris Submit A Basic System Administration Command
# 1  
Old 12-10-2007
Bug Submit A Basic System Administration Command

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

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

#uname -a
-- to provide brief system information
# 2  
Old 12-10-2007
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
# 3  
Old 12-10-2007
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

# 4  
Old 12-11-2007
Quote:
Originally Posted by porter
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) Smilie
# 5  
Old 12-11-2007
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.
# 6  
Old 12-11-2007
processes

#prstat -U oracle
-- This command will list down all process handled by "oracle" user . something like #ps -ef | grep oracle
# 7  
Old 12-11-2007
getting CPU utilization in order
ps -eo ppid,pcpu,args | sort +1n
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

How to start in System Administration?

Hi all, I wonder if you guys could give me some advice on this. I have messed around with Linux for the last few years, and I'm at the point where I would like to become a system administrator - as a career. I already have a bachelor's degree, but it is in the humanities (art history) so... (2 Replies)
Discussion started by: ScottLew
2 Replies

2. Solaris

Solaris Basic Administration Study Guide

Could you please help me with a link for study guide or book for 1Z0-877 . Thanks for your help (2 Replies)
Discussion started by: Anu_1
2 Replies

3. UNIX for Advanced & Expert Users

System/Network Administration Tools

Sorry for making this post so generic. I'm trying to see if there are tools that exist that look at local network/system configurations and find problems... for example: - NTP server configured that cannot be reached (can cause the system to drift because nobody is alerted to the fact that the... (0 Replies)
Discussion started by: jjinno
0 Replies

4. Solaris

Various System Administration Questions

Sorry I'm kind of desperate here :wall:, there's a security audit coming next week :( and I can't seem to find solutions for the questions below :confused:. 1) I need to limit usage on account during non-working hours. There's no /etc/security/time.conf file in my system should I create it? ... (0 Replies)
Discussion started by: ShouTenraku
0 Replies

5. Solaris

System Administration Certification

I'm planning to take System Administration certification in SUN Solaris. Can some one suggest me if there are any links are URLs to find sample question papers. Pharos (2 Replies)
Discussion started by: pharos467
2 Replies

6. UNIX for Dummies Questions & Answers

Basic Aix Administration Questions...

Would this be the right forum to ask basic unix administration questions relating to smitty tasks, etc? (2 Replies)
Discussion started by: NycUnxer
2 Replies

7. UNIX for Dummies Questions & Answers

System Administration

I have been working with UNIX (HP-UX) now for a couple of years. Have become quite capable in shell scripting and general UNIX use. The local university offers a certification course in UNIX administration which I am considering taking. However, the certification is geared toward UNIX in general... (13 Replies)
Discussion started by: google
13 Replies
Login or Register to Ask a Question