Search Results

Search: Posts Made By: Paragon1970
Forum: Red Hat 01-06-2012
1,759
Posted By Paragon1970
named caching server odd lookup issue!
Hello All,

I have resubmitted this issue I am having as the my last post was moved to programming as the issue appeared to be specific to java but on further investigation this is not the case.
...
3,663
Posted By Paragon1970
Not sure what you after exactly from the...
Not sure what you after exactly from the description above but the following command will print everything after 'pattern'.

echo "bfdkasfbdfg khffkf lkdhfhdf pattern 123 this is printed"| perl -ne...
3,259
Posted By Paragon1970
I'm not an HP-UX expert so am not totally...
I'm not an HP-UX expert so am not totally familiar with how hp-ux handles top but looking at your output it appears the following are utilising rather high cpu resources

0 ? 13598 root ...
5,466
Posted By Paragon1970
Your Welcome :b:
Your Welcome :b:
Forum: Solaris 10-18-2011
21,327
Posted By Paragon1970
@jlliagre I guess at least we can assume...
@jlliagre

I guess at least we can assume there are no fibre channel devices ;-) lol
It's a jigsaw puzzle ...
SRG
2,728
Posted By Paragon1970
Colin, Give the full path to the file you wish...
Colin,
Give the full path to the file you wish to write to also it is recommended you add perl interpreter with the shebang on the first line.
See below:

#!/usr/bin/perl
open FILE,...
1,875
Posted By Paragon1970
Glad to be of assistance Astrocloud and thanks...
Glad to be of assistance Astrocloud and thanks for my first thanks :-)
3,465
Posted By Paragon1970
Hi Folks, Below is a script I knocked up to...
Hi Folks,
Below is a script I knocked up to search man pages on both Solaris and Linux systems. It's not pretty but functions ;-)
(Tested on Solaris 10 and RHES)

Usage:
MANPATH environment...
7,048
Posted By Paragon1970
Chaandana, /etc/system set...
Chaandana,

/etc/system
set tcp:tcp_conn_req_max_q=2048

Or via ndd
ndd -set /dev/tcp tcp_conn_req_max_q=2048

Use the following to check and view available tcp parameters...
netstat -s -P...
Forum: Solaris 10-18-2011
3,700
Posted By Paragon1970
Or if you want to be adventurous and non standard...
Or if you want to be adventurous and non standard play with the source code for unix_acct.c etc ;-)

sp_min , sp_max, sp_lstchg and so on.

Again not recommended but another option.

Cross...
Forum: Solaris 10-18-2011
21,327
Posted By Paragon1970
To view LUN information..... # luxadm probe ...
To view LUN information.....

# luxadm probe
No Network Array enclosures found in /dev/es

Found Fibre Channel device(s):
Node WWN:200600a0b829a7a0 Device Type:Disk device
Logical...
4,364
Posted By Paragon1970
# tar cf - dirA | ssh remotehost " ( cd...
# tar cf - dirA | ssh remotehost " ( cd /some/path ; tar xf - ) "

Will pipe tar'd dirA and dirB if sub directory of dirA and untar it on remote host.
This is also handy if there is not enough...
5,466
Posted By Paragon1970
Ophiuchus, I had a typo $seq( should be...
Ophiuchus,

I had a typo $seq( should be $(seq
I have updated my original post with the change.
1,429
Posted By Paragon1970
Not as clean as rdcwayx but just to show various...
Not as clean as rdcwayx but just to show various options and can be handy at the prompt.
You can use logical operator && after each command.
The shell executes the second command -- if and only if...
5,466
Posted By Paragon1970
You could try it this way.... ...
You could try it this way....

LetterNumber=10
for i in $(seq 1 ${LetterNumber})
do
printf -v letter "\x$(printf %x $((${LetterNumber}+64)))"
echo ${letter}
done

Personally, I...
5,466
Posted By Paragon1970
Or as perl one liner: perl -e '$number=3;...
Or as perl one liner:

perl -e '$number=3; @hash{1 .. 26} = ('A' .. 'Z');print "letter= $hash{${number}}\n";'

As a perl script:

#!/usr/bin/perl -w
use strict;
my $number="26";
my %hash;...
5,466
Posted By Paragon1970
On Linux use the -v option to assign printf...
On Linux use the -v option to assign printf output to a variable.

LetterNumber=10
printf -v variable "\x$(printf %x $((${LetterNumber}+64)))"
echo ${variable}


Regards,
SRG
Forum: Solaris 10-17-2011
1,445
Posted By Paragon1970
Thats a strange one Jerry, never experienced that...
Thats a strange one Jerry, never experienced that before.
Heres a stab but I am in no way 100% certain that the following is the case.
It could be that a momentary power drop was experienced as the...
1,051
Posted By Paragon1970
Works for me on Solaris... bash-3.00# while...
Works for me on Solaris...

bash-3.00# while read i; do ls *$i*; done < /tmp/uids.txt
1ad55f47-c342-496b-a46d-ba7de0f1b434
*2ad55f47-c342-496b-a46d-ba7de0f1b434*: No such file or directory

...
1,875
Posted By Paragon1970
Hi, Please find below perl oneliner that may be...
Hi,
Please find below perl oneliner that may be of use.
Please not I have not completed every field but this should be easy to complete.

myfile.in contains the following line :-...
Forum: Solaris 10-16-2011
3,700
Posted By Paragon1970
Not recommended, but if you require this...
Not recommended, but if you require this functionality you could try to have cron execute a script every 30 minutes to issue a 'passwd -f ${username}' for a list of users. This will prompt the user...
Forum: Solaris 10-16-2011
21,327
Posted By Paragon1970
@Jlliagre, I'm not here to get into a childish...
@Jlliagre, I'm not here to get into a childish pedantic tit for tat about what is or is not possible. I offered up a solution in good faith and right or wrongly I presumed root access was available...
Forum: Solaris 10-15-2011
1,751
Posted By Paragon1970
Looks OK to me but a word (sentence) of warning...
Looks OK to me but a word (sentence) of warning and I say this as an SA that I worked with that should have known better screwed up doing this task.

The SA mentioned could not login (incorrect...
Forum: Solaris 10-15-2011
21,327
Posted By Paragon1970
@jlliagre: my previous post was not in response...
@jlliagre: my previous post was not in response to yours but rather to the original poster.
Indeed it does require root. If the original poster does not have access to root either directly or say...
2,396
Posted By Paragon1970
Glad it was what you were looking :-)
Glad it was what you were looking :-)
Showing results 1 to 25 of 32

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