Search Results

Search: Posts Made By: Alalush
4,451
Posted By Alalush
Perl - Reading keyboard keystroke
Hello All,

I wounder if any one know if perl have the ability to run script in the background which record each keyboard keystorke?

If yes , how can I implement the part which reading the...
Forum: Solaris 04-02-2009
9,341
Posted By Alalush
Disabling RPC nlockmgr
Hi,

I would like to disable RPC nlockmgr so it wouldn't start after boot operation.
How can I do it on solaris 9 (sparc arch.)?

Thanks,
Alalush
5,232
Posted By Alalush
dmispd still detected by scan utility
Hello,

I need to disbale the rpc snmpXdmid & dmispd.
In order to simualte it I enabled this services by running the follwoing command:
/usr/lib/dmi/snmpXdmid
/usr/lib/dmi/dmispd

I run a...
Forum: Solaris 01-29-2009
7,049
Posted By Alalush
Netra V440 & Netra 1290 keyswitch
Hello,

I wrote a script which monitor the keyswitch state repeatedly each 10 minutes.
I'm extracting the keyswitch status by using prtdiag.
The script works fine for Netra v440 , but I found...
6,823
Posted By Alalush
echo in ksh sh & bash
Hello,

I have lib file which contain a function that get text to print on screen by echo command.

Several scripts are inculde this lib and use this function.
Each one of them is written in...
1,925
Posted By Alalush
solaris 9 hardware mulfunction
Hello,

Im working on solaris 9 and I need to write script which monitoring
several hardware componenets for any failures such as memory , Disks , power supply etc.
I using prtdiag to extract...
9,366
Posted By Alalush
shell :: check directory existence
Hi All,

I have shell script and I need to check if some directory exist.
I'm don't have the information if that directory is written in upper case or lowcase or mixed.

Is there anyway to...
1,888
Posted By Alalush
Call Function in .pm as another user
Hello,

I need to call a function which reside in some package moudle (.pm)
as another user by using su -.
Are anyone know how can I do it?

Thanks
2,600
Posted By Alalush
scrolling cursor
Hi,

I'm writing scripts in perl and shell and want to add the oprion of
scrolling cursor on the screen when there is no output to the screen for long time. I saw it in some script but I don't...
Forum: Solaris 08-19-2008
2,928
Posted By Alalush
LOM password
Hello,

I need to run several command under LOM from unix shell.

the first command is resetsc -y and then I required to enter admin password.
Is there any way to make it with a script like:...
4,753
Posted By Alalush
password required when using input redirection
Hello,

I need to change user and run some commands by using a script.
lets say, I'm using
su - someuser << start
password required -----> how can I enter the password here
command 1
command...
5,137
Posted By Alalush
perl colors in nedit editor
Hi,

I would like to change the color of the nedit editor for perl scripts.
I tried to find the .nedit file in my $HOME directory but didn't find it.

Can anyone tell where can I find the...
7,350
Posted By Alalush
Print Entire hash list (hash of hashes)
I have a script with dynamic hash of hashes , and I want to print the entire hash (with all other hashes).
Itried to do it recursively by checking if the current key is a hash and if yes call the...
10,087
Posted By Alalush
perl : stdout is not return to screen
Hello All,

I have a perl script , and the STDERR and additional FH is redirected to the STDOUT like below:
open STDOUT ,">>$log" or die "$! :: $log\n";
open STDERR ,">&STDOUT" or die "$! ::...
34,307
Posted By Alalush
How to Check Shell script syntax w/o executing
Hello All,

I looking for a way to verify the correction of shell script syntax.
Is there any switch like -c in perl which do this in shell ?

Thank You.
29,494
Posted By Alalush
perl: howto print to screen & filehandle
Hello,

I need to print messages both to screen and to file handle in perl , like tee does in unix .
Any suggestions ?


Thanks
10,426
Posted By Alalush
convert variable content to array
Hi All,

I have a variable in a shell script which holds let say n paarmeteres with space separate them :

$var = par1 par2 par3 par4 parn;
so if I print this variable this is what I'll see:...
6,197
Posted By Alalush
Oracle using perl
Hello All,

I need to now how can I establish connection with oracle database then shutdown abort and then startup, In other words need to implement the following lines to perl script:

export...
5,918
Posted By Alalush
Thank You , era.
Thank You , era.
5,918
Posted By Alalush
Perl : Kill process within 5 min
From a perl script , How can I monitor a PS which I activated and kill it within 5 minutes in case it didn't complete its tasks.:confused:
8,736
Posted By Alalush
How to find pid of PS which executed by perl system function
hello All,

I need to invoke by perl script some program/command and monitor it for 5
minutes . In case it still running for more then 5 min I need to send a signal which will stop it.

I...
Showing results 1 to 21 of 21

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