Search Results

Search: Posts Made By: msgforsunil
Forum: Solaris 10-28-2014
1,005
Posted By msgforsunil
Excellent, working fine. Thanks a lot for timely...
Excellent, working fine. Thanks a lot for timely help!
Forum: Solaris 10-28-2014
1,005
Posted By msgforsunil
How do I list all the files in Solaris which are ^M chars in it?
How do I list all the files in Solaris which are ^M chars in it?

Tried the below, which didnt help
find . -type f -name "*" -exec file "{}" \; | grep -c CRLF

find . | xargs grep -l "\^M"
...
Forum: Solaris 10-27-2014
4,939
Posted By msgforsunil
Thank you very much.
Thank you very much.
Forum: Solaris 10-27-2014
1,120
Posted By msgforsunil
Thank you
Thank you
Forum: Solaris 10-17-2014
4,939
Posted By msgforsunil
Numbers-of-cpu-cores-in-Solaris-10
Hello All,

How do I find the number of CPU's, virtual processors in solaris 10?

Thank you
Sunil Kumar
Forum: Solaris 10-17-2014
1,120
Posted By msgforsunil
How is Load Average computed and what are better numbers?
Hello All,

What is load average and how is it computed in Solaris 10?

What are the different ranges for normal, warning and danger signs?

Kindly clarify.

Thank you,
Sunil Kumar
Forum: Solaris 11-27-2013
8,289
Posted By msgforsunil
Thank you very much.
Thank you very much.
Forum: Solaris 11-26-2013
8,289
Posted By msgforsunil
Solaris 10: Listing the memory usage based on UNIX user wise.
Hello All

I have a Solaris 10 machine, wherein processes are run in various unix users.
a. How do I list the memory usage per user?
b. Can I get a top command kind of output per user rather...
Forum: Solaris 01-26-2013
1,703
Posted By msgforsunil
Hi GP, Can you please tell me as how to...
Hi GP,

Can you please tell me as how to exchange ssh keys with all those servers using a script, without user intervention?

Thanks
Sunil Kumar
Forum: Solaris 01-25-2013
1,703
Posted By msgforsunil
Can I exchange the keys using a script with...
Can I exchange the keys using a script with multiple machines? If yes, then can you please tell me how?

I dont want to login to SSH, rather just check, if its running on the remote machine, since...
Forum: Solaris 01-25-2013
1,703
Posted By msgforsunil
Means to check if some process is running on "n" number of machines
Team,

I would like to know, if we have any command in Solaris to verify, if some process is listening on a port on a set of machines.

for eg: Wrote the below script, and found that when a...
3,594
Posted By msgforsunil
Thank you very much for all your responses. ...
Thank you very much for all your responses.

-----Post Update-----

Curious as what changes should I do in the below script inorder to handle cases that contains values vales with spaces in it? ...
3,594
Posted By msgforsunil
Note sure what I am missing. I tried like below...
Note sure what I am missing. I tried like below and got the error
<user1@test>perl $string = 'attr1=value1 attr2=value2 attr3=value3 attr4=value4';
ksh: string: parameter not set

Since, I am...
3,594
Posted By msgforsunil
Thank you very much for the quick reply. ...
Thank you very much for the quick reply.
Unfortunately, I am not using phython and I am doing using ksh.

And the below statements are not working for me
my $string = 'attr1=value1 attr2=value2...
3,594
Posted By msgforsunil
Parsing String
Hello All,

I have a case, wherein I have a string of the format
"attr1=value1 attr2=value2 attr3=value3 attr4=value4"

How do I extract the value associated with for a given attributename. For...
Showing results 1 to 15 of 15

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