Search Results

Search: Posts Made By: Reboot
Forum: What is on Your Mind? 05-03-2010
8,590
Posted By Reboot
I first entered in the UNIX WORLD (SOLARIS),...
I first entered in the UNIX WORLD (SOLARIS), around 3 years back.I passed my Engineering in 2007 and entered in this field as fresher.Thanks to my Company, Seniors and whole www.unix.com...
Forum: Solaris 06-01-2010
7,327
Posted By Reboot
Please find bellow link.... Disk Mirror in...
Please find bellow link....
Disk Mirror in Solaris 9 via Solaris Volume Manager (https://www.unix.com/solaris/37501-disk-mirror-solaris-9-via-solaris-volume-manager.html)

"Search" in "unix.com"...
4,331
Posted By Reboot
Hi, you can use something as : #ls...
Hi,

you can use something as :


#ls -lrth|awk '$8 == 2003 {print}'|wc -l


then change 2003 with 2004,2005,2006... etc.

:b:
3,830
Posted By Reboot
You can use similar to following : ...
You can use similar to following :



#!/usr/bin/bash

printf "ENTER THE FULL NAME OF FIRST DIRECTORY : "
read d1
echo
printf "ENTER THE FULL NAME OF SECOND DIRECTORY : "
read d2
echo...
1,540
Posted By Reboot
Above script do following : 1) It starts...
Above script do following :


1) It starts execution using "K-shell".
2) Then it execut "~/gateway/bin/gateway_env.sh" file in the home directory of the user executing the script.
3)...
5,783
Posted By Reboot
You can also use something like following : ...
You can also use something like following :


# more abc

#!/usr/bin/bash

if [ -z "$1" ]
then
echo "THIS SCRIPT REQUIRE AN ARGUMENT AS PROCESS_NAME....!!!!"
exit
else
PROC=`pgrep -l...
3,563
Posted By Reboot
You can use something like following : #...
You can use something like following :


# S=`ls -l b |awk '{print $5 }'`;P=0
# while [ $P -lt 60 ]
do
size=`ls -l b |awk '{print $5 }'`
echo $size
if [[ "$size" -ne...
14,630
Posted By Reboot
1. In unix how to list the largest file in given...
1. In unix how to list the largest file in given directory.
The answer will in single line statement.


# du -akd /directory_name|sort -nr|more ---->>> to list files from largest to smallest...
5,570
Posted By Reboot
You can do something like : #...
You can do something like :


# >report.txt cat <<!
List of successful transfers:

`cat first_file`

List of unsuccessful transfers:

`cat second_file`

!
Forum: Solaris 05-23-2010
8,731
Posted By Reboot
Set SDS to start if half of the state database...
Set SDS to start if half of the state database replicas are available


#echo "set md:mirrored_root_flag=1" >> /etc/system


Make sure all mirrors are in OK state

#metastat


Break...
Forum: Solaris 05-19-2010
12,063
Posted By Reboot
Sorry for late replying...:D:D Well, First...
Sorry for late replying...:D:D
Well, First check wether all these file systems i.e :

1./test/dir1
2./test/dir2
3./test/dir3
----- ----
----- ----


are mounted or not :


#mount...
70,839
Posted By Reboot
OR Else you can use two commands in a single...
OR Else you can use two commands in a single stratch as :


sed -e :a -e '$q;N;1001,$D;ba' orig_file >copy_file ;mv copy_file orig_file
Forum: Solaris 05-10-2010
11,240
Posted By Reboot
So, I can see that you have not partitioned the...
So, I can see that you have not partitioned the slices correctly.They are overlapping :



FIRST DISK : c1t1d0

Current partition table (unnamed):
Total disk cylinders available: 24620 + 2...
10,132
Posted By Reboot
# find /directory_name/where/file/resides -type f...
# find /directory_name/where/file/resides -type f -exec grep "pattern" {} +
Forum: Solaris 05-07-2010
13,186
Posted By Reboot
Please do following : #mount -v|grep nfs...
Please do following :


#mount -v|grep nfs
#umount -f <all nfs file systems, after terminatinal all respective process>

Then mount each NFS file system one by one followed by "df -k" command...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 05:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy