10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a code fragment
#dosomething
(
#do many things
) |tee -a zzz.log
#dosomething
I want a varialbe var
if var =1, print the info in (#do many things ) to console, if var=0, not print the info to console (1 Reply)
Discussion started by: yanglei_fage
1 Replies
2. Shell Programming and Scripting
i=1
out="_"
while
do
j=0
IN=""
while
do
IN="|"$IN
j=`expr $j + 1`
done
print -n $IN$out
i=`expr $i + 1`
done
Actual O/P:
|_||_|||_||||_|||||_Expected O/P:
|_
| |_
| | |_
| | | |_ (3 Replies)
Discussion started by: targetshell
3 Replies
3. Solaris
Hello all;
We have a SunFire V240 with three disks that were part of a metadb. One of those disks, the boot disk, experienced a horrible death Monday night and we're now trying to recover from that.
I know very little about metadb stuff, so please be gentle with me...
I'm assuming... (3 Replies)
Discussion started by: Handon
3 Replies
4. Shell Programming and Scripting
My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies
5. Filesystems, Disks and Memory
Hello Guys,
This is solaris 8 and VXFS= 5.0,REV=5.0A55_sol.
For some reason I find Disk_7 and Disk_8 is showing disk c2t3d0, as below (notice first 2 lines)
Disk_7 and Disk_8 were shown failed in vxdisk list, so I used vxdiskadm and resttached and reinitialized the disks and added to... (0 Replies)
Discussion started by: upengan78
0 Replies
6. Solaris
Hi all,
unable to load console info in SUNMC 4.0
in alarm it is giving error info i.e..Agent on host (.....),1161 port not responding.
Iam using M9000 server solaris 10
plz try to solve the problem
Regards
spandhan (0 Replies)
Discussion started by: spandhan
0 Replies
7. Infrastructure Monitoring
hi all,
unable to load console info in SUNMC 4.0
in alarm it is giving error info i.e..Agent on host (.....),1161 port not responding.
plz try to solve the problem
Regards
spandhan (5 Replies)
Discussion started by: spandhan
5 Replies
8. Solaris
hi friends,
- how may i check the list of disk
partitions created till date specifying their physical path, size and date ?
-i know only "df -k" "df -h" "du"
-anyother command?
-kindly advise friends..thanks alot (4 Replies)
Discussion started by: cromohawk
4 Replies
9. UNIX for Dummies Questions & Answers
welll, the title quite explains what i want to do
thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies
10. UNIX for Dummies Questions & Answers
Where should I go(the site) to get unix? Please tell me! (1 Reply)
Discussion started by: Katan
1 Replies