Search Results

Search: Posts Made By: vivsiv
2,382
Posted By vivsiv
Performance problem with my script ...suggestions pls
Hi ,
I have included my script below, pls read thro this req. I want my script to run for every hour , the problem is I CANNOT USE CRONTAB which is prohibited inside the company. My script does...
7,579
Posted By vivsiv
Thanks Guys
Thanks guys ..all the solutions were helpful and I was able to use the stmt from Kevin into my program.
7,579
Posted By vivsiv
i got it
prstat -t -u oadmin doesnot give the output , imean the script never returns.essentially i just want to get the memory variable for user oadmin which is 22 , any ideas how to get this.
7,579
Posted By vivsiv
prstat problem
This will be a smaple output for my prstat -t
NPROC USERNAME SIZE RSS MEMORY TIME CPU
43 root 249M 62M 1.5% 33:50:01 0.1%
12 oadmin 1396M 862M 22% 0:06:49 0.1%...
12,738
Posted By vivsiv
here's a script
#!/bin/ksh
TEMPDIR=$HOME
FILE=mail.log
sendemail=-1
HOSTNAME="vivek" ###ur unix server name
space=`df -bhk /users/directory |awk '{print$5}'` ## dir were u want to monitor
echo "$space is the...
3,116
Posted By vivsiv
Any idea why my script doesnt work ?
#!/bin/ksh
set -A proc $x
x=top| grep siebmtshmw |awk '{print $6}'|sed 's/\%//'
print $x
set -A proc $x
print ${proc[0]}
print ${proc[1]}
print ${proc[2]}
___
In nut shell Im trying to use...
5,620
Posted By vivsiv
Bash support
Hi
Does all versions of bash support array? also in my case
proc[]=top| grep siebmtshmw |awk '{print $6}'|sed 's/\%//'
echo ${proc[@]} -- > print the list of files in directory but not the 2...
5,620
Posted By vivsiv
Getting variables into a array.
Hi ,
Im trying to monitor 2 instancesof a process on our solaris server and trying to do a notification if the returned process size is greater than 500M.
Since there are two variables returned I...
Forum: IP Networking 10-30-2006
115,786
Posted By vivsiv
what about security
Perderabo Thanksa lot for the script example , in the script
HOST=damien1
USER=con
PASSWD=
is there a way to mask this password . The reason being that i do the transfer as myself which in...
2,193
Posted By vivsiv
rsh or remsh set up
Tell me if i am correct !!
Two servers
server 1
Server2
Im setting up remsh to execute a command on server2 from server1, then is it enough if i add the server2 entry in my .rhosts files of...
4,926
Posted By vivsiv
script hanging - remsh
Greetings to everyone,
My Problem:
I have a script which inturn calls couple of other scripts in different servers (solaris) to do a server startups on the respecitve boxes.
My script ......
6,568
Posted By vivsiv
thanks a lot gerrad ..idea is cool let me try it...
thanks a lot gerrad ..idea is cool let me try it out.
6,568
Posted By vivsiv
is this wierd scenario
Hi guys,
Is the scenario what im facing is too wierd ? is it do able ??pls advice.

Scenario is :
We have a siebel envrionment where we have got two siebel application servers , one server...
6,568
Posted By vivsiv
Trying to shut down and start a Windows process
Hi ,
Good day people. I want to know if i can shut down a particular service that runs in windows from solaris through a script .

Scenario : we have a distributed environment where we want to...
14,654
Posted By vivsiv
The code That works for me
As said here is the working code ..

#!/bin/ksh
TEMPDIR=$HOME
FILE=mail.log
sendemail=-1
HOSTNAME=mc2
space=`df -bhk /us/sie |awk '{print$5}'`
echo "$space is the file size percent"...
14,654
Posted By vivsiv
i got it to work
Thanks for ur response , i got it to work , ..i will post the entire code tomorrow. this site rocks..
14,654
Posted By vivsiv
Frustrating Disk space script
This my frustrating disk space script that is supposed to send me a email whenever the disk space reaches 90% but this has some problem that just would not work ..can anyone please tell me when im...
Showing results 1 to 17 of 17

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