10 More Discussions You Might Find Interesting
1. Solaris
Hi,
It is Solaris-10 with ZFS. c0t1d0 is original disk. c0t0d0 was faulty disk, which was replaced with new one and by mistake somebody ran opposite command
# prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0
Now rpool is in suspended state. Right now server is up, but allowing ssh... (6 Replies)
Discussion started by: solaris_1977
6 Replies
2. Solaris
Hi,
I am trying to mirror a disk (which was already mirror and after breaking it, doing it again). This is root disk and in control of veritas. Somehow, slice information is not coming correctly on this. Can somebody give some pointer to fix it ?
root@tdrp091:/root# prtvtoc /dev/rdsk/c3t0d0s2 |... (6 Replies)
Discussion started by: solaris_1977
6 Replies
3. Red Hat
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies
4. Shell Programming and Scripting
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
Discussion started by: Optimus81
9 Replies
5. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
6. Shell Programming and Scripting
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies
7. Shell Programming and Scripting
I have a file with the following content.
> cat /tmp/internetusage.txt
6709.296322 30000 2/7/2010 0.00I am using the following awk command to calculate a percentage from field 1 and 2 from the file.
awk '{ print $1/$2*100 }' /tmp/internetusage.txt
This outputs the value "22.3643" as a... (1 Reply)
Discussion started by: jelloir
1 Replies
8. Solaris
Hi all,
I am trying to use the disk for mirror where in the mirror disk is of 160 gb and the rootdisk is of 80 gb. when i am trying to write the vtoc i am getting below error
i tried the below command
#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s -/dev/rdsk/c0t2d0s0
and got below
... (26 Replies)
Discussion started by: kumarmani
26 Replies
9. Solaris
If i have diks layout like below
0 root wm 0 - 634 471.29MB (635/0/0)
965200
1 var wm 635 - 2014 1.00GB (1380/0/0)
2097600
2 backup wm 0 - 2732 1.98GB (2733/0/0)
4154160
3 swap wu 2015 - 2704 ... (1 Reply)
Discussion started by: tpx99
1 Replies
10. Shell Programming and Scripting
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Discussion started by: mail2sant
3 Replies