Search Results

Search: Posts Made By: ssk
4,912
Posted By ssk
try this
Not sure but try following :

if [ "$MEMSTAT" -gt "200" ]; then
mail $MAILADD <<EOF
echo "
From:$SRVNM
To: $MAILADD
Subject: Memory Performance on $SRVNM
According to vmstat, the scanrate...
4,432
Posted By ssk
Problem in copying files!!
I have requirement of one directory in /tmp area on Sun server. The area contains following files :
brdcems# /tmp/.tivoli >>ls -lt
total 0
srwxrwxrwx 1 root other 0 Nov 16 13:41...
15,381
Posted By ssk
update ??
You want to update a file means what you exactly want.

Do you want to change the timestamp of the file or contents from the file ?
if contents then obviously us vi editor and make changes.
if...
16,366
Posted By ssk
Can you run the script using set -x and give us...
Can you run the script using set -x and give us the output ?

Lets see where exactly it is failing.
2,559
Posted By ssk
which Os you are having ? Anyway you can check...
which Os you are having ?
Anyway you can check it with command
#type rsh
or
#which rsh
it should be in /usr/bin dir.
3
2,094
Posted By ssk
Will not recommend to add the path in $PATH. ...
Will not recommend to add the path in $PATH.
But Yeah if you scripts are lying in this area then whenever you login you can set your path variable by adding this path in $PATH.
Once the path...
2,130,280
Posted By ssk
sort -u filename > filename.new
sort -u filename > filename.new
3,011
Posted By ssk
post your script code. it will help to check if...
post your script code. it will help to check if anything is wrong.
21,104
Posted By ssk
You can use XPG4 compliant version of grep : ...
You can use XPG4 compliant version of grep :
/usr/xpg4/bin/grep -E 'black|white' color.txt
3,100
Posted By ssk
Can you paste the script part where in you are...
Can you paste the script part where in you are using test.
1,917
Posted By ssk
Which terminal you are using ? Can you check the...
Which terminal you are using ? Can you check the TERM variable set for your session ? Check on both the cases and post the same.
Forum: HP-UX 07-14-2005
5,581
Posted By ssk
I do agree with ZB. try to find duplicate entries...
I do agree with ZB. try to find duplicate entries in cron and remove the same.
You can do it manually if crontab files for users are not big or else simply by using sort -u option.
15,726
Posted By ssk
/var/adm/wtmpx contains the history of user...
/var/adm/wtmpx contains the history of user access and adminstrative/accounting information for the utmpx database.
Yoiu can use 'last' command looks in the /var/adm/wtmpx file, which
records...
62,926
Posted By ssk
ls -1t
try this

ls -1t|head -n 1

this should give you the output u want. :)
6,313
Posted By ssk
correction
In your script you have defined pscnt and while using ur using it a word which is a variable. Hence suggestion is : use,
if ( $pscnt -lt $MAXCNT )
instead of if ( pscnt < MAXCNT )


-
ssk :)
Forum: Solaris 06-25-2005
9,633
Posted By ssk
password set to null
Resolved the same by setting the following parameter to NO
PASSREQ=NO
in /etc/default/login file.

Thanks
Shrini :)
Forum: Solaris 06-25-2005
9,633
Posted By ssk
Password set to null
Hi,

We would like to set a password to null for a particular user id.
But it should not prompt for a Password after login prompt.
We tried editing the shadow file by using passwd -d but it...
69,370
Posted By ssk
why not cron
You can run the script in cron also to check for the file and process the same if it exists. Just a suggestion. :)
17,169
Posted By ssk
Kris, Can you post the command file and also...
Kris,
Can you post the command file and also the exact syntax u r using on command line ?
Let me know what is logged at present or nothing is logged. As I checked this command on Sun & HP on both...
17,169
Posted By ssk
try this
ftp -n -i -v < $com | /bin/tee -a $LOGFILE
15,726
Posted By ssk
try this
awk '{if ( $0 ~ /&$/ ) { printf "%s ",$0 } else { print $0 }'} filename|sed "s/&//"
13,660
Posted By ssk
try following
Instead of
V1=`sed -n \'$st\;$ed\' \< $F1`

Use following syntax :
V1=`sed -n "$st;$ed" $F1`

It should work.
2,212
Posted By ssk
just one Q
Are you sure some files are getting transferred and only one perticular file is not ?
Can you check the size of the file not getting transferred ?
Check transferring this file using ftp on command...
1,875
Posted By ssk
use cut
:)
echo ABC_totoalerte.txt | cut -d"_" -f2

should work.
5,647
Posted By ssk
check logs and output
Hi,

Can you please check the cron log file and what is the exit status given for the mentioned jobs ?
check if this job is eecuted in cron and get the exit status.
also try running the script...
Showing results 1 to 25 of 25

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