Search Results

Search: Posts Made By: Sumanthsv
43,394
Posted By Sumanthsv
Thanks a lot. Its working fine.. OS: RHEL7.6
Thanks a lot. Its working fine..

OS: RHEL7.6
43,394
Posted By Sumanthsv
Redirect and append output to different files
Hi,

I need to redirect the command output to file1 and append the output to file2 at the same time.

As of now am using below,

command | tee -a file2 | tee file1

problem with the above is,...
8,944
Posted By Sumanthsv
HI rbatte1, Thanks for the reply. I have...
HI rbatte1,

Thanks for the reply.
I have removed the extra white spaces in the kickstart file, which resolved the issue

Thanks
8,944
Posted By Sumanthsv
Unable to open input kickstart file curl#37
Hi,

Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart
Here am trying to include /tmp/swappart file from pre...
Forum: Solaris 06-03-2019
5,764
Posted By Sumanthsv
Hi, Actually dladm can't be used from non...
Hi,

Actually dladm can't be used from non global zone. Still didn't get any luck

TIA
Forum: Solaris 05-31-2019
17,132
Posted By Sumanthsv
Block port for all except for one specific ip in Solaris11.4
Hi,

I need to block ssh port 22 from all the servers except one server ip.
Until solaris11.3 and below, I used to do like below(under /etc/ipf/ipf.conf),and it's working fine
pass in quick from...
Forum: Solaris 05-09-2019
5,764
Posted By Sumanthsv
Set MTU value for ipv6 interfaces
Hi,

I am trying to set mtu value for ipv6 interfaces. I know how to set it for ipv4 interfaces
ifconfig net1 mtu 1240

Do I need to add any iptype for the above command ?

Note:
OS:Solaris...
Forum: Solaris 04-30-2019
6,765
Posted By Sumanthsv
Hi, Thanks for the reply. @hicksd8 I...
Hi,

Thanks for the reply.

@hicksd8 I have followed the steps mentioned in the link https://dtrace-discuss.opensolaris.n...ts-not-working

zonecfg -z z1-zonename
info
brand: solaris10...
Forum: Solaris 04-29-2019
6,765
Posted By Sumanthsv
Prustat throwing error only in zones not in global
Hi,

Prustat is throwing error only in zones. But it is working fine in global.
dtrace: invalid probe specifier
/*
** The following is a trimmed version of two seperate DTrace scripts:
**
**...
1,412
Posted By Sumanthsv
Make throwing error while compiling python3.6 on Solaris10
Hi,

I have downloaded gzipped source tarball of python3.7. I have tried to compile like below,
./configure --prefix=/directory

Compiling seems to be ok..But when running make all..Getting too...
Forum: Solaris 04-07-2019
9,465
Posted By Sumanthsv
Hi, Yes. The gcc is not the latest version ....
Hi,

Yes. The gcc is not the latest version . It comes with the Solaris. I don't think thats an issue.. Only thing is that, while compiling it should take from /usr/sfw/lib/amd64 which is for 64...
Forum: Solaris 04-07-2019
9,465
Posted By Sumanthsv
Hi, Contents of /usr/sfw/lib with respective...
Hi,

Contents of /usr/sfw/lib with respective to gcc

drwxr-xr-x 3 root bin 3 Nov 16 2010 gcc
lrwxrwxrwx 1 root root 13 Nov 16 2010 libgcc_s.so -> libgcc_s.so.1...
Forum: Solaris 04-07-2019
9,465
Posted By Sumanthsv
Hi, While debugging I came to know that the...
Hi,

While debugging I came to know that the following error line appears many times

WARNING: renaming "itertools" since importing it failed: ld.so.1: python: fatal: /usr/sfw/lib/libgcc_s.so.1:...
Forum: Solaris 04-07-2019
9,465
Posted By Sumanthsv
Need help to compile and create python64 bit (2.7.9) on Solaris10
Hi,

I am trying to build python(2.7.9) 64 bit from source on solaris10. Using the below to compile

./configure CFLAGS=-m64 LDFLAGS=-m64


But getting errors like below while executing make
...
11,640
Posted By Sumanthsv
Sort only numbers within a string
Hi,

I am having contents in a file like below,

cat testfile
rpool/swap
rpool/swap14
rpool/swap2
rpool/swap3


I want to sort the above contents like,
rpool/swap
rpool/swap2...
1,277
Posted By Sumanthsv
Thanks a lot..Its working..
Thanks a lot..Its working..
1,277
Posted By Sumanthsv
Need to compare numbers in alphanumeric string
Hi,

I will be having file names like below,

1420SP1.01804
1420SP1.01805D
1420SP1.01805
1420SP1.01806D
1420SP1.01806
1420SP1.01901D
1420SP1.01901
1420SP1.01902D
1420SP1.01902...
Forum: Red Hat 10-10-2018
5,436
Posted By Sumanthsv
Pyanaconda yumpayload.py while installing custom CentOS
I have added grub2 efi package to package folder in extracted iso folder and used below command to create repo
createrepo -v PackagesFolder
I didn't do any changes in comps.xml as an entry with...
11,489
Posted By Sumanthsv
Thanks Scrutinizer ..it's working
Thanks Scrutinizer ..it's working
11,489
Posted By Sumanthsv
Print loop output on same line dynamically
Hi,

I am trying to print copy percentage completion dynamically by using the script below,

#!/bin/bash
dest_size=0
orig_size=`du -sk $sourcefile | awk '{print $1}'`
while [ $orig_size -gt...
Forum: Solaris 03-29-2018
4,574
Posted By Sumanthsv
Create-aggr failed
Hi,

I am trying to create aggregation by using dladm, But am getting the following error.
dladm create-aggr -P L2 -l net2 sumaggr2
dladm: create operation failed: link busy

I have checked in...
Forum: Solaris 03-01-2018
3,956
Posted By Sumanthsv
Date and time change in global and non global zone
Hi,

If I change date and time in global zone, then it will affect in non global zones.

During this process what files will get affect in non global zones and which mechanism it's using to...
2,375
Posted By Sumanthsv
Thanks a lot for the reply.. I have done...
Thanks a lot for the reply..

I have done using "sed" like below and its working fine.

func=`grep "()" Scriptname | cut -d "(" -f1`
for i in $func
do
sed -i "/$i()/ {n;a\
echo $i
}"...
2,375
Posted By Sumanthsv
HI, As my script is having too many...
HI,

As my script is having too many functions.I need to know the flow while executing..Because of that i need to print each function names inside the function(echo 'functionname')

Note:I can...
2,375
Posted By Sumanthsv
Need help on awk for printing the function name inside each function
Hi,

I am having script which contains many functions. Need to print each function name at the starting of the function. Like below,

functionname()
{
echo "functionname"
commands....
}

...
Showing results 1 to 25 of 47

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