Reboot solaris box(What are all the command outputs)


 
Thread Tools Search this Thread
Operating Systems Solaris Reboot solaris box(What are all the command outputs)
# 1  
Old 08-23-2011
Reboot solaris box(What are all the command outputs)

Hi

What are all the command outputs we have to note and keep it for safe before rebooting or shutting down a solaris box
# 2  
Old 08-23-2011
Are you suspecting that after reboot the configuration might change? Unless you did some changes to the system without making them persistent it shouldn't be a problem.
This User Gave Thanks to bartus11 For This Post:
# 3  
Old 08-23-2011
hi bartus
thanks for the reply
i just wanna know the commands to be on the safer side. in aix we take the output of the commands like lsvg,lsvg -o,df -g,cat /etc/exports,cat /etc/filesystems before reboot.
Similarly on solaris what are the commands ?
# 4  
Old 08-23-2011
For disk/filesystem information you can use:
Code:
echo | format
mount
df -h
metastat -a
zpool status

Tell me what other parts of the system do you want to examine, cause there are hundreds of potential commands...
# 5  
Old 08-23-2011
just run an "explorer" and you have almost all data you might ask for... the explorer tool is part of the "service tools bundle" which, if not installed, can be downloaded from MOS.
for more information continue reading here:
Oracle Support | Oracle Services Tools Bundle for Sun Systems
# 6  
Old 08-24-2011
Quote:
Originally Posted by DukeNuke2
just run an "explorer" and you have almost all data you might ask for... the explorer tool is part of the "service tools bundle" which, if not installed, can be downloaded from MOS.
for more information continue reading here:
Oracle Support | Oracle Services Tools Bundle for Sun Systems
Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Time outputs of wget command

Hello friends, I've been working on a solaris server, I need to test responses of a web service using WGET command, if the response is successful, how quick it is etc. I have scirpt like this, I modified it, i try to redirect the output of time command to total.txt but i couldn't manage, i... (4 Replies)
Discussion started by: EAGL€
4 Replies

2. Ubuntu

/etc/hostname gets modified on reboot of ubuntu box

Hi, I have a ubuntu box with /etc/hostname entry like abcd-lx . However, if the machine shuts down without a proper shutdown , on reboot, the enter in /etc/hostname looks like %vserverguest% Also, /etc/hosts gets an invalid entry in place of abcd-lx. If anyone has any idea, please help! ... (6 Replies)
Discussion started by: mnanavati
6 Replies

3. Shell Programming and Scripting

create outputs from other command outputs

hi friends, The code: i=1 while do filename=`/usr/bin/ls -l| awk '{ print $9}'` echo $filename>>summary.csv #Gives the name of the file stored at column 9 count=`wc -l $filename | awk '{print $1}'` echo $count>>summary.csv #Gives just the count of lines of file "filename" i=`expr... (1 Reply)
Discussion started by: rajsharma
1 Replies

4. Solaris

uptime and last reboot command in solaris

Hi, Can someone explain in detail what 'uptime' ,'last reboot' and 'who -b' commands do in solaris. this commands are not executing in every solaris box. why this is happening. Has solaris got some inbuilt commands into it. If yes then where i have found them? Thanks,Soubhik (6 Replies)
Discussion started by: soubmukh
6 Replies

5. Shell Programming and Scripting

Issues with expr command on Solaris Box

Hello Friends, I have written a code on a Linux box, however, am getting issues while running it on a Solaris server. The issue with Sed command is sortd out, however, am still lokking for solutions with expr command. Here is the issue, Linux : bash-2.03$ expr match singh@test.com... (10 Replies)
Discussion started by: suffisandy
10 Replies

6. Shell Programming and Scripting

Operating on each of the individual outputs of a command

ps -e -o pcpu,pid,cmd --sort pcpu | sed '/^ 0.0 /d'|awk '{print $2}'|grep -v PID Gives the output: 4482 4023 5912 I want to operate on each pid in the output. How to do so. (2 Replies)
Discussion started by: proactiveaditya
2 Replies

7. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

8. UNIX for Dummies Questions & Answers

difference between AIX box and Sun Solaris box

Hi, I need a clarification. Is there any difference between AIX box and Sun Solaris box? The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box. Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies

9. Shell Programming and Scripting

Script to Reboot a linux box from a windows box

HI All, I need a script to reboot a linux box from a windows box. The script needs to run automatically whenever a sitescope alerts with an error message. Have searched for this in the forums, but could not get something relative. Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

10. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies
Login or Register to Ask a Question