Search Results

Search: Posts Made By: madhusmita
2,085
Posted By madhusmita
How to know return value of the script
I have a script and when it is running it is showing PASSED or FAILED.But I would like to pass the results into return code.So pls provide suggession how to add return code into this script
...
2,303
Posted By madhusmita
when I am running like Script1 & Script2 &...
when I am running like

Script1 &
Script2 &

it is automated running but if Script1 is failed but results is showing passed ..please suggest..
2,303
Posted By madhusmita
How to execute script one by one in automated env
I have scripts and when I run mannualy it passed but I would like to run one by one at a time like automated. But When I run in one by one in automated the 1st one is executed and did not jump to 2nd...
2,002
Posted By madhusmita
How to insert values in 1st occurance out of two occurance in a file
Hi
I have a file which contains the following two lines which are same But I would like to insert the value=8.8.8.8 in the 1st occurance line and value=9.9.9.9 in the 2nd occurance line.
...
1,387
Posted By madhusmita
3,286
Posted By madhusmita
How to calculate top command value
If I run top command following output is comming ..So How would I calculate memoru usage,,cpu usgae against each Individual Prpocess




load averages: 0.01, 0.01, 0.01; up...
2,161
Posted By madhusmita
Thanks
Thanks
2,161
Posted By madhusmita
no it is not working as same file contains...
no it is not working as same file contains another line
GsnmpIpPort=127.0.0.1:9009

So please suggest how to distinguish and fine the Port of GlogdPort only
2,161
Posted By madhusmita
Find the Port No from the file
I have a file and conatin the following line

GlogdConnectPort=127.0.0.1:20430

But I would like to fetch 20430 and store in a variable.


How to excute this from command prompt

20430 is...
1,779
Posted By madhusmita
sorry I thought in my previous thread my heading...
sorry I thought in my previous thread my heading was not ok so i raised new thread
1,818
Posted By madhusmita
how to pass argument remotely
If I run the following command remotely after ssh than it works fine
su - oracle -c "/oracle/product/102/db/bin/dbshut"

But If I run the following command it doesn't work
su - oracle -c...
1,779
Posted By madhusmita
how to pass argument remotely
If I run the following command remotely after ssh than it works fine
su - oracle -c "/oracle/product/102/db/bin/dbshut"

But If I run the following command it doesn't work
su - oracle -c...
58,413
Posted By madhusmita
if you would like to ssh from 1st server to 2nd...
if you would like to ssh from 1st server to 2nd server
1.Login into 2nd server using the 2ndserveruser and create a directory named .ssh (note . before ssh) under the home directory .
2. Login ...
8,671
Posted By madhusmita
SNMP Timeout: No Response from server
When I tried to connect snmp from one server to another server
Timeout: No Response from server is comming Pls suggest
27,934
Posted By madhusmita
Thanks Yogesh Sawant Best use is pgrep ie ps...
Thanks Yogesh Sawant

Best use is pgrep ie ps -aef | grep aaa.exe
27,934
Posted By madhusmita
it displays PID value with PID of grep aaa.exe...
it displays PID value with PID of grep aaa.exe but I dont need PID value of grep aaa.exe and again When I stored it to a variable it stores all values ie PID,tty etc but I need only value to store in...
27,934
Posted By madhusmita
how to find only PID value
When I run ps -aef | grep aaa.exe it gives out put

user 5091 5518 0 10:13:25 pts/1 0:00 grep aaa.exe
user 4647 2479 0 09:26:31 ? 0:25 /kk/zzz/user/xxx/bin/aaa.exe
user1 ...
2,222
Posted By madhusmita
How to put a comment at the begining of the sentence
I have a file shows as below. I would like to put # before CCCC. so how to do in Solaris. Here sed doesnot support -i

[StartUpTasks]


[RunTimeTasks]
AAAA
BBBB
CCCCC

DDDDD

EEEEE
FFFFFF
17,170
Posted By madhusmita
is there possible by perl script ?? Pls...
is there possible by perl script ??

Pls provide it
17,170
Posted By madhusmita
When I run this command from other server through...
When I run this command from other server through ssh ...ssh is workinf fine..here X,Y,Z is used for ssh

${X} -l ${Y} ${Z} "trap '' INT;. ~/.profile >/dev/null 2>/dev/null; awk '/TASK...
17,170
Posted By madhusmita
or Please suggest if the file contains a line...
or Please suggest if the file contains a line snmpd so how to comment and uncomment the snmpd in the file by running the in the command prompt in shell.
17,170
Posted By madhusmita
My intention is that what is the command if I run...
My intention is that what is the command if I run it will comment and uncomment the line
17,170
Posted By madhusmita
comment and Uncomment single task out of multiple task
I have a file contains

TASK gsnmpproxy {
CommandLine = $SMCHOME/bin/gsnmpProxy.exe
}

TASK gsnmpdbgui {
CommandLine = $SMCHOME/bin/gsnmpdbgui.exe


I would like to comment...
11,517
Posted By madhusmita
tHANKS
tHANKS
11,517
Posted By madhusmita
it is same as my old script but problem is that...
it is same as my old script but problem is that when after grep 5060 *.* is coming with grep value for that all things wgich are present in that script directory are greped in to that variable ..So...
Showing results 1 to 25 of 29

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